]> git.karo-electronics.de Git - karo-tx-linux.git/log
karo-tx-linux.git
10 years agoARM: imx27: add pwm pingrp
Gwenhael Goavec-Merou [Tue, 3 Dec 2013 11:10:13 +0000 (12:10 +0100)]
ARM: imx27: add pwm pingrp

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: imx28: add apf28 specific initialization (macaddr)
Gwenhael Goavec-Merou [Sat, 30 Nov 2013 08:51:12 +0000 (09:51 +0100)]
ARM: imx28: add apf28 specific initialization (macaddr)

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@armadeus.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: apf28dev: set gpio polarity for usb regulator and pinctrl for regulator...
Gwenhael Goavec-Merou [Sat, 30 Nov 2013 08:51:13 +0000 (09:51 +0100)]
ARM: dts: apf28dev: set gpio polarity for usb regulator and pinctrl for regulator gpio

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@armadeus.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: i.MX27 boards: Switch to use standard GPIO and IRQ flags definitions
Alexander Shiyan [Sat, 30 Nov 2013 06:18:04 +0000 (10:18 +0400)]
ARM: dts: i.MX27 boards: Switch to use standard GPIO and IRQ flags definitions

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: Update FEC node
Alexander Shiyan [Sat, 30 Nov 2013 06:18:03 +0000 (10:18 +0400)]
ARM: dts: imx27-phytec-phycore-som: Update FEC node

This patch updates FEC devicetree node of Phytec PCM038 module:
- Adding missing phy_mode properties.
- Adding fixed regulator to provide functionality without
  dummy-regulator in the kernel.

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 DT node for camera module
Alexander Shiyan [Sat, 30 Nov 2013 06:18:02 +0000 (10:18 +0400)]
ARM: dts: imx27-phytec-phycore-rdk: Add DT node for camera module

This patch adds first I2C bus and PCA9536 device.
This device is used on Phytec PCM-970 RDK camera addon 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 on-flash BBT support
Alexander Shiyan [Sat, 30 Nov 2013 06:18:01 +0000 (10:18 +0400)]
ARM: dts: imx27-phytec-phycore-som: Add on-flash BBT support

This patch adds support for On Flash Bad Block Table for PCM-038
onboard NAND.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx27: imx27-apf27dev: add pinctrl for cspi, i2c, sdhc and framebuffer
Gwenhael Goavec-Merou [Thu, 28 Nov 2013 07:19:32 +0000 (08:19 +0100)]
ARM: dts: imx27: imx27-apf27dev: add pinctrl for cspi, i2c, sdhc and framebuffer

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@armadeus.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx27: imx27-apf27: add pinctrl for fec and uart1
Gwenhael Goavec-Merou [Thu, 28 Nov 2013 07:19:31 +0000 (08:19 +0100)]
ARM: dts: imx27: imx27-apf27: add pinctrl for fec and uart1

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@armadeus.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: imx27: add pingroups for cspi, sdhc and framebuffer
Gwenhael Goavec-Merou [Thu, 28 Nov 2013 07:19:30 +0000 (08:19 +0100)]
ARM: imx27: add pingroups for cspi, sdhc and framebuffer

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@armadeus.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx51-babbage: Define FEC reset pin
Alexander Shiyan [Wed, 27 Nov 2013 11:55:46 +0000 (15:55 +0400)]
ARM: dts: imx51-babbage: Define FEC reset pin

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx51-babbage: Fix chipselect level for dataflash on spi0.1
Alexander Shiyan [Wed, 27 Nov 2013 11:55:45 +0000 (15:55 +0400)]
ARM: dts: imx51-babbage: Fix chipselect level for dataflash on spi0.1

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: i.MX53: dts: USB host controller
Rostislav Lisovy [Tue, 26 Nov 2013 23:53:16 +0000 (00:53 +0100)]
ARM: i.MX53: dts: USB host controller

Signed-off-by: Rostislav Lisovy <lisovy@gmail.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: i.MX53: dts: NAND flash controller
Rostislav Lisovy [Tue, 26 Nov 2013 23:53:15 +0000 (00:53 +0100)]
ARM: i.MX53: dts: NAND flash controller

Signed-off-by: Rostislav Lisovy <lisovy@gmail.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx28-evk: Run I2C0 at 400kHz
Fabio Estevam [Mon, 25 Nov 2013 17:47:39 +0000 (15:47 -0200)]
ARM: dts: imx28-evk: Run I2C0 at 400kHz

It is safe to operate I2C0 at 400kHz as SGTL5000 supports this frequency.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx27-apf27dev: fix display size
Gwenhael Goavec-Merou [Mon, 25 Nov 2013 07:45:44 +0000 (08:45 +0100)]
ARM: dts: imx27-apf27dev: fix display size

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@armadeus.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx27 phycore pinctrl
Markus Pargmann [Wed, 20 Nov 2013 08:45:51 +0000 (09:45 +0100)]
ARM: dts: imx27 phycore pinctrl

Add pinctrl nodes and properties for phycore device nodes.

Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx27 phycore move uart1 to rdk
Markus Pargmann [Wed, 20 Nov 2013 08:45:50 +0000 (09:45 +0100)]
ARM: dts: imx27 phycore move uart1 to rdk

uart1 is not used on SOM. It is passed directly to the rdk board.

Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx27 phyCARD-S pinctrl
Markus Pargmann [Wed, 20 Nov 2013 08:45:49 +0000 (09:45 +0100)]
ARM: dts: imx27 phyCARD-S pinctrl

Add pinctrl nodes and properties for phyCARD-S device nodes.

Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx27 iomux device node
Markus Pargmann [Wed, 20 Nov 2013 08:45:48 +0000 (09:45 +0100)]
ARM: dts: imx27 iomux device node

This patch adds a iomux node for imx27 pinctrl driver. The gpio
registers are embedded in the iomux memory area. So this patch moves
them into the iomux node for a better hardware description.

Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx53: Enable AHCI SATA for M53EVK
Marek Vasut [Fri, 22 Nov 2013 11:05:04 +0000 (12:05 +0100)]
ARM: dts: imx53: Enable AHCI SATA for M53EVK

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Richard Zhu <r65037@freescale.com>
Cc: Tejun Heo <tj@kernel.org>
Cc: Linux-IDE <linux-ide@vger.kernel.org>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx53: Add AHCI SATA DT node
Marek Vasut [Fri, 22 Nov 2013 11:05:03 +0000 (12:05 +0100)]
ARM: dts: imx53: Add AHCI SATA DT node

The AHCI-IMX driver now supports i.MX53 as well. Add DT node.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Richard Zhu <r65037@freescale.com>
Cc: Tejun Heo <tj@kernel.org>
Cc: Linux-IDE <linux-ide@vger.kernel.org>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx: imx6sl/qdl-pingrp: reorganize USDHCx pad groups
Troy Kisky [Thu, 21 Nov 2013 05:35:22 +0000 (22:35 -0700)]
ARM: dts: imx: imx6sl/qdl-pingrp: reorganize USDHCx pad groups

Use helper macros to avoid repetition.

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx6q-sabrelite: Place 'status' as the last node
Fabio Estevam [Wed, 20 Nov 2013 18:20:48 +0000 (16:20 -0200)]
ARM: dts: imx6q-sabrelite: Place 'status' as the last node

In order to follow the standard approach used on other imx dts files, place the
'status' node as the last one.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: i.MX51 boards: Switch to use standard GPIO flags definitions
Alexander Shiyan [Tue, 19 Nov 2013 11:47:27 +0000 (15:47 +0400)]
ARM: dts: i.MX51 boards: Switch to use standard GPIO flags definitions

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: i.MX51: Move usbphy0 node from AIPS1
Alexander Shiyan [Tue, 19 Nov 2013 11:47:26 +0000 (15:47 +0400)]
ARM: dts: i.MX51: Move usbphy0 node from AIPS1

usbphy0 is not a part of AIPS1, so move this node under root.
Additionally this patch removes useless "status" property.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: cfa10036: Add dr_mode and phy_type properties to the DT
Maxime Ripard [Mon, 18 Nov 2013 14:52:02 +0000 (15:52 +0100)]
ARM: dts: cfa10036: Add dr_mode and phy_type properties to the DT

This USB port is only used as peripheral. Set it accordingly in its DT
node.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: mxs: cfa10049: Add NAU7802 ADCs to the device tree
Maxime Ripard [Mon, 18 Nov 2013 14:37:52 +0000 (15:37 +0100)]
ARM: mxs: cfa10049: Add NAU7802 ADCs to the device tree

The Crystalfontz CFA-10049 has 3 Nuvoton NAU7802 ADCs, plugged behing a
GPIO-controlled I2C muxer because these ADCs don't have a configurable
address.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx53: Add USB support for M53EVK
Marek Vasut [Sun, 17 Nov 2013 03:04:50 +0000 (04:04 +0100)]
ARM: dts: imx53: Add USB support for M53EVK

Add USB support for M53EVK. The configuration is such that USB Host1
port is used as Host and the USB OTG port is used as Peripheral thus
far. Once OTG is properly fixed, the OTG will be further adjusted.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx53: Fix backlight for M53EVK
Marek Vasut [Sun, 17 Nov 2013 01:19:40 +0000 (02:19 +0100)]
ARM: dts: imx53: Fix backlight for M53EVK

Remove the PWM backlight pin from the hog pins list, so it doesn't
collide with the PWM pin group. Moreover, add dummy regulator for
the backlight so that the backlight driver probes correctly.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx53: Fix display pinmux for M53EVK
Marek Vasut [Sun, 17 Nov 2013 01:19:39 +0000 (02:19 +0100)]
ARM: dts: imx53: Fix display pinmux for M53EVK

Use the DISP1 pinmux on M53EVK for the LCD, not the LVDS.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx: imx6qdl.dtsi: use IRQ_TYPE_LEVEL_HIGH
Troy Kisky [Thu, 14 Nov 2013 21:02:13 +0000 (14:02 -0700)]
ARM: dts: imx: imx6qdl.dtsi: use IRQ_TYPE_LEVEL_HIGH

Make the interrupts node slightly more readable.

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx: imx6sl.dtsi: use IRQ_TYPE_LEVEL_HIGH
Troy Kisky [Thu, 14 Nov 2013 21:02:12 +0000 (14:02 -0700)]
ARM: dts: imx: imx6sl.dtsi: use IRQ_TYPE_LEVEL_HIGH

Make the interrupts node slightly more readable.

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx: imx6dl.dtsi: use IRQ_TYPE_LEVEL_HIGH
Troy Kisky [Thu, 14 Nov 2013 21:02:11 +0000 (14:02 -0700)]
ARM: dts: imx: imx6dl.dtsi: use IRQ_TYPE_LEVEL_HIGH

Make the interrupts node slightly more readable.

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx: imx6q.dtsi: use IRQ_TYPE_LEVEL_HIGH
Troy Kisky [Thu, 14 Nov 2013 21:02:10 +0000 (14:02 -0700)]
ARM: dts: imx: imx6q.dtsi: use IRQ_TYPE_LEVEL_HIGH

Make the interrupts node slightly more readable.

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx: imx6qdl.dtsi: add mipi_csi tag
Troy Kisky [Thu, 14 Nov 2013 21:02:08 +0000 (14:02 -0700)]
ARM: dts: imx: imx6qdl.dtsi: add mipi_csi tag

We will reference mipi_csi from board
dts files.

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx: pinfunc: add MX6QDL_PAD_SD1_CLK__OSC32K_32K_OUT
Troy Kisky [Thu, 14 Nov 2013 21:02:07 +0000 (14:02 -0700)]
ARM: dts: imx: pinfunc: add MX6QDL_PAD_SD1_CLK__OSC32K_32K_OUT

The solo/duallite reference manual does not mention
this setting, but it works.

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx: specify the value of audmux pinctrl instead of 0x80000000
Nicolin Chen [Fri, 15 Nov 2013 06:31:11 +0000 (14:31 +0800)]
ARM: dts: imx: specify the value of audmux pinctrl instead of 0x80000000

We must specify the value of audmux pinctrl if we want to use pinctrl_pm().
Thus change bypass value 0x80000000 to what we exactly need.

This patch also seperately unset PUE bit for TXD so that IOMUX won't pull
up/down the pin after turning into tristate. When we use SSI normal mode to
playback monaural audio via I2S signal, there'd be a pulled curve occur to
its signal at the second slot if setting PUE bit for TXD. And it will make
the second channel to play a constant noise. So by keeping the signal level
in the second slot, we can get a constant high level signal (-1) or a low
level one (0).

Signed-off-by: Nicolin Chen <b42378@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: imx50: use clock defines in DTS files
Lucas Stach [Thu, 14 Nov 2013 10:19:00 +0000 (11:19 +0100)]
ARM: imx50: use clock defines in DTS files

For better readability and no need to look up numbers
in the documentation anymore.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: imx51: use clock defines in DTS files
Lucas Stach [Thu, 14 Nov 2013 10:18:59 +0000 (11:18 +0100)]
ARM: imx51: use clock defines in DTS files

For better readability and no need to look up numbers
in the documentation anymore.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: imx53: use clock defines in DTS files
Lucas Stach [Thu, 14 Nov 2013 10:18:58 +0000 (11:18 +0100)]
ARM: imx53: use clock defines in DTS files

For better readability and no need to look up numbers
in the documentation anymore.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx6q-sabrelite: Remove duplicate GPIO entry
Fabio Estevam [Tue, 12 Nov 2013 21:31:03 +0000 (19:31 -0200)]
ARM: dts: imx6q-sabrelite: Remove duplicate GPIO entry

MX6QDL_PAD_EIM_D23__GPIO3_IO23 appears twice in the hog pin group.

Remove one of the occurrences.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx6q-udoo: Add Ethernet support
Fabio Estevam [Tue, 12 Nov 2013 15:40:23 +0000 (13:40 -0200)]
ARM: dts: imx6q-udoo: Add Ethernet support

Add Ethernet support for imx6q udoo board.

Tested by booting a kernel via NFS.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx27 pingroups
Markus Pargmann [Tue, 12 Nov 2013 08:50:05 +0000 (09:50 +0100)]
ARM: dts: imx27 pingroups

Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx27 pin functions
Markus Pargmann [Tue, 12 Nov 2013 08:50:04 +0000 (09:50 +0100)]
ARM: dts: imx27 pin functions

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-apf27dev: Add sdhci support
Gwenhael Goavec-Merou [Mon, 11 Nov 2013 17:56:49 +0000 (18:56 +0100)]
ARM: imx27-apf27dev: Add sdhci support

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@armadeus.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: i.MX51: Switch to use standard IRQ flags definitions
Alexander Shiyan [Thu, 7 Nov 2013 08:45:08 +0000 (12:45 +0400)]
ARM: dts: i.MX51: Switch to use standard IRQ flags definitions

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 dummy clock to AUDMUX
Alexander Shiyan [Thu, 7 Nov 2013 08:45:06 +0000 (12:45 +0400)]
ARM: dts: i.MX51: Add dummy clock to AUDMUX

This patch adds dummy clock for AUDMUX. This change avoids useless
debug message "cannot get clock" during driver initialization.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: i.MX51: Update CPU node
Alexander Shiyan [Thu, 7 Nov 2013 08:45:05 +0000 (12:45 +0400)]
ARM: dts: i.MX51: Update CPU node

This patch updates i.MX51 CPU node:
- Alias for CPU is added to allow using this node in the parent DTS files.
- Removed useless "clock_names" property.
- "clock-latency" value increased to safe using with 32 kHz OSC.
- Defined operating points voltages and "voltage tolerance" properties.
  Values are safe for both commercial and industrial CPU variants.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: mxs: add support for I2SE's duckbill series
Michael Heimpold [Sat, 9 Nov 2013 11:14:16 +0000 (12:14 +0100)]
ARM: mxs: add support for I2SE's duckbill series

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx6: Add support for imx6q dmo edmqmx6
Silvio F [Thu, 7 Nov 2013 13:54:27 +0000 (14:54 +0100)]
ARM: dts: imx6: Add support for imx6q dmo edmqmx6

Signed-off-by: Silvio F <silvio.fricke@gmail.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoDT: Add Data Modul vendor prefix
Silvio F [Thu, 7 Nov 2013 13:54:26 +0000 (14:54 +0100)]
DT: Add Data Modul vendor prefix

Signed-off-by: Silvio F <silvio.fricke@gmail.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx25.dtsi: label the iomuxc.
Denis Carikli [Wed, 6 Nov 2013 08:52:17 +0000 (09:52 +0100)]
ARM: dts: imx25.dtsi: label the iomuxc.

Cc: Rob Herring <rob.herring@calxeda.com>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Stephen Warren <swarren@wwwdotorg.org>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Cc: devicetree@vger.kernel.org
Cc: Sascha Hauer <kernel@pengutronix.de>
Cc: linux-arm-kernel@lists.infradead.org
Cc: Eric Bénard <eric@eukrea.com>
Signed-off-by: Denis Carikli <denis@eukrea.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx25: Add pinctrl functions and groups.
Denis Carikli [Wed, 6 Nov 2013 08:52:16 +0000 (09:52 +0100)]
ARM: dts: imx25: Add pinctrl functions and groups.

Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Stephen Warren <swarren@wwwdotorg.org>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Cc: Grant Likely <grant.likely@linaro.org>
Cc: Rob Herring <rob.herring@calxeda.com>
Cc: devicetree@vger.kernel.org
Cc: Sascha Hauer <kernel@pengutronix.de>
Cc: linux-arm-kernel@lists.infradead.org
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Eric Bénard <eric@eukrea.com>
Signed-off-by: Denis Carikli <denis@eukrea.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx: use generic node name for fixed regulator
Shawn Guo [Wed, 6 Nov 2013 07:55:46 +0000 (15:55 +0800)]
ARM: dts: imx: use generic node name for fixed regulator

The device tree specification recommends that generic name should be
used for nodes.  So instead of naming those fixed regulator nodes
arbitrarily, let's use the generic name 'regulator@num' for those nodes.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx53-mba53: create a container for fixed regulators
Shawn Guo [Wed, 6 Nov 2013 07:43:36 +0000 (15:43 +0800)]
ARM: dts: imx53-mba53: create a container for fixed regulators

To align with others on fixed regulators bindings, it adds node
'regulators' as the container and move all regulator-fixed nodes into
there.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: voipac: Improve fixed voltage regulator definition
Rostislav Lisovy [Tue, 5 Nov 2013 12:49:20 +0000 (13:49 +0100)]
ARM: dts: voipac: Improve fixed voltage regulator definition

Signed-off-by: Rostislav Lisovy <lisovy@gmail.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx50: make pinctrl nodes board specific
Shawn Guo [Mon, 4 Nov 2013 08:24:32 +0000 (16:24 +0800)]
ARM: dts: imx50: make pinctrl nodes board specific

Currently, all pinctrl setting nodes are defined in <soc>.dtsi, so that
boards that share the same pinctrl setting do not have to define it time
and time again in <board>.dts.  However, along with the devices and use
cases being added continuously, the pinctrl setting nodes under iomuxc
becomes more than expected.  This bloats device tree blob for particular
board unnecessarily since only a small subset of those pinctrl setting
nodes will be used by the board.  It impacts not only the DTB file size
but also the run-time device tree lookup efficiency.

The patch provides a solution to avoid this device tree bloating problem
while still keeping boards share the common pinctrl setting data by
using DTC macro support.  It creates <soc>-pingrp.h and move all those
pinctrl setting data into there as macro definitions.  The <board>.dts
will instead define the pinctrl setting nodes that are necessary for the
board by referring to the macros in <soc>-pingrp.h, so that only the
pinctrl setting data that will be used by the board will get compiled
into the DTB for the board.

With the changes, the pinctrl setting nodes becomes local to particular
board, and it makes no sense to continue numbering the setting for
given peripheral.  Thus, all the pinctrl phandler name gets updated to
have only peripheral name in there.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx51: make pinctrl nodes board specific
Shawn Guo [Mon, 4 Nov 2013 08:05:37 +0000 (16:05 +0800)]
ARM: dts: imx51: make pinctrl nodes board specific

Currently, all pinctrl setting nodes are defined in <soc>.dtsi, so that
boards that share the same pinctrl setting do not have to define it time
and time again in <board>.dts.  However, along with the devices and use
cases being added continuously, the pinctrl setting nodes under iomuxc
becomes more than expected.  This bloats device tree blob for particular
board unnecessarily since only a small subset of those pinctrl setting
nodes will be used by the board.  It impacts not only the DTB file size
but also the run-time device tree lookup efficiency.

The patch provides a solution to avoid this device tree bloating problem
while still keeping boards share the common pinctrl setting data by
using DTC macro support.  It creates <soc>-pingrp.h and move all those
pinctrl setting data into there as macro definitions.  The <board>.dts
will instead define the pinctrl setting nodes that are necessary for the
board by referring to the macros in <soc>-pingrp.h, so that only the
pinctrl setting data that will be used by the board will get compiled
into the DTB for the board.

With the changes, the pinctrl setting nodes becomes local to particular
board, and it makes no sense to continue numbering the setting for
given peripheral.  Thus, all the pinctrl phandler name gets updated to
have only peripheral name in there.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx53: make pinctrl nodes board specific
Shawn Guo [Mon, 4 Nov 2013 06:45:46 +0000 (14:45 +0800)]
ARM: dts: imx53: make pinctrl nodes board specific

Currently, all pinctrl setting nodes are defined in <soc>.dtsi, so that
boards that share the same pinctrl setting do not have to define it time
and time again in <board>.dts.  However, along with the devices and use
cases being added continuously, the pinctrl setting nodes under iomuxc
becomes more than expected.  This bloats device tree blob for particular
board unnecessarily since only a small subset of those pinctrl setting
nodes will be used by the board.  It impacts not only the DTB file size
but also the run-time device tree lookup efficiency.

The patch provides a solution to avoid this device tree bloating problem
while still keeping boards share the common pinctrl setting data by
using DTC macro support.  It creates <soc>-pingrp.h and move all those
pinctrl setting data into there as macro definitions.  The <board>.dts
will instead define the pinctrl setting nodes that are necessary for the
board by referring to the macros in <soc>-pingrp.h, so that only the
pinctrl setting data that will be used by the board will get compiled
into the DTB for the board.

With the changes, the pinctrl setting nodes becomes local to particular
board, and it makes no sense to continue numbering the setting for
given peripheral.  Thus, all the pinctrl phandler name gets updated to
have only peripheral name in there.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx6sl: make pinctrl nodes board specific
Shawn Guo [Mon, 4 Nov 2013 02:49:04 +0000 (10:49 +0800)]
ARM: dts: imx6sl: make pinctrl nodes board specific

Currently, all pinctrl setting nodes are defined in <soc>.dtsi, so that
boards that share the same pinctrl setting do not have to define it time
and time again in <board>.dts.  However, along with the devices and use
cases being added continuously, the pinctrl setting nodes under iomuxc
becomes more than expected.  This bloats device tree blob for particular
board unnecessarily since only a small subset of those pinctrl setting
nodes will be used by the board.  It impacts not only the DTB file size
but also the run-time device tree lookup efficiency.

The patch provides a solution to avoid this device tree bloating problem
while still keeping boards share the common pinctrl setting data by
using DTC macro support.  It creates <soc>-pingrp.h and move all those
pinctrl setting data into there as macro definitions.  The <board>.dts
will instead define the pinctrl setting nodes that are necessary for the
board by referring to the macros in <soc>-pingrp.h, so that only the
pinctrl setting data that will be used by the board will get compiled
into the DTB for the board.

With the changes, the pinctrl setting nodes becomes local to particular
board, and it makes no sense to continue numbering the setting for
given peripheral.  Thus, all the pinctrl phandler name gets updated to
have only peripheral name in there.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx6qdl: make pinctrl nodes board specific
Shawn Guo [Wed, 23 Oct 2013 07:36:09 +0000 (15:36 +0800)]
ARM: dts: imx6qdl: make pinctrl nodes board specific

Currently, all pinctrl setting nodes are defined in <soc>.dtsi, so that
boards that share the same pinctrl setting do not have to define it time
and time again in <board>.dts.  However, along with the devices and use
cases being added continuously, the pinctrl setting nodes under iomuxc
becomes more than expected.  This bloats device tree blob for particular
board unnecessarily since only a small subset of those pinctrl setting
nodes will be used by the board.  It impacts not only the DTB file size
but also the run-time device tree lookup efficiency.

The patch provides a solution to avoid this device tree bloating problem
while still keeping boards share the common pinctrl setting data by
using DTC macro support.  It creates <soc>-pingrp.h and move all those
pinctrl setting data into there as macro definitions.  The <board>.dts
will instead define the pinctrl setting nodes that are necessary for the
board by referring to the macros in <soc>-pingrp.h, so that only the
pinctrl setting data that will be used by the board will get compiled
into the DTB for the board.

With the changes, the pinctrl setting nodes becomes local to particular
board, and it makes no sense to continue numbering the setting for
given peripheral.  Thus, all the pinctrl phandler name gets updated to
have only peripheral name in there.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: i.MX53: Devicetree for Voipac Baseboard using x53-dmm-668 module
Rostislav Lisovy [Thu, 24 Oct 2013 21:56:09 +0000 (23:56 +0200)]
ARM: dts: i.MX53: Devicetree for Voipac Baseboard using x53-dmm-668 module

Supported peripherals: Audio -- headphone output, LEDs, Buttons
(using keyboard controller), SD-card.

Signed-off-by: Rostislav Lisovy <lisovy@gmail.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: i.MX53: dts for Voipac x53-dmm-668 module
Rostislav Lisovy [Thu, 24 Oct 2013 21:56:08 +0000 (23:56 +0200)]
ARM: dts: i.MX53: dts for Voipac x53-dmm-668 module

Enable uart1, ecspi1, i2c1, FEC and PMIC

Signed-off-by: Rostislav Lisovy <lisovy@gmail.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: Add vendor prefix for Voipac Technologies s.r.o.
Rostislav Lisovy [Thu, 24 Oct 2013 21:56:07 +0000 (23:56 +0200)]
ARM: dts: Add vendor prefix for Voipac Technologies s.r.o.

Signed-off-by: Rostislav Lisovy <lisovy@gmail.com>
Acked-by: Kumar Gala <galak@codeaurora.org>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: Add initial support for cm-fx6.
Valentin Raevsky [Tue, 29 Oct 2013 12:11:43 +0000 (14:11 +0200)]
ARM: dts: Add initial support for cm-fx6.

Add initial support for cm-fx6 module.

cm-fx6 is a module based on mx6q SoC with the following features:
- Up to 4GB of DDR3
- 1 LCD/DVI output port
- 1 HDMI output port
- 2 LVDS LCD ports
- Gigabit Ethernet
- Analog Audio
- CAN
- SATA
- NAND
- PCIE

This patch allows to boot up the module, configures the serial console,
the Ethernet adapter and the heartbeat led.

cm-fx6 is embedded inside the Utilite computer.

Signed-off-by: Valentin Raevsky <valentin@compulab.co.il>
Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx: add device tree support for Freescale imx50evk board
Greg Ungerer [Tue, 29 Oct 2013 05:15:57 +0000 (15:15 +1000)]
ARM: dts: imx: add device tree support for Freescale imx50evk board

Add device tree support for the Freescale IMX50EVk board based around the
IMX50 SoC. Supports UART, SPI flash, FEC ethernet and USB on this board.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx: add IMX50 SoC device tree
Greg Ungerer [Tue, 29 Oct 2013 05:15:56 +0000 (15:15 +1000)]
ARM: dts: imx: add IMX50 SoC device tree

Create device tree source for the Freescale IMX50 SoC. This was based on
the IMX53 source with changes made as necessary.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx: add device tree pin definitions for the IMX50
Greg Ungerer [Tue, 29 Oct 2013 05:15:55 +0000 (15:15 +1000)]
ARM: dts: imx: add device tree pin definitions for the IMX50

Add device tree pin function definitions for the Freescale IMX50 SoC.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx6q-arm2: enable USB OTG
Peter Chen [Mon, 28 Oct 2013 06:05:02 +0000 (14:05 +0800)]
ARM: dts: imx6q-arm2: enable USB OTG

Enable USB OTG controller at imx6q-arm2 board

Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: Add support for the cpuimx51 board from Eukrea and its baseboard.
Denis Carikli [Wed, 23 Oct 2013 09:09:53 +0000 (11:09 +0200)]
ARM: dts: Add support for the cpuimx51 board from Eukrea and its baseboard.

The following devices/functionalities were added:
 * Main and secondary UARTs.
 * i2c and the pcf8563 device.
 * Ethernet.
 * NAND.
 * The BP1 button.
 * The LED.
 * Watchdog
 * SD.

Cc: Rob Herring <rob.herring@calxeda.com>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Stephen Warren <swarren@wwwdotorg.org>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Cc: devicetree@vger.kernel.org
Cc: Sascha Hauer <kernel@pengutronix.de>
Cc: linux-arm-kernel@lists.infradead.org
Cc: Eric Bénard <eric@eukrea.com>
Signed-off-by: Denis Carikli <denis@eukrea.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx51.dtsi: Add some pinmux pins.
Denis Carikli [Wed, 23 Oct 2013 09:09:52 +0000 (11:09 +0200)]
ARM: dts: imx51.dtsi: Add some pinmux pins.

Cc: Rob Herring <rob.herring@calxeda.com>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Stephen Warren <swarren@wwwdotorg.org>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Cc: devicetree@vger.kernel.org
Cc: Sascha Hauer <kernel@pengutronix.de>
Cc: linux-arm-kernel@lists.infradead.org
Cc: Eric Bénard <eric@eukrea.com>
Signed-off-by: Denis Carikli <denis@eukrea.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: imx25.dtsi: Add a label for the Audio Multiplexer.
Denis Carikli [Wed, 23 Oct 2013 08:29:34 +0000 (10:29 +0200)]
ARM: dts: imx25.dtsi: Add a label for the Audio Multiplexer.

Cc: Rob Herring <rob.herring@calxeda.com>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Stephen Warren <swarren@wwwdotorg.org>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Cc: devicetree@vger.kernel.org
Cc: Sascha Hauer <kernel@pengutronix.de>
Cc: linux-arm-kernel@lists.infradead.org
Cc: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Cc: Eric Bénard <eric@eukrea.com>
Signed-off-by: Denis Carikli <denis@eukrea.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: i.MX25: Add sdma script path.
Denis Carikli [Wed, 23 Oct 2013 08:29:33 +0000 (10:29 +0200)]
ARM: dts: i.MX25: Add sdma script path.

Cc: Rob Herring <rob.herring@calxeda.com>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Stephen Warren <swarren@wwwdotorg.org>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Cc: devicetree@vger.kernel.org
Cc: Sascha Hauer <kernel@pengutronix.de>
Cc: linux-arm-kernel@lists.infradead.org
Cc: Eric Bénard <eric@eukrea.com>
Signed-off-by: Denis Carikli <denis@eukrea.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: i.MX25: Add ssi clocks and DMA events.
Denis Carikli [Wed, 23 Oct 2013 08:29:32 +0000 (10:29 +0200)]
ARM: dts: i.MX25: Add ssi clocks and DMA events.

Cc: Rob Herring <rob.herring@calxeda.com>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Stephen Warren <swarren@wwwdotorg.org>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Cc: devicetree@vger.kernel.org
Cc: Sascha Hauer <kernel@pengutronix.de>
Cc: linux-arm-kernel@lists.infradead.org
Cc: Eric Bénard <eric@eukrea.com>
Signed-off-by: Denis Carikli <denis@eukrea.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoof: add vendor prefix for Eukrea Electromatique.
Denis Carikli [Wed, 23 Oct 2013 08:29:26 +0000 (10:29 +0200)]
of: add vendor prefix for Eukrea Electromatique.

Trivial patch to add Eukréa Electromatique to the list
of devicetree vendor prefixes.

Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Stephen Warren <swarren@wwwdotorg.org>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Cc: devicetree@vger.kernel.org
Cc: Sascha Hauer <kernel@pengutronix.de>
Cc: linux-arm-kernel@lists.infradead.org
Cc: Eric Bénard <eric@eukrea.com>
Signed-off-by: Denis Carikli <denis@eukrea.com>
Acked-by: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: mxs: add auart2 pinmux to imx28.dtsi
Aida Mynzhasova [Wed, 23 Oct 2013 06:58:57 +0000 (10:58 +0400)]
ARM: dts: mxs: add auart2 pinmux to imx28.dtsi

Add auart2 pins configuration on its main pads

Signed-off-by: Aida Mynzhasova <aida.mynzhasova@skitlab.ru>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: add Gateworks Ventana support
Tim Harvey [Wed, 23 Oct 2013 04:51:26 +0000 (21:51 -0700)]
ARM: dts: add Gateworks Ventana support

The Gateworks Ventana product family consists of several baseboard designs
based on the Freescale i.MX6 family of processors.  Each baseboard has a
different set of possible features.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: added several new imx-pinmux groups
Tim Harvey [Wed, 23 Oct 2013 04:51:25 +0000 (21:51 -0700)]
ARM: dts: added several new imx-pinmux groups

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: disable flexcan by default
Tim Harvey [Wed, 23 Oct 2013 04:51:27 +0000 (21:51 -0700)]
ARM: dts: disable flexcan by default

Typically nodes are disabled by default and enabled when needed.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: i.MX53: Internal keyboard controller
Rostislav Lisovy [Tue, 22 Oct 2013 17:07:21 +0000 (19:07 +0200)]
ARM: dts: i.MX53: Internal keyboard controller

Signed-off-by: Rostislav Lisovy <lisovy@gmail.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: dts: i.MX53: Add alternate pinmux option for i2c_3
Rostislav Lisovy [Tue, 22 Oct 2013 17:07:20 +0000 (19:07 +0200)]
ARM: dts: i.MX53: Add alternate pinmux option for i2c_3

Signed-off-by: Rostislav Lisovy <lisovy@gmail.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoMerge branch 'imx/soc' into imx/dt
Shawn Guo [Mon, 9 Dec 2013 05:29:00 +0000 (13:29 +0800)]
Merge branch 'imx/soc' into imx/dt

10 years agoMerge commit '31d610f' into imx/dt
Shawn Guo [Mon, 9 Dec 2013 05:20:37 +0000 (13:20 +0800)]
Merge commit '31d610f' into imx/dt

10 years agoARM: imx: pllv1: Fix PLL calculation for i.MX27
Alexander Shiyan [Sun, 10 Nov 2013 09:34:49 +0000 (13:34 +0400)]
ARM: imx: pllv1: Fix PLL calculation for i.MX27

MFN bit 9 on i.MX27 has a different meaning than in other SOCs. This
is a just sign bit. This patch makes different calculation for i.MX27.

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>
10 years agoARM i.MX5: fix "shift" value for lp_apm_sel on i.MX50 and i.MX53
Marc Kleine-Budde [Mon, 25 Nov 2013 17:03:57 +0000 (18:03 +0100)]
ARM i.MX5: fix "shift" value for lp_apm_sel on i.MX50 and i.MX53

According to the i.MX50 Rev. 1 and i.MX53 Rev. 2.1 datasheet the lp_apm_sel is
bit 10 in the CCM_CCSR register not bit 9. On the i.MX51 it's bit 9.

This patch fixes this issue.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: imx: imx53: Add SATA PHY clock
Marek Vasut [Fri, 22 Nov 2013 11:05:02 +0000 (12:05 +0100)]
ARM: imx: imx53: Add SATA PHY clock

Add SATA PHY clock which are derived from the USB PHY1 clock. Note that this
patch derives the SATA PHY clock from USB PHY1 clock gate so that the SATA
driver can ungate both the SATA PHY clock and USB PHY1 clock for the SATA to
work correctly.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Richard Zhu <r65037@freescale.com>
Cc: Tejun Heo <tj@kernel.org>
Cc: Linux-IDE <linux-ide@vger.kernel.org>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: imx_v6_v7_defconfig: Enable STMPE touchscreen
Marek Vasut [Sun, 17 Nov 2013 01:19:41 +0000 (02:19 +0100)]
ARM: imx_v6_v7_defconfig: Enable STMPE touchscreen

Enable STMPE touchscreen support as this is used on M53EVK.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: imx: rename IMX6SL_CLK_CLK_END to IMX6SL_CLK_END
Shawn Guo [Sat, 16 Nov 2013 14:33:16 +0000 (22:33 +0800)]
ARM: imx: rename IMX6SL_CLK_CLK_END to IMX6SL_CLK_END

The macro name IMX6SL_CLK_CLK_END is a little insane.  Rename it to
IMX6SL_CLK_END.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: imx: select PINCTRL at sub-architecure level
Shawn Guo [Sat, 16 Nov 2013 14:25:02 +0000 (22:25 +0800)]
ARM: imx: select PINCTRL at sub-architecure level

Instead of selecting PINCTRL on individual SoC, let's select it at IMX
sub-architecure level.

While at it, it also adds the missing PINCTRL_IMX50 selection for
SOC_IMX50.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: imx: clk: correct arm clock usecount
Anson Huang [Fri, 15 Nov 2013 18:14:18 +0000 (13:14 -0500)]
ARM: imx: clk: correct arm clock usecount

ARM clock is sourcing from pll1_sw, and pll1_sw can be either from
pll1_sys or step, so we should enable arm clock during clock
initialization instead of pll1_sys, otherwise, arm clock's usecount
would be incorrect and PLL1 will never be disabled even it is not
used.

Signed-off-by: Anson Huang <b20788@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoclk: imx5: introduce DT includes for clock provider
Lucas Stach [Thu, 14 Nov 2013 10:18:57 +0000 (11:18 +0100)]
clk: imx5: introduce DT includes for clock provider

Use clock defines in order to make devicetrees more
human readable.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: imx_v6_v7_defconfig: Select CONFIG_HIGHMEM
Fabio Estevam [Tue, 12 Nov 2013 22:39:12 +0000 (20:39 -0200)]
ARM: imx_v6_v7_defconfig: Select CONFIG_HIGHMEM

Booting a mx6q wandboard with 2GB of RAM we see the following on boot:

Booting Linux on physical CPU 0x0
Linux version 3.12.0-next-20131112+ (fabio@fabio-Latitude-E6410) (gcc version 43
CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine model: Wandboard i.MX6 Quad Board
Truncating RAM at 10000000-8fffffff to -7f7fffff (vmalloc region overlap)
...

Select CONFIG_HIGHMEM to avoid the vmalloc region overlap.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: imx27: enable pinctrl
Markus Pargmann [Tue, 12 Nov 2013 08:50:10 +0000 (09:50 +0100)]
ARM: imx27: enable pinctrl

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: imx: Add DMAMUX clock for Vybrid vf610 SoC
Jingchang Lu [Fri, 8 Nov 2013 10:01:53 +0000 (18:01 +0800)]
ARM: imx: Add DMAMUX clock for Vybrid vf610 SoC

Signed-off-by: Jingchang Lu <b35083@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: i.MX5x: Add SAHARA clock for i.MX5x CPUs
Alexander Shiyan [Fri, 8 Nov 2013 09:00:22 +0000 (13:00 +0400)]
ARM: i.MX5x: Add SAHARA clock for i.MX5x CPUs

Patch adds missing Security Accelerator (SAHARA) clock for i.MX5x CPUs.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM i.MX25: build in pinctrl support.
Denis Carikli [Wed, 6 Nov 2013 08:52:18 +0000 (09:52 +0100)]
ARM i.MX25: build in pinctrl support.

Cc: Rob Herring <rob.herring@calxeda.com>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Stephen Warren <swarren@wwwdotorg.org>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Cc: devicetree@vger.kernel.org
Cc: Sascha Hauer <kernel@pengutronix.de>
Cc: linux-arm-kernel@lists.infradead.org
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Eric Bénard <eric@eukrea.com>
Signed-off-by: Denis Carikli <denis@eukrea.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM i.MX53: remove duplicated include from clk-imx51-imx53.c
Wei Yongjun [Wed, 30 Oct 2013 05:38:34 +0000 (13:38 +0800)]
ARM i.MX53: remove duplicated include from clk-imx51-imx53.c

Remove duplicated include.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: imx: add support code for IMX50 based machines
Greg Ungerer [Mon, 4 Nov 2013 00:13:40 +0000 (10:13 +1000)]
ARM: imx: add support code for IMX50 based machines

Add machine support code for the Freescale IMX50 SoC.

The IMX50 is quite similar to the Freescale IMX53, and contains many of the
same periperhal hardware modules, at the same address offsets as the IMX53.
(Notable exceptions are that the IMX50 contains no CAN bus hardware, less
GPIO, no VPU, it does contain an Electrophoretic display controller though).

This support code uses some of the IMX53 setup code to reduce duplication
of what would be identical init IO setup.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
10 years agoARM: imx: drop support for irq priorisation
Uwe Kleine-König [Mon, 4 Nov 2013 08:17:02 +0000 (09:17 +0100)]
ARM: imx: drop support for irq priorisation

The code for irq priorisation support doesn't have any in-tree users and
the Kconfig description does wrong promises because nowadays irq
handlers are called with irqs disabled, so no high prioritized irq can
interrupt a lower prioritized handler.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>