firefly-linux-kernel-4.4.55.git
11 years agoMerge tag 'imx-dt-3.11' of git://git.linaro.org/people/shawnguo/linux-2.6 into next/dt
Arnd Bergmann [Thu, 20 Jun 2013 00:11:29 +0000 (02:11 +0200)]
Merge tag 'imx-dt-3.11' of git://git.linaro.org/people/shawnguo/linux-2.6 into next/dt

From Shawn Guo:

imx device tree changes for 3.11:

* A bunch of new board additions, imx6sl-evk, vf610-twr, imx53-tx53,
  imx53-m53evk and imx27-phytec-phycore
* Various pinctrl setting updates and additions
* Enable various on board peripherals, usb, audio, nor, display etc.
* Configure L2 cache data and tag latency from device tree
* Add imx-weim bus driver

* tag 'imx-dt-3.11' of git://git.linaro.org/people/shawnguo/linux-2.6: (82 commits)
  ARM: dts: imx27: Add VPU devicetree node
  ARM: mxc: fix gpio-ranges for VF610
  ARM: dtsi: imx6qdl-sabresd: Enable WM8962 audio support
  ARM: dtsi: imx6qdl-sabresd: Enable SSI2 and AUDMUX
  ARM: dtsi: imx6qdl-sabresd: Add WM8962 CODEC support
  ARM: dtsi: imx6qdl-sabresd: add a fixed regulator for WM8962
  ARM: dtsi: imx6dl: Add a pinctrl for AUDMUX
  ARM: dtsi: imx6q/imx6dl: Add a pinctrl for I2C1
  ARM: dts: imx6qdl-sabresd: add clko1 iomux configuration
  ARM: dts: Phytec imx6q pfla02 and pbab01 support
  ARM: dts: imx6q: Add pinctrl for usdhc2 and enet
  ARM: dts: imx27-phytec-phycore-rdk: Add MTD name for NOR flash
  ARM: dts: imx27-phytec-phycore-rdk: Add SDHC support
  ARM: dts: i.MX27: Add SDHC devicetree nodes
  ARM: dts: i.MX27: Add DMA devicetree node
  ARM: dts: imx6qdl-sabreauto: enable the WEIM NOR
  ARM: dts: imx6dl: add pinctrls for WEIM NOR
  ARM: dts: imx6q: add pinctrls for WEIM NOR
  ARM: dts: imx6qdl: add more information for WEIM
  ARM: dts: imx6q{dl}: fix the pin conflict between SPI and WEIM
  ...

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
11 years agoMerge tag 'imx-soc-3.11' of git://git.linaro.org/people/shawnguo/linux-2.6 into next/dt
Arnd Bergmann [Thu, 20 Jun 2013 00:10:42 +0000 (02:10 +0200)]
Merge tag 'imx-soc-3.11' of git://git.linaro.org/people/shawnguo/linux-2.6 into next/dt

This is a dependency for imx/dt

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
11 years agoMerge tag 'mxs-dt-3.11' of git://git.linaro.org/people/shawnguo/linux-2.6 into next/dt
Arnd Bergmann [Thu, 20 Jun 2013 00:06:36 +0000 (02:06 +0200)]
Merge tag 'mxs-dt-3.11' of git://git.linaro.org/people/shawnguo/linux-2.6 into next/dt

From Shawn Guo:

mxs device tree changes for 3.11:

* A couple of new board support, cfa10055 and cfa10057
* A few updates on cfa10036 device tree source
* Some auart pinctrl data addition
* Adopt soc bus infrastructure for mach-mxs

* tag 'mxs-dt-3.11' of git://git.linaro.org/people/shawnguo/linux-2.6:
  ARM: mxs: dt: Add Crystalfontz CFA-10057 device tree
  ARM: mxs: dt: Add the Crystalfontz CFA-10055 device tree
  ARM: cfa10049: Switch the chip select pin of the LCD controller
  ARM: cfa10036: Add USB0 OTG port
  ARM: dts: apf28dev: Add touchscreen support for APF28dev
  ARM: mxs: Fix UARTs on M28EVK
  ARM: cfa10036: dt: Change i2c0 clock frequency
  ARM: dts: cfa10036: Change the OLED display to SSD1306
  ARM: mx28: add auart4 2 pins pinmux to imx28.dtsi
  ARM: mx28: add auart3 2 pins pinmux to imx28.dtsi
  ARM: mx28: add auart2 2 pins pinmux to imx28.dtsi
  ARM: mxs: Use soc bus infrastructure
  ARM: dts: mx28: Adjust the digctl compatible string
  ARM: mxs: Remove init_irq declaration in machine description

Includes an update to 3.10-rc6

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
11 years agoMerge tag 'zynq-dt-for-3.11' of git://git.xilinx.com/linux-xlnx into next/dt
Arnd Bergmann [Wed, 19 Jun 2013 23:43:19 +0000 (01:43 +0200)]
Merge tag 'zynq-dt-for-3.11' of git://git.xilinx.com/linux-xlnx into next/dt

From Michal Simek:

arm: Xilinx Zynq dt changes for v3.11

The branch contains:
- DT uart handling cleanup
- Support for zc706 and zed board
- Removal of board compatible string

* tag 'zynq-dt-for-3.11' of git://git.xilinx.com/linux-xlnx:
  arm: dt: zynq: Add support for the zed platform
  arm: dt: zynq: Add support for the zc706 platform
  arm: dt: zynq: Use 'status' property for UART nodes
  arm: zynq: Remove board specific compatibility string
  clk: zynq: Remove deprecated clock code
  arm: zynq: Migrate platform to clock controller
  clk: zynq: Add clock controller driver
  clk: zynq: Factor out PLL driver

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
11 years agoarm: dt: zynq: Add support for the zed platform
Soren Brinkmann [Thu, 13 Jun 2013 16:37:18 +0000 (09:37 -0700)]
arm: dt: zynq: Add support for the zed platform

Add a DT fragment for the Zed Zynq platform and a corresponding
target to the Makefile

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Reviewed-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
11 years agoarm: dt: zynq: Add support for the zc706 platform
Soren Brinkmann [Thu, 13 Jun 2013 16:37:17 +0000 (09:37 -0700)]
arm: dt: zynq: Add support for the zc706 platform

Add a DT fragment for the zc706 Zynq platform and a corresponding
target to the Makefile.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Reviewed-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
11 years agoarm: dt: zynq: Use 'status' property for UART nodes
Soren Brinkmann [Thu, 13 Jun 2013 16:37:16 +0000 (09:37 -0700)]
arm: dt: zynq: Use 'status' property for UART nodes

Set the default status for UARTs to disabled in the zynq-7000.dtsi file
and let board dts files enable the UARTs on demand.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Reviewed-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
11 years agoarm: zynq: Remove board specific compatibility string
Soren Brinkmann [Thu, 13 Jun 2013 16:37:15 +0000 (09:37 -0700)]
arm: zynq: Remove board specific compatibility string

It is not necessary to have board specific compatibility strings
in the platform code. The board dts files can use the more generic
'xlnx,zynq-7000' string.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Reviewed-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
11 years agoARM: dts: imx27: Add VPU devicetree node
Alexander Shiyan [Sat, 15 Jun 2013 12:22:58 +0000 (16:22 +0400)]
ARM: dts: imx27: Add VPU devicetree node

This patch adds the missing VPU devicetree node for i.MX27 CPUs.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: mxc: fix gpio-ranges for VF610
Stephen Warren [Thu, 13 Jun 2013 20:59:53 +0000 (14:59 -0600)]
ARM: mxc: fix gpio-ranges for VF610

The gpio-ranges properties in vf610.dtsi were written according to an
older version of the GPIO bindings. Unfortunately, these were changed
incompatibly in commit 86853c8 "gpio: add gpio offset in gpio range
cells property". This patch adds the missing required extra cell in each
gpio-ranges property.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: dtsi: imx6qdl-sabresd: Enable WM8962 audio support
Nicolin Chen [Fri, 14 Jun 2013 05:22:46 +0000 (13:22 +0800)]
ARM: dtsi: imx6qdl-sabresd: Enable WM8962 audio support

Enable WM8962 ALSA machine driver via devicetree.

Signed-off-by: Nicolin Chen <b42378@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: dtsi: imx6qdl-sabresd: Enable SSI2 and AUDMUX
Nicolin Chen [Fri, 14 Jun 2013 05:19:57 +0000 (13:19 +0800)]
ARM: dtsi: imx6qdl-sabresd: Enable SSI2 and AUDMUX

Enable SSI2 and its pin configuration in AUDMUX.

Signed-off-by: Nicolin Chen <b42378@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: dtsi: imx6qdl-sabresd: Add WM8962 CODEC support
Nicolin Chen [Thu, 13 Jun 2013 11:51:01 +0000 (19:51 +0800)]
ARM: dtsi: imx6qdl-sabresd: Add WM8962 CODEC support

Add WM8962 CODEC support and enable its parent I2C bus.

Signed-off-by: Nicolin Chen <b42378@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: dtsi: imx6qdl-sabresd: add a fixed regulator for WM8962
Nicolin Chen [Thu, 13 Jun 2013 11:51:00 +0000 (19:51 +0800)]
ARM: dtsi: imx6qdl-sabresd: add a fixed regulator for WM8962

On Sabre SD, system controls WM8962 power by pulling up/down GPIO_4_10,
so add a regulator controled by GPIO_4_10 for WM8962.

Signed-off-by: Nicolin Chen <b42378@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: dtsi: imx6dl: Add a pinctrl for AUDMUX
Nicolin Chen [Thu, 13 Jun 2013 11:50:59 +0000 (19:50 +0800)]
ARM: dtsi: imx6dl: Add a pinctrl for AUDMUX

Add a pinctrl for AUDMUX used on imx6dl-sabresd.

Signed-off-by: Nicolin Chen <b42378@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: dtsi: imx6q/imx6dl: Add a pinctrl for I2C1
Nicolin Chen [Thu, 13 Jun 2013 11:50:58 +0000 (19:50 +0800)]
ARM: dtsi: imx6q/imx6dl: Add a pinctrl for I2C1

Add a pinctrl for I2C1 used on imx6q/dl-sabresd.

Signed-off-by: Nicolin Chen <b42378@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: dts: imx6qdl-sabresd: add clko1 iomux configuration
Nicolin Chen [Thu, 13 Jun 2013 11:50:57 +0000 (19:50 +0800)]
ARM: dts: imx6qdl-sabresd: add clko1 iomux configuration

Setting GPIO_0 pad as clko1 clock output to provide MCLK for WM8962.

Signed-off-by: Nicolin Chen <b42378@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: dts: Phytec imx6q pfla02 and pbab01 support
Christian Hemp [Tue, 11 Jun 2013 17:48:22 +0000 (19:48 +0200)]
ARM: dts: Phytec imx6q pfla02 and pbab01 support

Add support for imx6q Phytec phyFLEX-i.MX6 Quad (aka pfla02 and pbab01).
 - Module pfla02
 - Carrier-Board pbab01

Signed-off-by: Christian Hemp <c.hemp@phytec.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: dts: imx6q: Add pinctrl for usdhc2 and enet
Christian Hemp [Tue, 11 Jun 2013 17:48:21 +0000 (19:48 +0200)]
ARM: dts: imx6q: Add pinctrl for usdhc2 and enet

Add a group to the usdhc2 and enet pinctrl.

Signed-off-by: Christian Hemp <c.hemp@phytec.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: dts: imx27-phytec-phycore-rdk: Add MTD name for NOR flash
Alexander Shiyan [Sat, 8 Jun 2013 14:39:40 +0000 (18:39 +0400)]
ARM: dts: imx27-phytec-phycore-rdk: Add MTD name for NOR flash

This patch adds name for NOR flash. This keeps compatibility for
commandline partitions parsing from old bootloaders and make name
of device same for DT and non-DT boot.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Acked-by: Sascha Hauer <s.hauer@pengutonix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: dts: imx27-phytec-phycore-rdk: Add SDHC support
Alexander Shiyan [Sat, 8 Jun 2013 14:39:38 +0000 (18:39 +0400)]
ARM: dts: imx27-phytec-phycore-rdk: Add SDHC support

This patch adds the SHDC devicetree node for PCM970 board.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Acked-by: Sascha Hauer <s.hauer@pengutonix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: dts: i.MX27: Add SDHC devicetree nodes
Alexander Shiyan [Sat, 8 Jun 2013 14:39:37 +0000 (18:39 +0400)]
ARM: dts: i.MX27: Add SDHC devicetree nodes

This patch adds the missing SDHC devicetree nodes for i.MX27 SoCs.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Acked-by: Sascha Hauer <s.hauer@pengutonix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: dts: i.MX27: Add DMA devicetree node
Alexander Shiyan [Sat, 8 Jun 2013 14:39:36 +0000 (18:39 +0400)]
ARM: dts: i.MX27: Add DMA devicetree node

This patch adds the missing DMA devicetree node for i.MX27 SoCs.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Acked-by: Sascha Hauer <s.hauer@pengutonix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: dts: imx6qdl-sabreauto: enable the WEIM NOR
Huang Shijie [Tue, 28 May 2013 06:20:12 +0000 (14:20 +0800)]
ARM: dts: imx6qdl-sabreauto: enable the WEIM NOR

Enable the WEIM NOR for imx6q{dl}-sabreauto boards.

For the pin conflict with SPI NOR, its status is set to "disabled".

Signed-off-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: dts: imx6dl: add pinctrls for WEIM NOR
Huang Shijie [Tue, 28 May 2013 06:20:11 +0000 (14:20 +0800)]
ARM: dts: imx6dl: add pinctrls for WEIM NOR

Add two pinctrls for WEIM:
   one for the weim nor, another for the chipselect.

Signed-off-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: dts: imx6q: add pinctrls for WEIM NOR
Huang Shijie [Tue, 28 May 2013 06:20:10 +0000 (14:20 +0800)]
ARM: dts: imx6q: add pinctrls for WEIM NOR

Add two pinctrls for WEIM:
   one for the weim nor, another for the chipselect.

Signed-off-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: dts: imx6qdl: add more information for WEIM
Huang Shijie [Tue, 28 May 2013 06:20:09 +0000 (14:20 +0800)]
ARM: dts: imx6qdl: add more information for WEIM

Add the clock and compatible information for the weim.
Also adds the weim label.

Signed-off-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: dts: imx6q{dl}: fix the pin conflict between SPI and WEIM
Huang Shijie [Tue, 28 May 2013 06:20:08 +0000 (14:20 +0800)]
ARM: dts: imx6q{dl}: fix the pin conflict between SPI and WEIM

In the imx6q-sabreauto and imx6dl-sabreauto boards,
the pin MX6Q{DL}_PAD_EIM_D19 is used as a GPIO for SPI NOR, but
it is used as a data pin for the WEIM NOR.

In order to fix the conflict, this patch removes the pin from the hog,
and adds a new board-level pinctrl: pinctrl_ecspi1_sabreauto.

The SPI NOR selects this pinctrl_ecspi1_sabreauto when it is enabled.

Signed-off-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agodrivers: bus: add a new driver for WEIM
Huang Shijie [Tue, 28 May 2013 06:20:07 +0000 (14:20 +0800)]
drivers: bus: add a new driver for WEIM

The WEIM(Wireless External Interface Module) works like a bus.
You can attach many different devices on it, such as NOR, onenand.

In the case of i.MX6q-sabreauto, the NOR is connected to WEIM.

This patch also adds the devicetree binding document.
The driver only works when the devicetree is enabled.

Signed-off-by: Huang Shijie <b32955@freescale.com>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM i.MX53: mba53: add DI1_CLK to pinctrl for disp1
Markus Niebel [Tue, 4 Jun 2013 11:07:15 +0000 (13:07 +0200)]
ARM i.MX53: mba53: add DI1_CLK to pinctrl for disp1

Add missing pin config

Signed-off-by: Markus Niebel <Markus.Niebel@tqs.de>
Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM i.MX53: mba53: fix lvds/disp pinctrl
Steffen Trumtrar [Tue, 4 Jun 2013 11:07:14 +0000 (13:07 +0200)]
ARM i.MX53: mba53: fix lvds/disp pinctrl

use NO_PAD_CTL / 0x80000000 instead of 0x10000 to prevent misconfigured pads

Signed-off-by: Markus Niebel <Markus.Niebel@tqs.de>
[Steffen: split up patch into tqma53+mba53 part]
Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM i.MX53: mba53: use reset gpio for FEC
Markus Niebel [Tue, 4 Jun 2013 11:07:13 +0000 (13:07 +0200)]
ARM i.MX53: mba53: use reset gpio for FEC

Signed-off-by: Markus Niebel <Markus.Niebel@tqs.de>
Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM i.MX53: mba53: add missing gpio stuff for pca9554
Markus Niebel [Tue, 4 Jun 2013 11:07:12 +0000 (13:07 +0200)]
ARM i.MX53: mba53: add missing gpio stuff for pca9554

Add properties to make use of pca9554 gpio expander.

Signed-off-by: Markus Niebel <Markus.Niebel@tqs.de>
Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM i.MX53: mba53: add sound support
Markus Niebel [Tue, 4 Jun 2013 11:07:11 +0000 (13:07 +0200)]
ARM i.MX53: mba53: add sound support

Enable the sgtl5000 found on MBa53 mainboard.
Also enable audio muxer and ssi, which are needed for sound to work.

Signed-off-by: Markus Niebel <Markus.Niebel@tqs.de>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM i.MX53: mba53: add Tevision Encoder
Philipp Zabel [Tue, 4 Jun 2013 11:07:10 +0000 (13:07 +0200)]
ARM i.MX53: mba53: add Tevision Encoder

Enable tve on MBa53.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM i.MX53: mba53: Add display support
Sascha Hauer [Tue, 4 Jun 2013 11:07:09 +0000 (13:07 +0200)]
ARM i.MX53: mba53: Add display support

As the displays are optional and we have more than one, also
set the status of the parallel display and the ldb to disabled.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM i.MX53: mba53: enable usbotg & usbh1
Michael Olbrich [Tue, 4 Jun 2013 11:07:08 +0000 (13:07 +0200)]
ARM i.MX53: mba53: enable usbotg & usbh1

Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Signed-off-by: Markus Niebel <Markus.Niebel@tqs.de>
Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM i.MX53: tqma53: add WP/CD pinctrl and vmmc to esdhc2
Steffen Trumtrar [Thu, 6 Jun 2013 09:49:36 +0000 (11:49 +0200)]
ARM i.MX53: tqma53: add WP/CD pinctrl and vmmc to esdhc2

Add WP/CD pinctrl for esdhc2.
Also, add vmmc-supply for esdhc2.

Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM i.MX53: Add TVE entry to i.MX53 dtsi
Philipp Zabel [Tue, 4 Jun 2013 10:12:22 +0000 (12:12 +0200)]
ARM i.MX53: Add TVE entry to i.MX53 dtsi

This adds the Television Encoder (TVEv2) device tree node
to the i.MX53 dtsi.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM i.MX53: tqma53: rev 300 specific pin configuration
Philipp Zabel [Tue, 4 Jun 2013 09:12:29 +0000 (11:12 +0200)]
ARM i.MX53: tqma53: rev 300 specific pin configuration

I2S_MCLK is moved from pad GPIO19 to GPIO0, which can be muxed to the
ssi_ext1 clock signal. #SYSTEM_DOWN is moved from pad GPIO0 to GPIO19.
Add #PHY_RESET and LCD_CONTRAST.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM i.MX53: tqma53: fix pinctrl settings
Philipp Zabel [Tue, 4 Jun 2013 09:12:28 +0000 (11:12 +0200)]
ARM i.MX53: tqma53: fix pinctrl settings

BIT(31) is NO_PAD_CTL, not BIT(16)

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM i.MX53: tqma53: Fix interrupt polarity for the mc34708
Sascha Hauer [Tue, 4 Jun 2013 09:12:27 +0000 (11:12 +0200)]
ARM i.MX53: tqma53: Fix interrupt polarity for the mc34708

It's active high, not active low.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: dts: imx27-phytec-phycore-som: Add initial support for PCM970 RDK
Alexander Shiyan [Sat, 1 Jun 2013 05:54:13 +0000 (09:54 +0400)]
ARM: dts: imx27-phytec-phycore-som: Add initial support for PCM970 RDK

Patch adds initial dts for Phytec PCM970 Rapid development kit.
- Added definition for UART0 and UART1.
- Added additional SPI chipselect which used on RDK for ZegBee module.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: dts: imx27-phytec-phycore-som: Remove UART definitions
Alexander Shiyan [Sat, 1 Jun 2013 05:54:12 +0000 (09:54 +0400)]
ARM: dts: imx27-phytec-phycore-som: Remove UART definitions

UART1 and UART2 can be unused on some designs with PCM038 module.
Remove these definitions from basic dts and lets choose user only
necessary UARTs in custom designs.
Keep UART0 for using this one as boot console, but since we have
not way to disable usage RTSCTS signals, remove this parameter for UART0.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: dts: imx27-phytec-phycore: Rename file to match functionality
Alexander Shiyan [Sat, 1 Jun 2013 05:54:11 +0000 (09:54 +0400)]
ARM: dts: imx27-phytec-phycore: Rename file to match functionality

PCM038 dts can be used as base for development kit board or any
custom PCB designs. Renames this file to match functionality.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: dts: imx27-phytec-phycore: Add reset GPIO for FEC
Alexander Shiyan [Sat, 1 Jun 2013 05:54:10 +0000 (09:54 +0400)]
ARM: dts: imx27-phytec-phycore: Add reset GPIO for FEC

FEC (KSZ8001L) reset pin is connected to GPIOC30.
Add this definition to dts.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: dts: add initial VF610 Tower board dts support
Jingchang Lu [Tue, 28 May 2013 09:12:23 +0000 (17:12 +0800)]
ARM: dts: add initial VF610 Tower board dts support

Add initial Freescale Vybrid VF610 Tower board support
with uart and fec enabled.

Signed-off-by: Jingchang Lu <b35083@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: dts: add SoC level device tree source for VF610
Jingchang Lu [Tue, 28 May 2013 09:12:22 +0000 (17:12 +0800)]
ARM: dts: add SoC level device tree source for VF610

Add SoC level device tree source for Freescale Vybrid VF610.

Signed-off-by: Jingchang Lu <b35083@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: dts: imx53: add fec pinctrl
Jonas Andersson [Mon, 27 May 2013 08:52:54 +0000 (10:52 +0200)]
ARM: dts: imx53: add fec pinctrl

Add a group to the fec pinctrl, for use with MII interface.

Signed-off-by: Jonas Andersson <jonas@microbit.se>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: dts: imx53: add ecspi2 pinctrl
Jonas Andersson [Mon, 27 May 2013 08:52:45 +0000 (10:52 +0200)]
ARM: dts: imx53: add ecspi2 pinctrl

Add ecspi2 pinctrl.

Signed-off-by: Jonas Andersson <jonas@microbit.se>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: dts: imx53: add cspi pinctrl
Jonas Andersson [Mon, 27 May 2013 08:52:21 +0000 (10:52 +0200)]
ARM: dts: imx53: add cspi pinctrl

Add a group to the cspi pinctrl.

Signed-off-by: Jonas Andersson <jonas@microbit.se>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: dts: mx53qsb: Add support for parallel display
Rogerio Pimentel [Fri, 24 May 2013 14:09:30 +0000 (11:09 -0300)]
ARM: dts: mx53qsb: Add support for parallel display

Add support for CLAA WVGA display for i.MX53 QSB.

Signed-off-by: Rogerio Pimentel <rogerio.pimentel@freescale.com>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: imx: apf51: add nfc support
Gwenhael Goavec-Merou [Thu, 16 May 2013 10:25:31 +0000 (12:25 +0200)]
ARM: imx: apf51: add nfc support

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@armadeus.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoi.MX6: Documentation: update from fsl,card-wired to non-removable
Dirk Behme [Thu, 16 May 2013 06:51:34 +0000 (08:51 +0200)]
i.MX6: Documentation: update from fsl,card-wired to non-removable

With the commit 7f217794f (mmc: dt: Consolidate DT bindings),
the device tree properties used by various device drivers
for SD/MMC host controllers were standardized.  One of the changes
was that the property "fsl,card-wired", previously used by the
Freescale driver, was replaced with "non-removable". Fix the example
documentation regarding this.

Signed-off-by: Dirk Behme <dirk.behme@de.bosch.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: dts: imx6qdl: remove redundant ocotp node
Shawn Guo [Sun, 28 Apr 2013 02:01:18 +0000 (10:01 +0800)]
ARM: dts: imx6qdl: remove redundant ocotp node

There is a redundant ocotp node.  Remove it.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: dts: imx6qdl: remove redundant usbmisc label
Shawn Guo [Sun, 28 Apr 2013 01:59:54 +0000 (09:59 +0800)]
ARM: dts: imx6qdl: remove redundant usbmisc label

There is a redundant label on usbmisc node.  Remove it.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: dts: imx6sl: add initial imx6sl-evk support
Shawn Guo [Fri, 3 May 2013 03:28:42 +0000 (11:28 +0800)]
ARM: dts: imx6sl: add initial imx6sl-evk support

Add initial imx6sl-evk board support with uart, usdhc and fec enabled.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: dts: add device tree source for imx6sl SoC
Shawn Guo [Fri, 3 May 2013 03:26:30 +0000 (11:26 +0800)]
ARM: dts: add device tree source for imx6sl SoC

Add SoC level device tree source for imx6sl.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: dts: i.MX6: configure L2 cache data and tag latency
Dirk Behme [Fri, 26 Apr 2013 08:13:55 +0000 (10:13 +0200)]
ARM: dts: i.MX6: configure L2 cache data and tag latency

Configure the data and tag latency for the L2 cache. This improves the
system performance.

This configuration is taken from Freescale's kernel patch

"ENGR00153601 [MX6]Adjust L2 cache parameter" [1]

which does

writel(0x132, IO_ADDRESS(L2_BASE_ADDR + L2X0_TAG_LATENCY_CTRL));
writel(0x132, IO_ADDRESS(L2_BASE_ADDR + L2X0_DATA_LATENCY_CTRL));

In this patch we are doing the same via the device tree.

Signed-off-by: Dirk Behme <dirk.behme@de.bosch.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
[1] http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/commit/arch/arm/mach-mx6/mm.c?h=imx_3.0.35_12.09.01&id=814656410b40c67a10b25300e51b0477b2bb96d1

11 years agoARM: dts: add SPI/NOR for mx6q{dl}-sabreauto boards
Huang Shijie [Thu, 9 May 2013 03:29:03 +0000 (11:29 +0800)]
ARM: dts: add SPI/NOR for mx6q{dl}-sabreauto boards

Since the SPI/NOR has pin conflict with the WEIM NOR,
we disable the spi/nor by default.

Signed-off-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: dts: imx6q: add a gpio for hog
Huang Shijie [Thu, 9 May 2013 03:29:02 +0000 (11:29 +0800)]
ARM: dts: imx6q: add a gpio for hog

The SPI/NOR needs this gpio for CS.
So add this gpio in the hog pinctrl.

Signed-off-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: dts: imx6dl: add a gpio for hog
Huang Shijie [Thu, 9 May 2013 03:29:01 +0000 (11:29 +0800)]
ARM: dts: imx6dl: add a gpio for hog

The SPI/NOR needs this gpio for CS.
So add this gpio in the hog pinctrl.

Signed-off-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: dts: imx6dl: add a pinctrl for eCSPI1
Huang Shijie [Thu, 9 May 2013 03:29:00 +0000 (11:29 +0800)]
ARM: dts: imx6dl: add a pinctrl for eCSPI1

Signed-off-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: dts: enable the gpmi-nand for imx6q{dl}-sabreauto boards
Huang Shijie [Tue, 7 May 2013 07:39:20 +0000 (15:39 +0800)]
ARM: dts: enable the gpmi-nand for imx6q{dl}-sabreauto boards

enable the gpmi-nand for imx6q-sabreauto and imx6qdl-sabreauto boards.

Signed-off-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: dts: imx6dl: add pinctrl for gpmi-nand
Huang Shijie [Tue, 7 May 2013 07:39:19 +0000 (15:39 +0800)]
ARM: dts: imx6dl: add pinctrl for gpmi-nand

add the pinctrl item for gpmi-nand.

Signed-off-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: dts: imx6q: remove the unused pins for gpmi-nand
Huang Shijie [Tue, 7 May 2013 07:39:18 +0000 (15:39 +0800)]
ARM: dts: imx6q: remove the unused pins for gpmi-nand

The gpmi does not use the MX6Q_PAD_NANDF_CS2__NAND_CE2_B and
MX6Q_PAD_NANDF_CS3__NAND_CE3_B.

Just remove them.

Signed-off-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: dts: Add SPI support for i.MX27 Phytec PCM038 module
Alexander Shiyan [Fri, 3 May 2013 08:08:21 +0000 (12:08 +0400)]
ARM: dts: Add SPI support for i.MX27 Phytec PCM038 module

Added SPI node and PMIC MC13783 (spi0.0) to imx27-phytec-phycore DT file.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: dts: Add aliases for i.MX27 SPI controller
Alexander Shiyan [Wed, 1 May 2013 10:46:57 +0000 (14:46 +0400)]
ARM: dts: Add aliases for i.MX27 SPI controller

Add aliases to determine the proper SPI bus number.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: dts: add Ka-Ro tx53 devicetree
Steffen Trumtrar [Wed, 24 Apr 2013 09:41:26 +0000 (11:41 +0200)]
ARM: dts: add Ka-Ro tx53 devicetree

This adds support for the Ka-Ro TX53 System-On-Module.
As a baseboard is needed to operate it, only a *.dtsi and no Makefile entry.

Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: i.MX53: add uart2 pinctrl
Steffen Trumtrar [Wed, 24 Apr 2013 09:41:25 +0000 (11:41 +0200)]
ARM: i.MX53: add uart2 pinctrl

Add a group to the uart2 pinctrl.

Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: i.MX53: add uart1 pinctrl
Steffen Trumtrar [Wed, 24 Apr 2013 09:41:24 +0000 (11:41 +0200)]
ARM: i.MX53: add uart1 pinctrl

Add a group to the uart1 pinctrl.

Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: i.MX53: add pwm2 pinctrl
Steffen Trumtrar [Wed, 24 Apr 2013 09:41:23 +0000 (11:41 +0200)]
ARM: i.MX53: add pwm2 pinctrl

Add pinctrl for pwm2.

Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: i.MX53: add ecspi pinctrl
Steffen Trumtrar [Wed, 24 Apr 2013 09:41:22 +0000 (11:41 +0200)]
ARM: i.MX53: add ecspi pinctrl

Add a group to the ecspi pinctrl.

Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: i.MX53: add csi pinctrl
Steffen Trumtrar [Wed, 24 Apr 2013 09:41:21 +0000 (11:41 +0200)]
ARM: i.MX53: add csi pinctrl

Add a group to the csi pinctrl.

Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: i.MX53: add audmux pinctrl
Steffen Trumtrar [Wed, 24 Apr 2013 09:41:20 +0000 (11:41 +0200)]
ARM: i.MX53: add audmux pinctrl

Add a group to the audmux pinctrl.

Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: mx5: Add support for DENX M53EVK
Marek Vasut [Mon, 22 Apr 2013 21:23:47 +0000 (23:23 +0200)]
ARM: mx5: Add support for DENX M53EVK

This patch adds support for the DENX M53EVK board. The board currently supports
NAND, Ethernet, UART, CAN, I2C.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: imx: move imx53-qsb audio codec clk lookup into DT
Shawn Guo [Mon, 22 Apr 2013 04:48:42 +0000 (12:48 +0800)]
ARM: imx: move imx53-qsb audio codec clk lookup into DT

With device tree clk lookup support in place, we can move audio codec
clk lookup for ssi_ext1 into device tree now, so that imx53_qsb_init()
can be saved.

Since ssi_ext2 lookup is used nowhere, it gets removed together with
ssi_ext1 lookup from clk driver.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: mx5: Add PWM1 pinctrl data
Marek Vasut [Sun, 21 Apr 2013 21:30:07 +0000 (23:30 +0200)]
ARM: mx5: Add PWM1 pinctrl data

This patch adds pinctrl data for PWM1 on MX53.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: mx5: Add LCD IPU pinctrl data
Marek Vasut [Sun, 21 Apr 2013 21:30:06 +0000 (23:30 +0200)]
ARM: mx5: Add LCD IPU pinctrl data

This patch adds pinmux for IPU LCD 1 and IPU LVDS.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: mx5: Add NAND pinctrl data
Marek Vasut [Sun, 21 Apr 2013 21:30:05 +0000 (23:30 +0200)]
ARM: mx5: Add NAND pinctrl data

This patch adds pinctrl data for NAND on MX53.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: mx5: Add I2C2 pinctrl data
Marek Vasut [Sun, 21 Apr 2013 21:30:04 +0000 (23:30 +0200)]
ARM: mx5: Add I2C2 pinctrl data

This patch adds pinctrl data for different mux of I2C2 on MX53.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: mx5: Add I2C1 pinctrl data
Marek Vasut [Sun, 21 Apr 2013 21:30:03 +0000 (23:30 +0200)]
ARM: mx5: Add I2C1 pinctrl data

This patch adds pinctrl data for different mux of I2C1 on MX53.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: mx5: Add CAN1 pinctrl data
Marek Vasut [Sun, 21 Apr 2013 21:30:02 +0000 (23:30 +0200)]
ARM: mx5: Add CAN1 pinctrl data

This patch adds pinctrl data for different mux of CAN1 on MX53.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: mx5: Add AUDMUX4 pinctrl data
Marek Vasut [Sun, 21 Apr 2013 21:30:01 +0000 (23:30 +0200)]
ARM: mx5: Add AUDMUX4 pinctrl data

This patch adds pinctrl data for the AUDMUX4 on MX53.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM i.MX53: dts: add i2c aliases
Philipp Zabel [Tue, 9 Apr 2013 17:18:47 +0000 (19:18 +0200)]
ARM i.MX53: dts: add i2c aliases

This allows to order the i2c character devices correctly,
so that /dev/i2c-0 corresponds to i2c1, /dev/i2c-1 corresponds
to i2c2, and so on. Currently they are ordered by register
address.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: imx27: Add PWM0 to device tree
Gwenhael Goavec-Merou [Sun, 14 Apr 2013 07:44:25 +0000 (09:44 +0200)]
ARM: imx27: Add PWM0 to device tree

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@armadeus.com>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: dts: imx: imx53-qsb.dts: enable usbotg and usbh1
Michael Grzeschik [Thu, 11 Apr 2013 10:13:17 +0000 (12:13 +0200)]
ARM: dts: imx: imx53-qsb.dts: enable usbotg and usbh1

Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: dts: imx: use usb-nop-xceiv usbphy entries for imx5x
Michael Grzeschik [Thu, 11 Apr 2013 10:13:16 +0000 (12:13 +0200)]
ARM: dts: imx: use usb-nop-xceiv usbphy entries for imx5x

Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: dts: imx: add imx5x usb clock DT lookups
Michael Grzeschik [Thu, 11 Apr 2013 10:13:15 +0000 (12:13 +0200)]
ARM: dts: imx: add imx5x usb clock DT lookups

Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: dts: imx: add imx5x usbmisc entries
Michael Grzeschik [Thu, 11 Apr 2013 10:13:14 +0000 (12:13 +0200)]
ARM: dts: imx: add imx5x usbmisc entries

Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoMerge tag 'imx-soc-3.11' into imx/dt
Shawn Guo [Mon, 17 Jun 2013 08:02:51 +0000 (16:02 +0800)]
Merge tag 'imx-soc-3.11' into imx/dt

imx soc changes for 3.11:

* New SoCs i.MX6 Sololite and Vybrid VF610 support
* imx5 and imx6 clock fixes and additions
* Update clock driver to use of_clk_init() function
* Refactor restart routine mxc_restart() to get it work for DT boot
  as well
* Clean up mxc specific ulpi access ops
* imx defconfig updates

11 years agoARM: imx_v6_v7_defconfig: Enable Vybrid VF610
Fabio Estevam [Sat, 15 Jun 2013 22:14:33 +0000 (19:14 -0300)]
ARM: imx_v6_v7_defconfig: Enable Vybrid VF610

Let VF610 SoC support be built by default.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: imx_v6_v7_defconfig: Enable imx-wm8962 by default
Nicolin Chen [Thu, 13 Jun 2013 11:51:04 +0000 (19:51 +0800)]
ARM: imx_v6_v7_defconfig: Enable imx-wm8962 by default

Enable imx-wm8962 and PM_RUNTIME, essential for WM8962 CODEC driver.

Signed-off-by: Nicolin Chen <b42378@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: clk-imx6qdl: Add clko1 configuration for imx6qdl-sabresd
Nicolin Chen [Thu, 13 Jun 2013 11:50:56 +0000 (19:50 +0800)]
ARM: clk-imx6qdl: Add clko1 configuration for imx6qdl-sabresd

WM8962 needs 24MHz clock for its MCLK, so choose PLL4 as the parent of clko1.

Signed-off-by: Nicolin Chen <b42378@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: imx_v6_v7_defconfig: Enable PWM and backlight options
Fabio Estevam [Thu, 6 Jun 2013 15:56:30 +0000 (12:56 -0300)]
ARM: imx_v6_v7_defconfig: Enable PWM and backlight options

These options are useful for controlling backlight contrast via PWM.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: imx: Remove mxc specific ulpi access ops
Markus Pargmann [Thu, 6 Jun 2013 12:41:57 +0000 (14:41 +0200)]
ARM: imx: Remove mxc specific ulpi access ops

There are ulpi access ops implemented in drivers/usb/phy/phy-ulpi.c.
mxc access ops implement the same access operations within mach-imx. This
patch removes the mxc ulpi file and uses phy-ulpi instead for
imx_otg_ulpi_create.

phy-ulpi successfully tested with i.MX27 Phytec phyCARD-S (pca100).

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>
11 years agoARM: imx: add initial support for VF610
Jingchang Lu [Tue, 28 May 2013 09:12:21 +0000 (17:12 +0800)]
ARM: imx: add initial support for VF610

Add initial support for Freescale Vybrid VF610 SoC.

Signed-off-by: Jingchang Lu <b35083@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: imx: add VF610 clock support
Jingchang Lu [Tue, 28 May 2013 09:12:20 +0000 (17:12 +0800)]
ARM: imx: add VF610 clock support

Add clock support for Vybrid VF610. It uses dtc macro support to
define all clock IDs in vf610-clock.h to keep clock IDs coherence
between kernel and DT.

Signed-off-by: Jingchang Lu <b35083@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: imx_v6_v7_defconfig: enable parallel display
Rogerio Pimentel [Fri, 24 May 2013 14:09:31 +0000 (11:09 -0300)]
ARM: imx_v6_v7_defconfig: enable parallel display

Enable paralell display by default

Signed-off-by: Rogerio Pimentel <rogerio.pimentel@freescale.com>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: imx: clk: No need to initialize phandle struct
Fabio Estevam [Fri, 24 May 2013 19:55:42 +0000 (16:55 -0300)]
ARM: imx: clk: No need to initialize phandle struct

commit 84344b43c (ARM: i.MX5: Allow DT clock providers) introduce the following
sparse warning:

arch/arm/mach-imx/clk.c:12:43: warning: Using plain integer as NULL pointer

There is no need to initialize phandle, so remove it.

Cc: Martin Fuzzey <mfuzzey@parkeon.com>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>