firefly-linux-kernel-4.4.55.git
10 years agoARM: imx6q: remove board specific CLKO setup
Shawn Guo [Thu, 18 Jul 2013 06:42:28 +0000 (14:42 +0800)]
ARM: imx6q: remove board specific CLKO setup

The CLKO is widely used by imx6q board designs to clock audio codec.
Since most codecs accept 24 MHz frequency, let's initially set up CLKO
with OSC24M (cko <-- cko2 <-- osc).  Then those board specific CLKO
setup for audio codec can be removed.

The board dts files also need an update on cko reference in codec node.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx: use generic DMA bindings for SSI nodes
Shawn Guo [Wed, 17 Jul 2013 05:50:54 +0000 (13:50 +0800)]
ARM: dts: imx: use generic DMA bindings for SSI nodes

Updates SSI nodes to adopt generic DMA bindings.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx: add LVDS panel for imx6qdl-sabresd
Shawn Guo [Tue, 16 Jul 2013 14:15:18 +0000 (22:15 +0800)]
ARM: dts: imx: add LVDS panel for imx6qdl-sabresd

Add HannStar HSD100PXN1 XGA panel support on LVDS1 port of
imx6qdl-sabresd board.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx6q-wandboard: Add sata support
Fabio Estevam [Tue, 16 Jul 2013 17:40:30 +0000 (14:40 -0300)]
ARM: dts: imx6q-wandboard: Add sata support

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx6: Add support for imx6q wandboard
Fabio Estevam [Tue, 16 Jul 2013 17:40:29 +0000 (14:40 -0300)]
ARM: dts: imx6: Add support for imx6q wandboard

Add support for the imx6q wanboard variant.

Since imx6q/dl are pin to pin compatible, introduce the imx6qdl-wandboard.dtsi
file that contains the common peripheral nodes.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx: add tempmon node for imx6q thermal support
Shawn Guo [Tue, 16 Jul 2013 13:16:36 +0000 (21:16 +0800)]
ARM: dts: imx: add tempmon node for imx6q thermal support

Mark ocotp as a syscon node and add tempmon for imx6q thermal support.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx: remove old DMA binding data from gpmi node
Shawn Guo [Tue, 16 Jul 2013 09:13:00 +0000 (17:13 +0800)]
ARM: dts: imx: remove old DMA binding data from gpmi node

After mxs-dma driver adopts generic DMA device tree binding, gpmi
channel interrupt number is defined in DMA controller node, and
channel ID is listed in "dmas" property.  So the DMA channel interrupt
number in gpmi node "interrupts" property and fsl,gpmi-dma-channel which
are used by old customized DMA binding can be removed now.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
10 years agoARM: dtsi: enable ahci sata on imx6q platforms
Richard Zhu [Tue, 16 Jul 2013 03:28:46 +0000 (11:28 +0800)]
ARM: dtsi: enable ahci sata on imx6q platforms

Only imx6q has the ahci sata controller, enable
it on imx6q platforms.

Signed-off-by: Richard Zhu <r65037@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx27: Add core voltages
Alexander Shiyan [Sat, 13 Jul 2013 04:34:44 +0000 (08:34 +0400)]
ARM: dts: imx27: Add core voltages

This patch adds core voltages for i.MX27 CPUs. Only 266 and 400 MHz modes
is documented in the datasheet, so we add a 266 MHz frequency for conform this.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: i.MX51: Add WEIM node
Alexander Shiyan [Sat, 13 Jul 2013 04:30:57 +0000 (08:30 +0400)]
ARM: dts: i.MX51: Add WEIM node

This patch adds the missing (Wireless External Interface Module) WEIM
devicetree node for i.MX51 CPUs.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx6dl-wandboard: Add support for UART3
Fabio Estevam [Fri, 12 Jul 2013 12:49:33 +0000 (09:49 -0300)]
ARM: dts: imx6dl-wandboard: Add support for UART3

Wandboard has a bluetooth device connected to UART3, so add support for it.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx6dl-wandboard: Add SDHC1 and SDHC2 ports
Fabio Estevam [Fri, 12 Jul 2013 12:49:32 +0000 (09:49 -0300)]
ARM: dts: imx6dl-wandboard: Add SDHC1 and SDHC2 ports

Wandboard has a SD card slot on the baseboard connected to SDHC1 and a
BCM4329 (Wifi + Bluetooth chip) connected to SDHC2.

Add support for these ports.

While at it, provide the card detect gpio on SDHC3 and also fix indentation on
MX6QDL_PAD_GPIO_0__CCM_CLKO1 hog pin.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx6qdl.dtsi: Add another uart3 pin group
Fabio Estevam [Fri, 12 Jul 2013 12:49:31 +0000 (09:49 -0300)]
ARM: dts: imx6qdl.dtsi: Add another uart3 pin group

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx6qdl.dtsi: Add usdhc1 pin groups
Fabio Estevam [Fri, 12 Jul 2013 12:49:30 +0000 (09:49 -0300)]
ARM: dts: imx6qdl.dtsi: Add usdhc1 pin groups

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx6qdl/imx6sl: add the dma property for uart
Huang Shijie [Fri, 12 Jul 2013 10:02:09 +0000 (18:02 +0800)]
ARM: dts: imx6qdl/imx6sl: add the dma property for uart

Add the dma property for all the uart.

Note: Add the dma property does not mean we enable the dma for this
uart.

Signed-off-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx25: Make lcdc compatible to imx21 fb
Matthias Weisser [Fri, 12 Jul 2013 07:34:54 +0000 (09:34 +0200)]
ARM: dts: imx25: Make lcdc compatible to imx21 fb

Make lcdc compatible to imx21 fb.

Signed-off-by: Matthias Weisser <weisserm@arcor.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx6qdl: add a new pinctrl for uart3
Huang Shijie [Fri, 12 Jul 2013 07:56:11 +0000 (15:56 +0800)]
ARM: dts: imx6qdl: add a new pinctrl for uart3

Add the a new pinctrl for uart3. In the imx6q{dl}-sabreauto boards,
the uart3 is used for Bluetooth.

Signed-off-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: add more imx6q/dl pin groups
Shawn Guo [Fri, 12 Jul 2013 03:38:50 +0000 (11:38 +0800)]
ARM: dts: add more imx6q/dl pin groups

Add more imx6q/dl pin groups for those supported boards, e.g. sabresd,
sabreauto, arm2.

IPU2 pin groups are added into imx6q.dtsi, since the block is only
available on imx6q.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx: share pad macro names between imx6q and imx6dl
Shawn Guo [Thu, 11 Jul 2013 05:58:36 +0000 (13:58 +0800)]
ARM: dts: imx: share pad macro names between imx6q and imx6dl

The imx6q and imx6dl are two pin-to-pin compatible SoCs.  The same board
design can work with either chip plugged into the socket, e.g. sabresd
and sabreauto boards.

We currently define pin groups in imx6q.dtsi and imx6dl.dtsi
respectively because the pad macro names are different between two
chips.  This brings a maintenance burden on having the same label point
to the same pin group defined in two places.

The patch replaces prefix MX6Q_ and MX6DL_ with MX6QDL_ for both SoCs
pad macro names.  Then the pin groups becomes completely common between
imx6q and imx6dl and can just be moved into imx6qdl.dtsi, so that the
long term maintenance of imx6q/dt pin settings becomes easier.

Unfortunately, the change brings some dramatic diff stat, but it's all
about DTS file, and the ultimate net diff stat is good.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: enable the uart2 for imx6q-arm2
Huang Shijie [Mon, 8 Jul 2013 09:14:22 +0000 (17:14 +0800)]
ARM: dts: enable the uart2 for imx6q-arm2

enable the uart2 for imx6q-arm2 board.
The uart2 works in the DTE mode, with the RTS/CTS and DMA enabled.

Signed-off-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx6q{dl}: add a DTE uart pinctrl for uart2
Huang Shijie [Mon, 8 Jul 2013 09:14:21 +0000 (17:14 +0800)]
ARM: dts: imx6q{dl}: add a DTE uart pinctrl for uart2

In the arm2 board, the UART2 works in the dte mode.
So add a pinctrl for both the imx6q{dl} boards.

Signed-off-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx6q{dl}: add DTE pads for uart
Huang Shijie [Mon, 8 Jul 2013 09:14:20 +0000 (17:14 +0800)]
ARM: dts: imx6q{dl}: add DTE pads for uart

The uart2 in the imx6q-arm2 board is used as a DTE uart,
this patch adds the necessary DTE pads for uart2.

Signed-off-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx6sl: add "fsl,imx6q-uart" for uart compatible
Huang Shijie [Mon, 8 Jul 2013 09:14:19 +0000 (17:14 +0800)]
ARM: dts: imx6sl: add "fsl,imx6q-uart" for uart compatible

In order to enable the DMA for some uart port in imx6sl, we add the
"fsl,imx6q-uart" to the uart's compatible property.

Signed-off-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx27 phyCARD-S, i2c ADC device node
Markus Pargmann [Sun, 7 Jul 2013 13:13:31 +0000 (15:13 +0200)]
ARM: dts: imx27 phyCARD-S, i2c ADC device node

Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx27 phyCARD-S, move i2c1 and owire to rdk
Markus Pargmann [Sun, 7 Jul 2013 13:13:30 +0000 (15:13 +0200)]
ARM: dts: imx27 phyCARD-S, move i2c1 and owire to rdk

Both buses are not used on the phyCARD-S module. This patch moves them
to the rdk file. Remove ioexpander.

Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx27 phyCARD-S SOM remove wrong i2c sensor
Markus Pargmann [Sun, 7 Jul 2013 13:13:29 +0000 (15:13 +0200)]
ARM: dts: imx27 phyCARD-S SOM remove wrong i2c sensor

This sensor was introduced in the original pca100 board file, but
phyCARD-S SOM and RDK do not have a temperature sensor.

Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx: Add the missing cpus node
Fabio Estevam [Sun, 7 Jul 2013 13:12:30 +0000 (10:12 -0300)]
ARM: dts: imx: Add the missing cpus node

To make it consistent with the other i.mx SoCs, let's add the cpus nodes.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx6dl-wandboard: Add audio support
Fabio Estevam [Thu, 4 Jul 2013 18:55:06 +0000 (15:55 -0300)]
ARM: dts: imx6dl-wandboard: Add audio support

Wandboard has a sgtl5000 codec.

Add audio support.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx27 phyCARD-S remove wrong I2C RTC
Markus Pargmann [Fri, 5 Jul 2013 13:45:09 +0000 (15:45 +0200)]
ARM: dts: imx27 phyCARD-S remove wrong I2C RTC

Fixup of commit "ARM: dts: Add device tree support for phycard pca100".

Remove wrong I2C RTC node.

Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx27-phytec-phycore-som: Using labels for reusing UART, I2C and FEC
Alexander Shiyan [Tue, 2 Jul 2013 16:02:29 +0000 (20:02 +0400)]
ARM: dts: imx27-phytec-phycore-som: Using labels for reusing UART, I2C and FEC

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx27-phytec-phycore-rdk: Add CAN node
Alexander Shiyan [Tue, 2 Jul 2013 16:02:28 +0000 (20:02 +0400)]
ARM: dts: imx27-phytec-phycore-rdk: Add CAN node

This patch adds CAN (NXP SJA1000) node for Phytec PCM-970 RDK.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx27-phytec-phycore-som: Add SRAM node
Alexander Shiyan [Tue, 2 Jul 2013 16:02:27 +0000 (20:02 +0400)]
ARM: dts: imx27-phytec-phycore-som: Add SRAM node

This patch adds SRAM node for Phytec PCM-038 module.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx27-phytec-phycore-som: Add WEIM node
Alexander Shiyan [Tue, 2 Jul 2013 16:02:26 +0000 (20:02 +0400)]
ARM: dts: imx27-phytec-phycore-som: Add WEIM node

This patch adds WEIM node for Phytec PCM-038 module.
Migrate existing on-module NOR-flash as children of WEIM CS0.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: i.MX27: Add WEIM node
Alexander Shiyan [Tue, 2 Jul 2013 16:02:25 +0000 (20:02 +0400)]
ARM: dts: i.MX27: Add WEIM node

This patch adds the missing (Wireless External Interface Module) WEIM
devicetree node for i.MX27 CPUs.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: i.MX27: Move IIM node under AIPI2 bus
Alexander Shiyan [Tue, 2 Jul 2013 16:02:24 +0000 (20:02 +0400)]
ARM: dts: i.MX27: Move IIM node under AIPI2 bus

This patch moves IIM node under AIPI2 bus, since this is proper
location for this module.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx: add #dma-cells property for sdma
Huang Shijie [Tue, 2 Jul 2013 02:15:29 +0000 (10:15 +0800)]
ARM: dts: imx: add #dma-cells property for sdma

Add the #dma-cells property for all the sdma in all the imx platforms.

Signed-off-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM i.MX6DL: dts: add clock and mux configuration for LDB
Philipp Zabel [Fri, 28 Jun 2013 12:24:16 +0000 (14:24 +0200)]
ARM i.MX6DL: dts: add clock and mux configuration for LDB

i.MX6DL does not have the second IPU, but the LVDS multiplexers can connect
either LVDS channel of the LDB to IPU1 DI0 or IPU1 DI1.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
[shawn.guo: remove "crtcs" property from imx6qdl.dtsi]
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: mx53qsb: Enable VPU support
Fabio Estevam [Fri, 28 Jun 2013 22:49:18 +0000 (19:49 -0300)]
ARM: dts: mx53qsb: Enable VPU support

Enable Video Processing Unit (VPU) support.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: add sram for imx53 and imx6q
Philipp Zabel [Mon, 1 Jul 2013 09:06:09 +0000 (11:06 +0200)]
ARM: dts: add sram for imx53 and imx6q

This patch enables the On-Chip SRAM (OCRAM) on i.MX53 and i.MX6 SoCs.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: Add device tree support for phycard pca100
Markus Pargmann [Fri, 28 Jun 2013 14:50:37 +0000 (16:50 +0200)]
ARM: dts: Add device tree support for phycard pca100

Board files for Phytec phyCARD-S "System on Module" and "Rapid
Development Kit".

Based on patches from:

Steffen Trumtrar <s.trumtrar@pengutronix.de>:
 - Original patch
 - ARM: dts: Set partition offsets for phycard
 - ARM: dts: Use CSPI1 instead of CSPI2 on phycard pca100
 - ARM: imx27-phytec-phycard-S.dts: resize nand partitions

Jan Luebbe <jlu@pengutronix.de>:
 - ARM: dts: Enable bad block table in NAND

Cc: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Cc: Jan Luebbe <jlu@pengutronix.de>
Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx27 cpufreq-cpu0 frequencies
Markus Pargmann [Fri, 28 Jun 2013 14:50:36 +0000 (16:50 +0200)]
ARM: dts: imx27 cpufreq-cpu0 frequencies

Set operating-points for imx27. There is no regulator support, so the
voltages are 0. The frequencies should be the same for all imx27 boards,
so it is defined here and can be overwritten if necessary.

Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx27: Add 1-wire
Markus Pargmann [Mon, 1 Jul 2013 09:21:22 +0000 (17:21 +0800)]
ARM: dts: imx27: Add 1-wire

Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx27: Add imx framebuffer device
Markus Pargmann [Fri, 28 Jun 2013 14:50:34 +0000 (16:50 +0200)]
ARM: dts: imx27: Add imx framebuffer device

Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: imx27: Use 'AITC' for the interrupt controller name
Fabio Estevam [Fri, 28 Jun 2013 14:50:33 +0000 (16:50 +0200)]
ARM: imx27: Use 'AITC' for the interrupt controller name

On the MX27 Reference Manual the interrupt controller is named AITC:
ARM926EJ-S Interrupt Controller

So use the AITC term instead of AVIC.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Origin: id:1334193132-18944-2-git-send-email-festevam@gmail.com
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: i.MX51: Add USB host1/2 pinmux entries
Sascha Hauer [Tue, 25 Jun 2013 13:52:00 +0000 (15:52 +0200)]
ARM: dts: i.MX51: Add USB host1/2 pinmux entries

This adds pinmux entries for USBH1/2 in ULPI mode.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: i.MX51 babbage: Add spi-cs-high property to pmic
Sascha Hauer [Tue, 25 Jun 2013 13:51:59 +0000 (15:51 +0200)]
ARM: dts: i.MX51 babbage: Add spi-cs-high property to pmic

The mc13892 driver knows that it needs spi-cs-high, so the mc13892
will work. The dataflash also connected to this bus though can only
be probed when the mc13892 is inactive. Due to driver potential
differences in the probe order we can only make sure the mc13892
is inactive when we put the information into the devicetree.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: i.MX51: move kpp pinmux entry
Sascha Hauer [Tue, 25 Jun 2013 13:51:58 +0000 (15:51 +0200)]
ARM: dts: i.MX51: move kpp pinmux entry

For keeping the alphabetical order in the pinmux nodes.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: i.MX6: Add i2c and spi aliases
Sascha Hauer [Tue, 25 Jun 2013 13:51:57 +0000 (15:51 +0200)]
ARM: dts: i.MX6: Add i2c and spi aliases

This allows to order the i2c and spi devices correctly.
While at it reorder the aliases entries alphabetically.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: i.MX53: Add i2c and spi aliases
Sascha Hauer [Tue, 25 Jun 2013 13:51:56 +0000 (15:51 +0200)]
ARM: dts: i.MX53: Add i2c and spi aliases

This allows to order the i2c and spi devices correctly.
While at it reorder the aliases entries alphabetically.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: i.MX51: Add i2c and spi aliases
Sascha Hauer [Tue, 25 Jun 2013 13:51:55 +0000 (15:51 +0200)]
ARM: dts: i.MX51: Add i2c and spi aliases

This allows to order the i2c and spi devices correctly.
While at it reorder the aliases entries alphabetically.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: i.MX27: Add i2c aliases
Sascha Hauer [Tue, 25 Jun 2013 13:51:54 +0000 (15:51 +0200)]
ARM: dts: i.MX27: Add i2c aliases

This allows to order the i2c devices correctly.
While at it reorder the aliases entries alphabetically.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: i.MX25: Add i2c and spi aliases
Sascha Hauer [Tue, 25 Jun 2013 13:51:53 +0000 (15:51 +0200)]
ARM: dts: i.MX25: Add i2c and spi aliases

This allows to order the i2c and spi devices correctly.
While at it reorder the aliases entries alphabetically.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: i.MX53: Add iim node
Sascha Hauer [Tue, 25 Jun 2013 13:51:52 +0000 (15:51 +0200)]
ARM: dts: i.MX53: Add iim node

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: i.MX51: Add iim node
Sascha Hauer [Tue, 25 Jun 2013 13:51:51 +0000 (15:51 +0200)]
ARM: dts: i.MX51: Add iim node

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: i.MX25: Add iim node
Sascha Hauer [Tue, 25 Jun 2013 13:51:50 +0000 (15:51 +0200)]
ARM: dts: i.MX25: Add iim node

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: i.MX31: Add iim node
Sascha Hauer [Tue, 25 Jun 2013 13:51:49 +0000 (15:51 +0200)]
ARM: dts: i.MX31: Add iim node

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: i.MX27: Add iim node
Sascha Hauer [Tue, 25 Jun 2013 13:51:48 +0000 (15:51 +0200)]
ARM: dts: i.MX27: Add iim node

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: i.MX6qdl: Add i.MX31 compatible to gpt node
Sascha Hauer [Tue, 25 Jun 2013 13:51:47 +0000 (15:51 +0200)]
ARM: dts: i.MX6qdl: Add i.MX31 compatible to gpt node

The i.MX6 gpt is handled by the i.MX31 gpt driver in the kernel,
so add a corresponding compatible entry.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: i.MX6qdl: Add compatible and clock to flexcan nodes
Sascha Hauer [Tue, 25 Jun 2013 13:51:46 +0000 (15:51 +0200)]
ARM: dts: i.MX6qdl: Add compatible and clock to flexcan nodes

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: i.MX6: sync imx6q and imx6dl pinmux entries
Sascha Hauer [Tue, 25 Jun 2013 13:51:45 +0000 (15:51 +0200)]
ARM: dts: i.MX6: sync imx6q and imx6dl pinmux entries

The i.MX6Q and i.MX6DL are pin compatible, so the pinmux entries
should be in sync. This patch systematically adds the pinmux entries
missing from the imx6q to the imx6dl file.
Some name inconsistencies and whitespace damage is fixed along the
way.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx27: Add kpp devicetree node
Alexander Shiyan [Sun, 23 Jun 2013 06:54:50 +0000 (10:54 +0400)]
ARM: dts: imx27: Add kpp devicetree node

This patch adds the missing (Keypad Port) KPP devicetree node
for i.MX27 CPUs.

Signed-off-by: Alexander Shiyan <eagle.alexander923@gmail.com>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx27-phytec-phycore-som: Define minimal memory layout
Alexander Shiyan [Sun, 23 Jun 2013 06:54:49 +0000 (10:54 +0400)]
ARM: dts: imx27-phytec-phycore-som: Define minimal memory layout

Define minimal memory layout for i.MX27 PCM-038 module.
This will help to use appended DTB with non-DT capable bootloaders.

Signed-off-by: Alexander Shiyan <eagle.alexander923@gmail.com>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx27: Sort entries by address
Alexander Shiyan [Sun, 23 Jun 2013 06:54:48 +0000 (10:54 +0400)]
ARM: dts: imx27: Sort entries by address

Signed-off-by: Alexander Shiyan <eagle.alexander923@gmail.com>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx27: Rename PWM devicetree node
Alexander Shiyan [Sun, 23 Jun 2013 06:54:47 +0000 (10:54 +0400)]
ARM: dts: imx27: Rename PWM devicetree node

i.MX27 have only one PWM, so index from PWM devicetree node removed.

Signed-off-by: Alexander Shiyan <eagle.alexander923@gmail.com>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx27: Add AUDMUX devicetree node
Alexander Shiyan [Sun, 23 Jun 2013 06:54:46 +0000 (10:54 +0400)]
ARM: dts: imx27: Add AUDMUX devicetree node

This patch adds the missing (Digital Audio MUX) AUDMUX devicetree
node for i.MX27 CPUs.

Signed-off-by: Alexander Shiyan <eagle.alexander923@gmail.com>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx27: Add SAHARA2 devicetree node
Alexander Shiyan [Sun, 23 Jun 2013 06:54:45 +0000 (10:54 +0400)]
ARM: dts: imx27: Add SAHARA2 devicetree node

This patch adds the missing (Symmetric/Asymmetric Hashing and Random
Accelerator) SAHARA2 devicetree node for i.MX27 CPUs.

Signed-off-by: Alexander Shiyan <eagle.alexander923@gmail.com>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: apf27dev: add rtc ds1374 to the device tree
Philippe Reynes [Fri, 21 Jun 2013 16:24:13 +0000 (18:24 +0200)]
ARM: apf27dev: add rtc ds1374 to the device tree

Signed-off-by: Philippe Reynes <tremyfr@yahoo.fr>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx6qdl-sabresd: enable the SPI NOR
Huang Shijie [Fri, 21 Jun 2013 02:19:11 +0000 (10:19 +0800)]
ARM: dts: imx6qdl-sabresd: enable the SPI NOR

enable the spi nor for imx6q{dl}-sabresd boards.

Signed-off-by: Huang Shijie <b32955@freescale.com>
10 years agoARM: dts: imx6q: add a new pinctrl for ecspi1
Huang Shijie [Fri, 21 Jun 2013 02:19:10 +0000 (10:19 +0800)]
ARM: dts: imx6q: add a new pinctrl for ecspi1

This new pinctrl is used by the imx6q-sabresd board.

Signed-off-by: Huang Shijie <b32955@freescale.com>
10 years agoARM: dts: imx6dl: add a new pinctrl for ecspi1
Huang Shijie [Fri, 21 Jun 2013 02:19:09 +0000 (10:19 +0800)]
ARM: dts: imx6dl: add a new pinctrl for ecspi1

This new pinctrl is used in the imx6dl-sabresd board.

Signed-off-by: Huang Shijie <b32955@freescale.com>
10 years agoMerge tag 'imx-soc-3.12' into imx/dt
Shawn Guo [Thu, 22 Aug 2013 15:26:50 +0000 (23:26 +0800)]
Merge tag 'imx-soc-3.12' into imx/dt

It contains a bunch of imx soc updates for 3.12.

- Add more ethernet phy fixups for imx6 boards
- Add some missing imx6q clocks into clock driver
- Add new clock types fixup mux and div to work around some ugly
  hardware defect
- Consolidate L2 cache initialization function, so that it can be used
  on more i.MX SoCs
- Replace magic numbers in mach-imx6q.c with well defined macros
- Small fixes for imx6q and pllv3 clock drivers
- Some random updates on imx defconfig files

10 years agophy: micrel: Add definitions for common Micrel PHY registers
Dinh Nguyen [Tue, 13 Aug 2013 14:59:00 +0000 (09:59 -0500)]
phy: micrel: Add definitions for common Micrel PHY registers

Add defines for common Micrel PHY setups so that other platforms
can use them. Update imx61 and sama5 hardware to use the micrel_phy.h
PHY defines.

Also add support for the KSZ9021RLRN PHY.

Signed-off-by: Dinh Nguyen <dinguyen@altera.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: David S. Miller <davem@davemloft.net>
CC: Andrew Victor <linux@maxim.org.za>
CC: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
Cc: netdev@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: imx: Re-select CONFIG_SND_SOC_IMX_MC13783 option
Fabio Estevam [Mon, 12 Aug 2013 11:55:53 +0000 (08:55 -0300)]
ARM: imx: Re-select CONFIG_SND_SOC_IMX_MC13783 option

Commit 02502da45 (ASoC: imx-mc13783: Depend on ARCH_ARM) caused the selection of
CONFIG_SND_SOC_IMX_MC13783 to be impossible due to a wrong dependency, which
caused CONFIG_SND_SOC_IMX_MC13783 to be removed after the defconfigs cleanups.

The original selection problem has been fixed by 9f19de649f (ASoC: imx-mc13783:
Make SND_SOC_IMX_MC13783 visible again), so it is possible to select
CONFIG_SND_SOC_IMX_MC13783 again as originally done.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: imx: Move anatop related from board file to anatop driver
Peter Chen [Wed, 14 Aug 2013 03:40:56 +0000 (11:40 +0800)]
ARM: imx: Move anatop related from board file to anatop driver

Move anatop related (For USB) from board file to anatop driver

Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: imx_v6_v7_defconfig: Enable wireless support
Fabio Estevam [Wed, 31 Jul 2013 16:15:04 +0000 (13:15 -0300)]
ARM: imx_v6_v7_defconfig: Enable wireless support

Wandboard has a Broadcom 4329 chipset connected to SDHC, so turn on the wireless
related options.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Tested-by: Tony Prisk <linux@prisktech.co.nz>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: imx_v4_v5_defconfig: Cleanup imx_v4_v5_defconfig
Fabio Estevam [Tue, 30 Jul 2013 12:15:55 +0000 (09:15 -0300)]
ARM: imx_v4_v5_defconfig: Cleanup imx_v4_v5_defconfig

Generate imx_v4_v5_defconfig by doing:

make imx_v4_v5_defconfig
make savedefconfig
cp defconfig arch/arm/configs/imx_v4_v5_defconfig

No functional change. The goal here is to cleanup imx_v4_v5_defconfig file to
make easier and cleaner the addition of new entries.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: imx_v6_v7_defconfig: Add SATA support
Fabio Estevam [Mon, 29 Jul 2013 03:04:16 +0000 (00:04 -0300)]
ARM: imx_v6_v7_defconfig: Add SATA support

Let SATA support be built by default.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: imx_v6_v7_defconfig: Cleanup imx_v6_v7_defconfig
Fabio Estevam [Mon, 29 Jul 2013 03:04:15 +0000 (00:04 -0300)]
ARM: imx_v6_v7_defconfig: Cleanup imx_v6_v7_defconfig

Generate imx_v6_v7_defconfig by doing:

make savedefconfig

cp defconfig arch/arm/configs/imx_v6_v7_defconfig

No functional change. The goal here is to cleanup imx_v6_v7_defconfig file to
make easier and cleaner the addition of new entries.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: mx53: Allow suspend/resume
Fabio Estevam [Fri, 26 Jul 2013 03:17:36 +0000 (00:17 -0300)]
ARM: mx53: Allow suspend/resume

Current imx53_pm_init() implementation is incomplete as it lacks calling
suspend_set_ops().

Use a single imx5_pm_init() function to handle both mx51 and mx53.

This allows mx53 to enter in low-power mode.

Tested on a mx53qsb:

root@freescale /$ echo mem > /sys/power/state
PM: Syncing filesystems ... done.
mmc0: card e624 removed
Freezing user space processes ... (elapsed 0.001 seconds) done.
Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
Suspending console(s) (use no_console_suspend to debug)

... (Press Power button)

PM: suspend of devices complete after 17.067 msecs
PM: suspend devices took 0.020 seconds
PM: late suspend of devices complete after 0.954 msecs
PM: noirq suspend of devices complete after 1.288 msecs
Disabling non-boot CPUs ...
PM: noirq resume of devices complete after 0.680 msecs
PM: early resume of devices complete after 0.914 msecs
PM: resume of devices complete after 44.955 msecs
PM: resume devices took 0.050 seconds
Restarting tasks ... done.
mmc0: host does not support reading read-only switch. assuming write-enable.
mmc0: new SDHC card at address e624
mmcblk0: mmc0:e624 SU04G 3.69 GiB
 mmcblk0: p1 p2 p3
libphy: 63fec000.etherne:00 - Link is Down
libphy: 63fec000.etherne:00 - Link is Up - 100/Full
root@freescale /$

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: mach-imx: Select ARM_CPU_SUSPEND at ARCH_MXC level
Fabio Estevam [Fri, 26 Jul 2013 03:17:35 +0000 (00:17 -0300)]
ARM: mach-imx: Select ARM_CPU_SUSPEND at ARCH_MXC level

Instead of selecting ARM_CPU_SUSPEND only for mx6, we can select it for
all SoCs from the ARCH_MXC family.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: imx_v6_v7_defconfig: Select CONFIG_TOUCHSCREEN_EGALAX
Fabio Estevam [Wed, 24 Jul 2013 20:20:04 +0000 (17:20 -0300)]
ARM: imx_v6_v7_defconfig: Select CONFIG_TOUCHSCREEN_EGALAX

egalax touchscren controller is present on mx6 sabresd/sabrelite, so let's
enable it by default.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: imx6q: add vdoa gate clock
Shawn Guo [Mon, 22 Jul 2013 04:54:59 +0000 (12:54 +0800)]
ARM: imx6q: add vdoa gate clock

Add the missing vdoa gate clock for imx6q.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: imx6q: add the missing cko output selection
Shawn Guo [Thu, 18 Jul 2013 05:35:40 +0000 (13:35 +0800)]
ARM: imx6q: add the missing cko output selection

The clock output on imx6q CCM_CLKO1 pad is not always cko1 clock, and
there is a multiplexer to select between cko1 and cko2.  Add this
missing selection as the clock cko.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: imx6q: add cko2 clocks
Shawn Guo [Thu, 18 Jul 2013 05:16:40 +0000 (13:16 +0800)]
ARM: imx6q: add cko2 clocks

It adds the missing cko2 clocks, including multiplexer, divider and
gate.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: imx6q: add spdif gate clock
Shawn Guo [Thu, 18 Jul 2013 05:08:20 +0000 (13:08 +0800)]
ARM: imx6q: add spdif gate clock

It adds the missing spdif gate clock into imx6q clock driver.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: imx: clk-pllv3: improve the timeout waiting method
Peter Chen [Tue, 16 Jul 2013 02:23:20 +0000 (10:23 +0800)]
ARM: imx: clk-pllv3: improve the timeout waiting method

There are two improvements for this commit:

- Add comparing pll lock condition after while loop. It can
fix potential fake timeout problem caused by the code is just
scheduled out before compare the timeout, and the time of
scheduling out are more than one jiffies.

- Move timeout assignment more close to compare the timeout.
It can reduce the possibility the code is scheduled out, and
the timeout can be more precise.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: imx6: change some clocks to fixup clocks
Liu Ying [Thu, 4 Jul 2013 09:57:17 +0000 (17:57 +0800)]
ARM: imx6: change some clocks to fixup clocks

All the clocks controlled by the register 'CCM Serial Clock
Multiplexer Register 1' should be fixup clocks. This patch
changes those clocks from basic multiplexer or divider clocks
to fixup clocks.

Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: imx: add common clock support for fixup mux
Liu Ying [Thu, 4 Jul 2013 09:35:46 +0000 (17:35 +0800)]
ARM: imx: add common clock support for fixup mux

One register may have several fields to control some clocks. It
is possible that the read/write values of some fields may map to
different real functional values, so writing to the other fields
in the same register may break a working clock tree. A real case
is the aclk_podf field in the register 'CCM Serial Clock Multiplexer
Register 1' of i.MX6Q/SDL SoC. This patch introduces a fixup hook
for multiplexer clock which is called before writing a value to
clock registers to support this kind of multiplexer clocks.

Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: imx: add common clock support for fixup div
Liu Ying [Thu, 4 Jul 2013 09:22:26 +0000 (17:22 +0800)]
ARM: imx: add common clock support for fixup div

One register may have several fields to control some clocks. It
is possible that the read/write values of some fields may map to
different real functional values, so writing to the other fields
in the same register may break a working clock tree. A real case
is the aclk_podf field in the register 'CCM Serial Clock Multiplexer
Register 1' of i.MX6Q/SDL SoC. This patch introduces a fixup hook
for divider clock which is called before writing a value to clock
registers to support this kind of divider clocks.

Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: imx: Select MIGHT_HAVE_CACHE_L2X0
Fabio Estevam [Wed, 10 Jul 2013 15:30:16 +0000 (12:30 -0300)]
ARM: imx: Select MIGHT_HAVE_CACHE_L2X0

Select MIGHT_HAVE_CACHE_L2X0 for armv6 and armv7 i.MX SoCs.

By selecting MIGHT_HAVE_CACHE_L2X0, the user still has the possibility to
disable CACHE_L2X0 selection via menuconfig.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: imx: fix imx_init_l2cache storage class
Vincent Stehlé [Wed, 10 Jul 2013 09:45:46 +0000 (11:45 +0200)]
ARM: imx: fix imx_init_l2cache storage class

This fixes the following compilation error:

  arch/arm/mach-imx/system.c:101:123: error: static declaration of ‘imx_init_l2cache’ follows non-static declaration
  In file included from arch/arm/mach-imx/system.c:32:0:
  arch/arm/mach-imx/common.h:165:13: note: previous declaration of ‘imx_init_l2cache’ was here
  arch/arm/mach-imx/system.c:101:123: warning: ‘imx_init_l2cache’ defined but not used [-Wunused-function]

Signed-off-by: Vincent Stehlé <vincent.stehle@freescale.com>
Cc: Sascha Hauer <kernel@pengutronix.de>
Cc: Russell King <linux@arm.linux.org.uk>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: imx_v6_v7_defconfig: enable WEIM driver
Huang Shijie [Mon, 8 Jul 2013 07:16:03 +0000 (15:16 +0800)]
ARM: imx_v6_v7_defconfig: enable WEIM driver

enable the weim driver.
Since the NOR is connected to the WEIM for imx6q{dl}-sabreauto,
we also enable the MTD_PHYSMAP_OF module.

Signed-off-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: imx: use imx specific L2 init function on imx6sl
Shawn Guo [Mon, 8 Jul 2013 13:52:33 +0000 (21:52 +0800)]
ARM: imx: use imx specific L2 init function on imx6sl

The optimized L2 prefect and power setting done in imx_init_l2cache()
can also benefit imx6sl, so let's call the function on imx6sl as well.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Dirk Behme <dirk.behme@de.bosch.com>
10 years agoARM: imx: let L2 initialization be a common function
Shawn Guo [Mon, 8 Jul 2013 13:45:20 +0000 (21:45 +0800)]
ARM: imx: let L2 initialization be a common function

Move imx6q L2 initialization function imx6q_init_l2cache() into
system.c, and rename it imx_init_l2cache(), so that other platforms
other than imx6q can also use the function.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Dirk Behme <dirk.behme@de.bosch.com>
10 years agoARM: imx_v4_v5_defconfig: Select CONFIG_MACH_IMX25_DT
Fabio Estevam [Wed, 3 Jul 2013 12:42:57 +0000 (09:42 -0300)]
ARM: imx_v4_v5_defconfig: Select CONFIG_MACH_IMX25_DT

Allow booting a mx25 dt kernel by default.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: imx_v6_v7_defconfig: Enable VPU driver
Fabio Estevam [Fri, 28 Jun 2013 22:49:19 +0000 (19:49 -0300)]
ARM: imx_v6_v7_defconfig: Enable VPU driver

Let VPU driver be selected by default.

VPU driver requires a SRAM pool, so select CONFIG_SRAM as well.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM i.MX6DL: parent LDB DI clocks to PLL5 on i.MX6S/DL
Philipp Zabel [Fri, 28 Jun 2013 12:24:15 +0000 (14:24 +0200)]
ARM i.MX6DL: parent LDB DI clocks to PLL5 on i.MX6S/DL

i.MX6S/DL have the Video PLL post dividers fixed already in revision 1.0

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: imx_v6_v7_defconfig: Enable LVDS Display Bridge
Fabio Estevam [Fri, 28 Jun 2013 03:28:07 +0000 (00:28 -0300)]
ARM: imx_v6_v7_defconfig: Enable LVDS Display Bridge

Let IMX_LDB driver be built by default.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: imx_v6_v7_defconfig: Enable FSL_LPUART support
Fabio Estevam [Thu, 27 Jun 2013 12:48:41 +0000 (09:48 -0300)]
ARM: imx_v6_v7_defconfig: Enable FSL_LPUART support

Enable the FSL_LPUART driver as it is used by the VF610 family.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM i.MX6Q: Use ENET_CLK_SEL defines in imx6q_1588_init
Philipp Zabel [Wed, 26 Jun 2013 13:08:49 +0000 (15:08 +0200)]
ARM i.MX6Q: Use ENET_CLK_SEL defines in imx6q_1588_init

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>