platform/adaptation/renesas_rcar/renesas_kernel.git
11 years agoMerge branch 'next/dt-samsung-2' of git://git.kernel.org/pub/scm/linux/kernel/git...
Olof Johansson [Mon, 26 Nov 2012 08:06:23 +0000 (00:06 -0800)]
Merge branch 'next/dt-samsung-2' of git://git./linux/kernel/git/kgene/linux-samsung into next/dt

From Kukjin Kim:
Here is second Samsung DT stuff for v3.8.

This is including power domain DT support for exynos and Google ARM
Chromebook, Snow board and exynos4210-origen updates.

* 'next/dt-samsung-2' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung:
  ARM: dts: Use drive strength 3 for SD pins for exynos4
  ARM: dts: Set up power domains for exynos4
  ARM: EXYNOS: Bind devices to power domains using DT
  ARM: EXYNOS: Fix power domain name initialization
  ARM: EXYNOS: Detect power domain state on registration from DT
  ARM: dts: Add vmmc fixed voltage regulator for exynos4210-origen
  ARM: dts: Update sdhci nodes for current bindings for exynos4210-origen
  ARM: dts: Update for pinctrl-samsung driver for exynos4210-origen
  ARM: dts: Split memory sections for exynos4210-origen
  ARM: EXYNOS: add all i2c busses to auxdata for DT
  ARM: dts: Add aliases for i2c controller for exynos4
  ARM: dts: Add board dts file for Snow board (ARM Chromebook)
  ARM: dts: Move the dwmmc aliases from smdk5250 dts to exynos

Add/add conflicts resolved in arch/arm/boot/dts/exynos5250-smdk5250.dts
and arch/arm/mach-exynos/mach-exynos5-dt.c.

Signed-off-by: Olof Johansson <olof@lixom.net>
11 years agoMerge tag 'mxs-dt-3.8-2' of git://git.linaro.org/people/shawnguo/linux-2.6 into next/dt
Olof Johansson [Mon, 26 Nov 2012 07:26:53 +0000 (23:26 -0800)]
Merge tag 'mxs-dt-3.8-2' of git://git.linaro.org/people/shawnguo/linux-2.6 into next/dt

From Shawn Guo:
They are a few mxs dts updates coming a little bit late.  I'm sending
them as the second mxs/dt pull request for 3.8.  Please consider to
pull.

* tag 'mxs-dt-3.8-2' of git://git.linaro.org/people/shawnguo/linux-2.6:
  ARM: dts: mxs: add oled support for the cfa-10036
  ARM: mxs: Add SchulerControl SPS1 DTS file
  ARM: imx23-olinuxino: Add spi support

11 years agoARM: dts: mxs: add oled support for the cfa-10036
Maxime Ripard [Wed, 31 Oct 2012 09:12:54 +0000 (10:12 +0100)]
ARM: dts: mxs: add oled support for the cfa-10036

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Cc: Brian Lilly <brian@crystalfontz.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoMerge branch 'next/dt-samsung' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene...
Olof Johansson [Wed, 21 Nov 2012 19:30:32 +0000 (11:30 -0800)]
Merge branch 'next/dt-samsung' of git://git./linux/kernel/git/kgene/linux-samsung into next/dt

From Kukjin Kim:

Here is Samsung DT for v3.8 and this is including DT for EXYNOS4X12
SoC, SMDK4412 board, pinctrl for exynos4x12, TMU, MFC, SATA and SATA
PHY.

As I commented on [4/7], this branch merged pinctrl/samsung to support
pinctrl for exynos4x12 without useless merge conflicts.

* 'next/dt-samsung' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung: (32 commits)
  ARM: EXYNOS: DT Support for SATA and SATA PHY
  ARM: dts: Remove broken-voltage property from sdhci node for exynos4210-trats
  ARM: dts: Add node for touchscreen for exynos4210-trats
  ARM: dts: Add node for touchscreen voltage regulator for exynos4210-trats
  ARM: dts: Add node for i2c3 bus for exynos4210-trats
  ARM: dts: Add nodes for GPIO keys available on Trats
  ARM: dts: Update for pinctrl-samsung driver for exynos4210-trats
  ARM: dts: Add nodes for pin controllers for exynos4x12
  pinctrl: samsung: Add support for EXYNOS4X12
  gpio: samsung: Skip registration if pinctrl driver is present on EXYNOS4X12
  ARM: EXYNOS: Skip wakeup-int setup if pinctrl driver is used on EXYNOS4X12
  ARM: dts: add board dts file for EXYNOS4412 based SMDK board
  ARM: dts: Add support for EXYNOS4X12 SoCs
  ARM: EXYNOS: Add devicetree node for TMU driver for exynos5
  ARM: EXYNOS: Add devicetree node for TMU driver for exynos4
  ARM: EXYNOS: Add MFC device tree support
  ARM: dts: Enable serial controllers on Origen and SMDKV310
  Documentation: Update samsung-pinctrl device tree bindings documentation
  pinctrl: samsung: Add GPIO to IRQ translation
  pinctrl: exynos: Set pin function to EINT in irq_set_type of wake-up EINT
  ...

Add/add conflicts in:
arch/arm/boot/dts/exynos5250-smdk5250.dts
arch/arm/boot/dts/exynos5250.dtsi
arch/arm/mach-exynos/mach-exynos5-dt.c

Signed-off-by: Olof Johansson <olof@lixom.net>
11 years agoMerge branch 'next/hdmi-samsung' of git://git.kernel.org/pub/scm/linux/kernel/git...
Olof Johansson [Wed, 21 Nov 2012 18:11:58 +0000 (10:11 -0800)]
Merge branch 'next/hdmi-samsung' of git://git./linux/kernel/git/kgene/linux-samsung into next/dt

From Kukjin Kim:
This is for adding support for DT based exynos5250 hdmi and it adds
device node for hdmi, mixer, hdmiphy and hdmiddc.

* 'next/hdmi-samsung' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung:
  ARM: EXYNOS: removing exynos-drm device registration from non-dt platforms
  ARM: EXYNOS: add clocks for exynos5 hdmi
  ARM: dts: add device tree support for exynos5 hdmiddc
  ARM: dts: add device tree support for exynos5 hdmiphy
  ARM: dts: add device tree support for exynos5 mixer
  ARM: dts: add device tree support for exynos5 hdmi

11 years agoARM: dts: Use drive strength 3 for SD pins for exynos4
Tomasz Figa [Wed, 21 Nov 2012 15:29:47 +0000 (00:29 +0900)]
ARM: dts: Use drive strength 3 for SD pins for exynos4

This patch modifies pin control groups of SD pins on EXYNOS4210
and EXYNOS4X12 to use drive strength 3 as a default value which
corresponds to S5P_GPIO_DRVSTR_LV4 in legacy non-DT code.

This is needed at least on Origen board for sdhci2 to work and
if any other drive strength is required on each board, we can
overide it.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
[kgene.kim@samsung.com: edited commit message]
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: dts: Set up power domains for exynos4
Tomasz Figa [Wed, 21 Nov 2012 15:22:09 +0000 (00:22 +0900)]
ARM: dts: Set up power domains for exynos4

This patch adds device tree nodes for power domains available
on EXYNOS4 SoCs.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: EXYNOS: Bind devices to power domains using DT
Tomasz Figa [Wed, 21 Nov 2012 15:21:17 +0000 (00:21 +0900)]
ARM: EXYNOS: Bind devices to power domains using DT

This patch adds a way to specify bindings between devices and power
domains using device tree.

A device can be bound to particular power domain by adding a
power-domain property containing a phandle to the domain. The device
will be bound to the domain before binding a driver to it and unbound
after unbinding a driver from it.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: EXYNOS: Fix power domain name initialization
Tomasz Figa [Wed, 21 Nov 2012 15:21:12 +0000 (00:21 +0900)]
ARM: EXYNOS: Fix power domain name initialization

This patch adds initialization of name field in generic power domain
struct.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: EXYNOS: Detect power domain state on registration from DT
Tomasz Figa [Wed, 21 Nov 2012 15:21:08 +0000 (00:21 +0900)]
ARM: EXYNOS: Detect power domain state on registration from DT

Initial state of power domains might vary on different boards and with
different bootloaders.

This patch adds detection of initial state of power domains when being
registered from DT.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: dts: Add vmmc fixed voltage regulator for exynos4210-origen
Tomasz Figa [Wed, 21 Nov 2012 15:15:40 +0000 (00:15 +0900)]
ARM: dts: Add vmmc fixed voltage regulator for exynos4210-origen

This patch adds fixed voltage vmmc regulator to dts file of Origen
board.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: dts: Update sdhci nodes for current bindings for exynos4210-origen
Tomasz Figa [Wed, 21 Nov 2012 15:15:40 +0000 (00:15 +0900)]
ARM: dts: Update sdhci nodes for current bindings for exynos4210-origen

This patch modifies sdhci nodes present in Origen device tree source
to use current generic mmc bindings.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: dts: Update for pinctrl-samsung driver for exynos4210-origen
Tomasz Figa [Wed, 21 Nov 2012 15:15:40 +0000 (00:15 +0900)]
ARM: dts: Update for pinctrl-samsung driver for exynos4210-origen

This patch updates all parts of Origen dts related to pin configuration
to use new GPIO and pinctrl bindings, instead of (now unsupported on
Exynos4) legacy gpio-samsung bindings.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: dts: Split memory sections for exynos4210-origen
Tomasz Figa [Wed, 21 Nov 2012 15:15:40 +0000 (00:15 +0900)]
ARM: dts: Split memory sections for exynos4210-origen

This patch changes memory configuration defined in dts file of Origen
board from single 1 GiB section into four 256 MiB sections to match
section size limit.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: EXYNOS: add all i2c busses to auxdata for DT
Olof Johansson [Wed, 21 Nov 2012 04:45:52 +0000 (13:45 +0900)]
ARM: EXYNOS: add all i2c busses to auxdata for DT

Needed to match device ids for clocks, etc.

Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Doug Anderson <dianders@chromium.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: dts: Add aliases for i2c controller for exynos4
Doug Anderson [Wed, 21 Nov 2012 04:35:46 +0000 (13:35 +0900)]
ARM: dts: Add aliases for i2c controller for exynos4

This is similar to a recent commit for exynos5250 titled:
  ARM: EXYNOS: Add aliases for i2c controller

Adding aliases will be useful to prevent warnings in a future
change. See:
  i2c: s3c2410: Get the i2c bus number from alias id

Signed-off-by: Doug Anderson <dianders@chromium.org>
Acked-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoMerge branch 'ste-dt-for-next' of git://git.linaro.org/people/ljones/linux-3.0-ux500...
Olof Johansson [Wed, 21 Nov 2012 09:18:33 +0000 (01:18 -0800)]
Merge branch 'ste-dt-for-next' of git://git.linaro.org/people/ljones/linux-3.0-ux500 into next/dt

From Lee Jones. It's an update of the previous ux500/dt branch with a few more
patches:

* 'ste-dt-for-next' of git://git.linaro.org/people/ljones/linux-3.0-ux500:
  ARM: ux500: Describe UART platform registering issues more accurately
  ARM: ux500: Enable all MMC devices on the u9540 when booting with DT
  ARM: ux500: Enable SDI4 port on the u9540 when booting with Device Tree
  ARM: ux500: Add UART support to the u9540 Device Tree
  ARM: ux500: Add skeleton DTS file for the u9540
  ARM: ux500: Add SDI (MMC) support to the HREF Device Tree
  ARM: ux500: Move regulator-name properties out to board DTS files

Signed-off-by: Olof Johansson <olof@lixom.net>
11 years agoMerge tag 'lpc32xx-dts-for-3.7' of git://git.antcom.de/linux-2.6 into next/dt
Olof Johansson [Wed, 21 Nov 2012 08:51:49 +0000 (00:51 -0800)]
Merge tag 'lpc32xx-dts-for-3.7' of git://git.antcom.de/linux-2.6 into next/dt

From Roland Stigge:
DTS updates for the LPC32xx Soc for 3.7

This time, only one patch: Adding the motor PWM to lpc32xx.dtsi

* tag 'lpc32xx-dts-for-3.7' of git://git.antcom.de/linux-2.6:
  ARM: LPC32xx: Add the motor PWM to base dts file

Signed-off-by: Olof Johansson <olof@lixom.net>
11 years agoMerge tag 'tegra-for-3.8-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/swarren...
Olof Johansson [Wed, 21 Nov 2012 08:29:21 +0000 (00:29 -0800)]
Merge tag 'tegra-for-3.8-dt' of git://git./linux/kernel/git/swarren/linux-tegra into next/dt

From Stephen Warren:
ARM: tegra: device tree changes

A wide variety of device tree additions are made across many Tegra
boards:

* WiFi is supported on Seaboard, Ventana, and Cardhu.
* An I2C mux is added for Ventana, and Tamonten.
* SPI flash is added to Cardhu, and TrimSlice.
* Temperature sensors are added to Harmony, Tamonten, and Ventana.
* host1x (graphics/display controller) is added to the SoC include files.
* HDMI displays are enabled on Harmony, TrimSlice, Tamonten, Plutux, Tec,
  and Whistler.

This pull request is based on tegra-for-3.8-soc.

* tag 'tegra-for-3.8-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/swarren/linux-tegra: (47 commits)
  ARM: tegra: whistler: enable HDMI port
  ARM: tegra: tec: Enable HDMI output
  ARM: tegra: plutux: Enable HDMI output
  ARM: tegra: tamonten: Add host1x support
  ARM: tegra: trimslice: enable HDMI port
  ARM: tegra: harmony: enable HDMI port
  ARM: tegra: Add Tegra30 host1x support
  ARM: tegra: Add Tegra20 host1x support
  ARM: tegra: trimslice: enable SPI flash
  ARM: tegra: dts: add sflash controller dt entry
  ARM: tegra: ventana: Add NCT1008 temperature sensor
  ARM: tegra: tamonten: Add NCT1008 temperature sensor
  ARM: tegra: harmony: Add ADT7641 temperature sensor
  ARM: tegra: tec: Remove redundant DT properties
  ARM: tegra: tamonten: Add DDC/PTA pinmux
  ARM: tegra: dts: cardhu: enable SLINK4
  ARM: tegra: dts: add slink controller dt entry
  ARM: dt: tegra: ventana: define pinmux for ddc
  ARM: dt: t30 cardhu: set pinmux and power for wlan
  ARM: dt: t20 ventana: set pinmux and power for wlan
  ...

11 years agoMerge tag 'at91-for-next-dt' of git://github.com/at91linux/linux-at91 into next/dt
Olof Johansson [Wed, 21 Nov 2012 07:11:45 +0000 (23:11 -0800)]
Merge tag 'at91-for-next-dt' of git://github.com/at91linux/linux-at91 into next/dt

From Nicolas Ferre:
More DT material for AT91:

- conversion of watchdog to DT
- usart definition for evk-pro3 board

* tag 'at91-for-next-dt' of git://github.com/at91linux/linux-at91:
  ARM: at91/dts: evk-pro3: enable watchdog
  ARM: at91/dts: add at91sam9_wdt driver to at91sam926x, at91sam9g45
  watchdog: at91sam9_wdt: add device tree support
  ARM: at91: dt: evk-pro3: enable uart0 and uart2

11 years agoARM: dts: Add board dts file for Snow board (ARM Chromebook)
Doug Anderson [Wed, 21 Nov 2012 04:32:21 +0000 (13:32 +0900)]
ARM: dts: Add board dts file for Snow board (ARM Chromebook)

This dts file is based on the Snow dts file in the Chromium OS kernel
tree with the following changes:
* Some details have been updated to match the exynos5250-smdk5250.dts
  file from linux-next (as of c11068538994430547722dc9fb515a0ceefd5cb9).
* This file doesn't include references to hardware whose upstream
  support isn't quite there yet.  That includes most i2c devices.
  Note that most i2c busses have been included with no devices.

The Snow dts file is mostly just an include of the "cros5250" dts file
which describes a class of similar boards. Support for other boards has
not yet been send upstream.

With this file and a change to use UART3 for serial output I can:
* Boot to a command line using either SD or EMMC as a root filesystem
* See the power button and lid switch using evtest.

Signed-off-by: Doug Anderson <dianders@chromium.org>
Acked-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: dts: Move the dwmmc aliases from smdk5250 dts to exynos
Doug Anderson [Wed, 21 Nov 2012 04:31:32 +0000 (13:31 +0900)]
ARM: dts: Move the dwmmc aliases from smdk5250 dts to exynos

The aliases for dwmmc were placed in the SMDK5250 dts file but really
should be common for all exynos5250 boards.  Move it to the common CPU
file.

Signed-off-by: Doug Anderson <dianders@chromium.org>
Acked-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: ux500: Describe UART platform registering issues more accurately
Lee Jones [Sat, 3 Nov 2012 12:37:15 +0000 (13:37 +0100)]
ARM: ux500: Describe UART platform registering issues more accurately

UARTs no longer require call-back information, since the reset
call-back was removed in 43b5f0d69291374f602ad8e1817f329573a59010.
The only AUXDATA dependencies remaining for UARTs are DMA settings.

Acked-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
11 years agoARM: ux500: Enable all MMC devices on the u9540 when booting with DT
Lee Jones [Wed, 10 Oct 2012 08:38:26 +0000 (09:38 +0100)]
ARM: ux500: Enable all MMC devices on the u9540 when booting with DT

The u9540 supports 3 MMC devices. This patch enables two of them
and updates the configuration of the already enabled SDI4 port.

Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
11 years agoARM: ux500: Enable SDI4 port on the u9540 when booting with Device Tree
Lee Jones [Mon, 8 Oct 2012 13:09:05 +0000 (14:09 +0100)]
ARM: ux500: Enable SDI4 port on the u9540 when booting with Device Tree

Here we add the device node for the SDI4 (MMC) port to the u9540
Device Tree source file. This will allow successful probing of
the internal MMC storage device when booting with DT enabled.

Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
11 years agoARM: ux500: Add UART support to the u9540 Device Tree
Lee Jones [Mon, 8 Oct 2012 08:19:31 +0000 (09:19 +0100)]
ARM: ux500: Add UART support to the u9540 Device Tree

Add the 3 UART nodes required to enable serial ports on the u9540.

Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
11 years agoARM: ux500: Add skeleton DTS file for the u9540
Lee Jones [Mon, 8 Oct 2012 08:14:13 +0000 (09:14 +0100)]
ARM: ux500: Add skeleton DTS file for the u9540

This patch sees the creation of a sparse Device Tree file for
ST-Ericsson's latest development board supporting the latest
dual-core Cortex-a9 u9540 SoC.

Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
11 years agoARM: ux500: Add SDI (MMC) support to the HREF Device Tree
Lee Jones [Fri, 14 Sep 2012 14:27:41 +0000 (15:27 +0100)]
ARM: ux500: Add SDI (MMC) support to the HREF Device Tree

Here we add the Device Tree nodes which are required to successfully
probe the MMCI driver which will enable the four cards available on
ST-Ericsson's HREF hardware development platform.

Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
11 years agoARM: ux500: Move regulator-name properties out to board DTS files
Lee Jones [Tue, 25 Sep 2012 11:04:51 +0000 (12:04 +0100)]
ARM: ux500: Move regulator-name properties out to board DTS files

Regulator supply names should be allocated by board rather than
per SoC, as the same SoC could be wired differently on varying
hardware. Here we push all regulator-name allocation out to the
dbx5x0 subordinate board files; HREF and Snowball.

Requested-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
11 years agoARM: mxs: Add SchulerControl SPS1 DTS file
Marek Vasut [Sun, 18 Nov 2012 21:08:29 +0000 (22:08 +0100)]
ARM: mxs: Add SchulerControl SPS1 DTS file

Add DTS file for this custom board.

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: imx23-olinuxino: Add spi support
Fadil Berisha [Sat, 17 Nov 2012 21:52:32 +0000 (16:52 -0500)]
ARM: imx23-olinuxino: Add spi support

imx23-olinuxino board has spi pins exposed on external connector.
This patch add spi support.

Signed-off-by: Fadil Berisha <f.koliqi@gmail.com>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: EXYNOS: DT Support for SATA and SATA PHY
Vasanth Ananthan [Tue, 20 Nov 2012 12:02:11 +0000 (21:02 +0900)]
ARM: EXYNOS: DT Support for SATA and SATA PHY

This patch adds Device Nodes for SATA and SATA PHY device.

Signed-off-by: Vasanth Ananthan <vasanth.a@samsung.com>
[kgene.kim@samsung.com: removed address definitions as per comments]
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: dts: Remove broken-voltage property from sdhci node for exynos4210-trats
Tomasz Figa [Tue, 20 Nov 2012 11:17:20 +0000 (20:17 +0900)]
ARM: dts: Remove broken-voltage property from sdhci node for exynos4210-trats

The broken voltage property has been replaced with auto detection based
on voltages available on vmmc voltage regulator, so there is no use for
it now.

This patch removes the now unused property from Trats Device Tree
sources.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: dts: Add node for touchscreen for exynos4210-trats
Tomasz Figa [Tue, 20 Nov 2012 07:26:18 +0000 (16:26 +0900)]
ARM: dts: Add node for touchscreen for exynos4210-trats

This patch adds a device tree node for the Melfas MMS114-controlled
touchscreen present on Samsung Trats board.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: dts: Add node for touchscreen voltage regulator for exynos4210-trats
Tomasz Figa [Tue, 20 Nov 2012 07:26:18 +0000 (16:26 +0900)]
ARM: dts: Add node for touchscreen voltage regulator for exynos4210-trats

This patch adds device tree node for a fixed voltage regulator used for
touchscreen on Samsung Trats board.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: dts: Add node for i2c3 bus for exynos4210-trats
Tomasz Figa [Tue, 20 Nov 2012 07:26:17 +0000 (16:26 +0900)]
ARM: dts: Add node for i2c3 bus for exynos4210-trats

This patch adds device tree node for i2c3 bus to device tree source
of Samsung Trats board. This bus is used by mms114 touchscreen
controller, for which support will be added in separate patch.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: dts: Add nodes for GPIO keys available on Trats
Tomasz Figa [Tue, 20 Nov 2012 07:26:17 +0000 (16:26 +0900)]
ARM: dts: Add nodes for GPIO keys available on Trats

This patch extends dts file of Samsung Trats board to add support for
available GPIO keys using gpio-keys driver.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: dts: Update for pinctrl-samsung driver for exynos4210-trats
Tomasz Figa [Tue, 20 Nov 2012 07:26:17 +0000 (16:26 +0900)]
ARM: dts: Update for pinctrl-samsung driver for exynos4210-trats

This patch updates all parts of Trats dts related to pin configuration
to use new GPIO and pinctrl bindings, instead of (now unsupported on
Exynos4) legacy gpio-samsung bindings.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoARM: davinci: move dtb targets to common location
Olof Johansson [Tue, 20 Nov 2012 06:25:59 +0000 (22:25 -0800)]
ARM: davinci: move dtb targets to common location

The dtb targets belong in arch/arm/boot/dts/Makefile now, so move the
newly added davinci targets there.

Signed-off-by: Olof Johansson <olof@lixom.net>
11 years agoMerge tag 'davinci-for-v3.8/dt' of git://gitorious.org/linux-davinci/linux-davinci...
Olof Johansson [Tue, 20 Nov 2012 06:24:44 +0000 (22:24 -0800)]
Merge tag 'davinci-for-v3.8/dt' of git://gitorious.org/linux-davinci/linux-davinci into next/dt

From Sekhar Nori:

These changes add DT boot support to DaVinci DA850
SoC.

* tag 'davinci-for-v3.8/dt' of git://gitorious.org/linux-davinci/linux-davinci:
  ARM: davinci: da850: generate dtbs for da850 boards
  ARM: davinci: add support for am1808 based EnBW CMC board
  ARM: davinci: da850 evm: add DT data
  ARM: davinci: da850: add SoC DT data
  ARM: davinci: da850: add DT boot support
  ARM: davinci: da8xx: add DA850 PRUSS support
  ARM: davinci: add platform hook to fetch the SRAM pool
  ARM: davinci: da850: changed SRAM allocator to shared ram.
  ARM: davinci: sram: switch from iotable to ioremapped regions
  uio: uio_pruss: replace private SRAM API with genalloc
  ARM: davinci: serial: provide API to initialze UART clocks
  ARM: davinci: convert platform code to use clk_prepare/clk_unprepare

Signed-off-by: Olof Johansson <olof@lixom.net>
11 years agoMerge branch 'next/dt-exynos4x12' into next/dt-samsung
Kukjin Kim [Mon, 19 Nov 2012 04:18:47 +0000 (13:18 +0900)]
Merge branch 'next/dt-exynos4x12' into next/dt-samsung

Conflicts:
arch/arm/boot/dts/exynos4210.dtsi

11 years agoARM: dts: Add nodes for pin controllers for exynos4x12
Tomasz Figa [Tue, 6 Nov 2012 23:50:40 +0000 (08:50 +0900)]
ARM: dts: Add nodes for pin controllers for exynos4x12

This patch adds nodes for pin controllers available on
EXYNOS4X12 SoCs supported by pinctrl-samsung driver.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Thomas Abraham <thomas.abraham@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoMerge branch 'next/pinctrl-samsung' into next/dt-exynos4x12
Kukjin Kim [Mon, 19 Nov 2012 01:03:02 +0000 (10:03 +0900)]
Merge branch 'next/pinctrl-samsung' into next/dt-exynos4x12

11 years agopinctrl: samsung: Add support for EXYNOS4X12
Tomasz Figa [Tue, 6 Nov 2012 23:44:59 +0000 (08:44 +0900)]
pinctrl: samsung: Add support for EXYNOS4X12

This patch extends the driver with any necessary SoC-specific
definitions to support EXYNOS4X12 SoCs.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Thomas Abraham <thomas.abraham@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
11 years agoMerge remote-tracking branch 'pinctrl/samsung' into next/pinctrl-samsung
Kukjin Kim [Mon, 19 Nov 2012 01:00:41 +0000 (10:00 +0900)]
Merge remote-tracking branch 'pinctrl/samsung' into next/pinctrl-samsung

11 years agoARM: tegra: whistler: enable HDMI port
Stephen Warren [Fri, 16 Nov 2012 17:53:04 +0000 (10:53 -0700)]
ARM: tegra: whistler: enable HDMI port

Enable host1x, and the HDMI output. Whistler also has a DSI-based LCD,
and a VGA output. tegradrm doesn't support either of those output types
yet.

Based on work by Thierry Reding for TrimSlice.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
11 years agoMerge tag 'imx-dt-3.8' of git://git.linaro.org/people/shawnguo/linux-2.6 into next/dt
Arnd Bergmann [Fri, 16 Nov 2012 16:57:23 +0000 (17:57 +0100)]
Merge tag 'imx-dt-3.8' of git://git.linaro.org/people/shawnguo/linux-2.6 into next/dt

From Shawn Guo <shawn.guo@linaro.org>:
It's based on imx/multiplatform branch.  Most of them are dts changes.
There are also a few imx6 improvement patches in there.

* tag 'imx-dt-3.8' of git://git.linaro.org/people/shawnguo/linux-2.6:
  ARM: imx6q: select ARM and PL310 errata
  ARM: imx6q: print silicon version on boot
  ARM i.MX dts: Consistently add labels to devicenodes
  ARM: dts: imx6q-sabresd: add volume up/down gpio keys
  ARM: dts: imx53: pinctl update
  ARM: imx: enable cpufreq for imx6q
  ARM: dts: imx6q: enable snvs lp rtc
  ARM: dts: imx6q-sabreauto: Add basic support
  ARM: imx6q: let users input debug uart port number
  ARM: dts: imx53-qsb: Make DA9053 regulator functional
  ARM: dts: imx53-qsb: Use pinctrl for gpio-led
  ARM i.MX dtsi: Add default bus-width property for esdhc controller

Signed-off-by: Arnd Bregmann <arnd@arndb.de>
11 years agoMerge tag 'mxs-dt-3.8' of git://git.linaro.org/people/shawnguo/linux-2.6 into next/dt
Arnd Bergmann [Fri, 16 Nov 2012 16:55:01 +0000 (17:55 +0100)]
Merge tag 'mxs-dt-3.8' of git://git.linaro.org/people/shawnguo/linux-2.6 into next/dt

From Shawn Guo <shawn.guo@linaro.org>:
It's mxs device tree changes for 3.8.  The majority is device tree
source updates.  One timer improvement and one defconfig update are
also included there.

* tag 'mxs-dt-3.8' of git://git.linaro.org/people/shawnguo/linux-2.6:
  ARM: mxs_defconfig: Improve USB related support
  ARM: mxs: apf28dev: Add I2C and SPI support
  ARM: mxs: Setup scheduler clock
  ARM: dts: mxs: Add hog pins to Crystalfontz boards
  ARM: dts: cfa10036: Use pinctrl for power led
  ARM: mxs: apf28dev: Add LCD and backlight support
  ARM: mxs: apf28dev: Add pinctrl and gpios
  ARM: dts: mxs: Add 16 bits LCD screen muxing options for I.MX28
  ARM: dts: cfa10049: Add the DH2228FV DAC to the DTS
  ARM: mxs: Add support for the Armadeus Systems APF28Dev docking board
  ARM: mx28: Skip OCOTP FEC MAC setup if in DT
  ARM: dts: mxs: Add PWM3 muxing options for i.MX28
  ARM: mxs: Add support for the Armadeus Systems APF28 module
  ARM: dts: cfa10049: Add FEC to the CFA-10049 expansion board
  ARM: dts: imx23-olinuxino: Use pinctrl for gpio-led
  ARM: dts: imx23-olinuxino: Remove unneeded "default-on"
  ARM: dts: imx28-evk: Use pinctrl for gpio-led

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
11 years agoMerge branch 'arm-next' of git://git.xilinx.com/linux-xlnx into next/dt
Arnd Bergmann [Fri, 16 Nov 2012 16:47:11 +0000 (17:47 +0100)]
Merge branch 'arm-next' of git://git.xilinx.com/linux-xlnx into next/dt

From Michal Simek <michal.simek@xilinx.com>:

These are based on previous patches (arm-soc zynq/cleanup branch).
The branch is still based on rc3 but I have also tried to merged it
with the v3.7-rc5 and there is no issue.

* 'arm-next' of git://git.xilinx.com/linux-xlnx:
  ARM: zynq: add clk binding support to the ttc
  ARM: zynq: use zynq clk bindings
  clk: Add support for fundamental zynq clks
  ARM: zynq: dts: split up device tree
  ARM: zynq: Allow UART1 to be used as DEBUG_LL console.
  ARM: zynq: dts: add description of the second uart
  ARM: zynq: move arm-specific sys_timer out of ttc
  zynq: move static peripheral mappings
  zynq: remove use of CLKDEV_LOOKUP
  zynq: use pl310 device tree bindings
  zynq: use GIC device tree bindings

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
11 years agoARM: tegra: tec: Enable HDMI output
Thierry Reding [Fri, 16 Nov 2012 15:56:52 +0000 (16:56 +0100)]
ARM: tegra: tec: Enable HDMI output

Enable the HDMI output found on Tamonten Evaluation Carrier boards.

Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
11 years agoARM: tegra: plutux: Enable HDMI output
Thierry Reding [Fri, 16 Nov 2012 15:56:51 +0000 (16:56 +0100)]
ARM: tegra: plutux: Enable HDMI output

Enable the HDMI output found on Plutux boards.

Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
11 years agoARM: tegra: tamonten: Add host1x support
Thierry Reding [Fri, 16 Nov 2012 15:56:50 +0000 (16:56 +0100)]
ARM: tegra: tamonten: Add host1x support

Hook up the required regulators, I2C DDC adapter and hotplug detect GPIO
to the Tamonten HDMI output. Carrier boards still need to explicitly
enable the output to use it.

Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
11 years agoARM: tegra: trimslice: enable HDMI port
Thierry Reding [Thu, 20 Sep 2012 08:39:20 +0000 (10:39 +0200)]
ARM: tegra: trimslice: enable HDMI port

Enable host1x, and the HDMI output. Harmony also has a DVI port with an
HDMI form-factor connector, driven by Tegra's LVDS output. This isn't
enabled yet, due to potential issues with having multiple outputs enabled.

Correct DDC I2C frequency to 100KHz.

Add dummy/fixed regulators to satisfy the HDMI driver.

Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
[swarren: add commit description, remove enable of DVI port]
Signed-off-by: Stephen Warren <swarren@nvidia.com>
11 years agoARM: tegra: harmony: enable HDMI port
Stephen Warren [Fri, 9 Nov 2012 23:58:11 +0000 (16:58 -0700)]
ARM: tegra: harmony: enable HDMI port

Enable host1x, and the HDMI output. Harmony also has an optional LCD,
and a VGA output. The former isn't enabled due to potential issues with
having multiple outputs enabled. The latter isn't enabled since the
driver doesn't support VGA yet anyway.

Correct DDC I2C frequency to 100KHz.

Based on work by Thierry Reding for TrimSlice.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
11 years agoMerge tag 'imx-dt' of git://git.pengutronix.de/git/imx/linux-2.6 into next/dt
Arnd Bergmann [Fri, 16 Nov 2012 16:11:46 +0000 (17:11 +0100)]
Merge tag 'imx-dt' of git://git.pengutronix.de/git/imx/linux-2.6 into next/dt

From Sascha Hauer <s.hauer@pengutronix.de>:

ARM i.MX dt updates for 3.8

* tag 'imx-dt' of git://git.pengutronix.de/git/imx/linux-2.6:
  Add device tree file for the armadeus apf27
  ARM i.MX: Add Ka-Ro TX25 devicetree
  ARM i.MX25: Add devicetree
  ARM i.MX25: Add devicetree support
  ARM i.MX25: Add missing clock gates

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
11 years agoARM: at91/dts: evk-pro3: enable watchdog
Fabio Porcedda [Mon, 12 Nov 2012 08:37:27 +0000 (09:37 +0100)]
ARM: at91/dts: evk-pro3: enable watchdog

Tested on evk-pro3.

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
11 years agoARM: at91/dts: add at91sam9_wdt driver to at91sam926x, at91sam9g45
Fabio Porcedda [Mon, 12 Nov 2012 08:37:26 +0000 (09:37 +0100)]
ARM: at91/dts: add at91sam9_wdt driver to at91sam926x, at91sam9g45

Tested on an at91sam9260 board (evk-pro3).

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
11 years agowatchdog: at91sam9_wdt: add device tree support
Fabio Porcedda [Mon, 12 Nov 2012 08:37:25 +0000 (09:37 +0100)]
watchdog: at91sam9_wdt: add device tree support

Tested on an at91sam9260 board (evk-pro3)

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
11 years agoARM: at91: dt: evk-pro3: enable uart0 and uart2
Fabio Porcedda [Mon, 12 Nov 2012 08:09:29 +0000 (09:09 +0100)]
ARM: at91: dt: evk-pro3: enable uart0 and uart2

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
11 years agoAdd device tree file for the armadeus apf27
Philippe Reynes [Mon, 12 Nov 2012 20:28:33 +0000 (21:28 +0100)]
Add device tree file for the armadeus apf27

Signed-off-by: Philippe Reynes <tremyfr@yahoo.fr>
Signed-off-by: Eric Jarrige <eric.jarrige@armadeus.org>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
11 years agoARM: mxs_defconfig: Improve USB related support
Fabio Estevam [Sun, 7 Oct 2012 17:16:23 +0000 (14:16 -0300)]
ARM: mxs_defconfig: Improve USB related support

Select the following USB related options:

- USB Ethernet adapter (needed for mx23-olinuxino)
- Native language support (needed for mounting USB pen drives, for example)

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: imx6q: select ARM and PL310 errata
Shawn Guo [Tue, 23 Oct 2012 11:44:34 +0000 (19:44 +0800)]
ARM: imx6q: select ARM and PL310 errata

ARM core r2p10 and PL310 r3p2 are integrated on imx6q.  Select
corresponding errata.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: imx6q: print silicon version on boot
Shawn Guo [Tue, 23 Oct 2012 11:00:39 +0000 (19:00 +0800)]
ARM: imx6q: print silicon version on boot

i.MX6Q has 3 revisions 1.0, 1.1 and 1.2.  Print revision on boot.

Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
[drew: add proper error checking for function imx6q_revision()]
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM i.MX dts: Consistently add labels to devicenodes
Sascha Hauer [Thu, 15 Nov 2012 08:31:52 +0000 (09:31 +0100)]
ARM i.MX dts: Consistently add labels to devicenodes

Having labels before each node allows board bindings to reference
to nodes by using the &nodename {} notation. This way boards do not
have to resemble the whole devicetree layout. Due to less indention
needed the board files also get better readability. Since the label
make the documentation behind the nodes unnecessary it is removed.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: dts: imx6q-sabresd: add volume up/down gpio keys
Liu Ying [Mon, 12 Nov 2012 08:26:18 +0000 (16:26 +0800)]
ARM: dts: imx6q-sabresd: add volume up/down gpio keys

Add volume up/down gpio keys support in imx6q-sabresd.dts.

Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: dts: imx53: pinctl update
Roland Stigge [Thu, 25 Oct 2012 11:26:39 +0000 (13:26 +0200)]
ARM: dts: imx53: pinctl update

This patch supplements pinctl support on i.MX53.

Signed-off-by: Roland Stigge <stigge@antcom.de>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: imx: enable cpufreq for imx6q
Shawn Guo [Thu, 19 Jul 2012 15:16:30 +0000 (23:16 +0800)]
ARM: imx: enable cpufreq for imx6q

It enables cpufreq support for imx6q with generic cpufreq-cpu0 driver.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: dts: imx6q: enable snvs lp rtc
Shawn Guo [Mon, 2 Jul 2012 12:13:03 +0000 (20:13 +0800)]
ARM: dts: imx6q: enable snvs lp rtc

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: dts: imx6q-sabreauto: Add basic support
Fabio Estevam [Sun, 7 Oct 2012 17:12:49 +0000 (14:12 -0300)]
ARM: dts: imx6q-sabreauto: Add basic support

mx6qsabreauto is a board based on mx6q SoC with the following features:
- 2GB of DDR3
- 2 USB ports
- 1 HDMI output port
- SPI NOR
- 2 LVDS LCD ports
- Gigabit Ethernet
- Camera
- eMMC and SD card slot
- Multichannel Audio
- CAN
- SATA
- NAND
- PCIE
- Video Input

Add very basic support for it.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: imx6q: let users input debug uart port number
Shawn Guo [Mon, 8 Oct 2012 05:44:29 +0000 (13:44 +0800)]
ARM: imx6q: let users input debug uart port number

imx6q gets 5 uart ports in total.  Different board design may choose
different port as debug uart.  For example, imx6q-sabresd uses UART1,
imx6q-sabrelite uses UART2 and imx6q-arm2 uses UART4.  Rather than
bloating DEBUG_LL choice list with all these uart ports, the patch
introduces DEBUG_IMX6Q_UART_PORT for users to input uart port number
when DEBUG_IMX6Q_UART is selected inside DEBUG_LL choice.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: dts: imx53-qsb: Make DA9053 regulator functional
Fabio Estevam [Wed, 26 Sep 2012 23:27:36 +0000 (20:27 -0300)]
ARM: dts: imx53-qsb: Make DA9053 regulator functional

Setup the GPIO7_11 pin as interrupt to the DA9053 and also rename the regulator nodes
so that they match with the datasheet.

This allows probing of DA9053 to succeed.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: dts: imx53-qsb: Use pinctrl for gpio-led
Fabio Estevam [Wed, 26 Sep 2012 23:27:35 +0000 (20:27 -0300)]
ARM: dts: imx53-qsb: Use pinctrl for gpio-led

Since commit 8fe4554f (leds: leds-gpio: adopt pinctrl support) gpio-led driver
has pinctrl support, so setup the gpio led pin via pinctrl and avoid the
following warning:

leds-gpio leds.2: pins are not configured from the driver

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM i.MX dtsi: Add default bus-width property for esdhc controller
Sascha Hauer [Tue, 25 Sep 2012 09:49:33 +0000 (11:49 +0200)]
ARM i.MX dtsi: Add default bus-width property for esdhc controller

According to Documentation/devicetree/bindings/mmc/mmc.txt bus-width
is a mandatory property. While this is currently enforced nowhere, it's
a good habit to just add the property now to allow to add common helper
functionality for the mmc property parsing later.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
11 years agoARM: tegra: Add Tegra30 host1x support
Thierry Reding [Thu, 15 Nov 2012 21:07:57 +0000 (22:07 +0100)]
ARM: tegra: Add Tegra30 host1x support

Add the host1x node along with its children to the Tegra30 DTSI. Board-
specific DTS files are expected to enable the available outputs and
complement the device tree with data specific to the hardware.

Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
11 years agoARM: tegra: Add Tegra20 host1x support
Thierry Reding [Thu, 15 Nov 2012 21:07:54 +0000 (22:07 +0100)]
ARM: tegra: Add Tegra20 host1x support

Add the host1x node along with its children to the Tegra20 DTSI. Board-
specific DTS files are expected to enable the available outputs and
complement the device tree with data specific to the hardware.

Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
11 years agoARM: tegra: trimslice: enable SPI flash
Stephen Warren [Mon, 12 Nov 2012 19:51:22 +0000 (12:51 -0700)]
ARM: tegra: trimslice: enable SPI flash

TrimSlice contains a 1MiB SPI flash. Represent this in the device tree.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
11 years agoARM: tegra: dts: add sflash controller dt entry
Laxman Dewangan [Tue, 13 Nov 2012 05:03:39 +0000 (10:33 +0530)]
ARM: tegra: dts: add sflash controller dt entry

Nvidia's Tegra20 have the SPI (SFLASH) controller to
interface with spi flash device which is used for system
boot. Add DT entry for this controller.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
[swarren: move sflash node to keep file sorted]
Signed-off-by: Stephen Warren <swarren@nvidia.com>
11 years agoARM: tegra: ventana: Add NCT1008 temperature sensor
Thierry Reding [Fri, 9 Nov 2012 22:01:21 +0000 (23:01 +0100)]
ARM: tegra: ventana: Add NCT1008 temperature sensor

The Harmony board has an ON Semiconductors NCT1008 temperature sensor
connected to the DVC bus. It can be used to monitor the ambient (local)
and on-die (remote) temperatures.

Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Tested-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
11 years agoARM: tegra: tamonten: Add NCT1008 temperature sensor
Thierry Reding [Fri, 9 Nov 2012 22:00:08 +0000 (23:00 +0100)]
ARM: tegra: tamonten: Add NCT1008 temperature sensor

The Tamonten SOM has an ON Semiconductor NCT1008 connected to the DVC
bus which is used to measure the ambient (local) temperature as well as
the on-die (remote) temperature.

Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
11 years agoARM: tegra: harmony: Add ADT7641 temperature sensor
Thierry Reding [Fri, 9 Nov 2012 21:58:43 +0000 (22:58 +0100)]
ARM: tegra: harmony: Add ADT7641 temperature sensor

The Harmony board has an Analog Devices ADT7461 temperature sensor
connected to the DVC bus. It can be used to monitor the ambient (local)
and on-die (remote) temperatures.

Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Tested-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
11 years agoARM: tegra: tec: Remove redundant DT properties
Thierry Reding [Fri, 9 Nov 2012 13:04:51 +0000 (14:04 +0100)]
ARM: tegra: tec: Remove redundant DT properties

These properties are already set by the tegra20-tamonten.dtsi, so they
don't need to be repeated.

Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
11 years agoARM: tegra: tamonten: Add DDC/PTA pinmux
Thierry Reding [Fri, 9 Nov 2012 13:04:50 +0000 (14:04 +0100)]
ARM: tegra: tamonten: Add DDC/PTA pinmux

This commit allows the I2C2 controller on Tegra20 to be routed either to
the DDC or the PTA pin group at runtime. On Tamonten this allows the I2C
bus to be used for the DDC of the HDMI connector or to access I2C chips
on the carrier board.

Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
11 years agoARM: tegra: dts: cardhu: enable SLINK4
Laxman Dewangan [Wed, 31 Oct 2012 09:02:54 +0000 (14:32 +0530)]
ARM: tegra: dts: cardhu: enable SLINK4

Enable SLINK4 and connected device in Tegra30 based
platform Cardhu.
Setting maximum spi frequency to 25MHz.

SPI serial flash is connected on CS1 of SLINK4 on
cardhu platform.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
[swarren: swapped reg/compatible order to be consistent]
Signed-off-by: Stephen Warren <swarren@nvidia.com>
11 years agoARM: tegra: dts: add slink controller dt entry
Laxman Dewangan [Tue, 30 Oct 2012 07:05:23 +0000 (12:35 +0530)]
ARM: tegra: dts: add slink controller dt entry

Add slink controller details in the dts file of
Tegra20 and Tegra30.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
11 years agoARM: dt: tegra: ventana: define pinmux for ddc
Mark Zhang [Thu, 25 Oct 2012 06:52:30 +0000 (14:52 +0800)]
ARM: dt: tegra: ventana: define pinmux for ddc

Tegra 2's I2C2 controller can be routed to either the PTA
or DDC pin group on Ventana. So:
- Remove the HDMI function definition of pta pingroup
- Define child i2c adapters(ddc & pta) for I2C2 controller

Signed-off-by: Mark Zhang <markz@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
11 years agoARM: dt: t30 cardhu: set pinmux and power for wlan
Wei Ni [Fri, 21 Sep 2012 08:54:59 +0000 (16:54 +0800)]
ARM: dt: t30 cardhu: set pinmux and power for wlan

Configure pinmux as required for WiFi.
Enable the SDHCI1 controller for a02 and a04 board, which is connected to the
WiFi module.
For now, always enable the regulator that provides power to the Wifi module.

Signed-off-by: Wei Ni <wni@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
11 years agoARM: dt: t20 ventana: set pinmux and power for wlan
Wei Ni [Fri, 21 Sep 2012 08:54:58 +0000 (16:54 +0800)]
ARM: dt: t20 ventana: set pinmux and power for wlan

Configure pinmux as required for WiFi.
Enable the SDHCI1 controller, which is connectted to the WiFi module.

Signed-off-by: Wei Ni <wni@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
11 years agoARM: dt: t20 seaboard: turn on the power for wlan
Wei Ni [Fri, 21 Sep 2012 08:54:57 +0000 (16:54 +0800)]
ARM: dt: t20 seaboard: turn on the power for wlan

Enable the SDHCI1 controller. This is connected to the WiFi module.

Signed-off-by: Wei Ni <wni@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
11 years agoARM: tegra: Add Tegra30 host1x clock support
Thierry Reding [Thu, 15 Nov 2012 21:07:59 +0000 (22:07 +0100)]
ARM: tegra: Add Tegra30 host1x clock support

Setup the clock parents for the two display controllers and HDMI.

Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
11 years agoARM: tegra: Add AUXDATA for Tegra30 host1x
Thierry Reding [Thu, 15 Nov 2012 21:07:58 +0000 (22:07 +0100)]
ARM: tegra: Add AUXDATA for Tegra30 host1x

Add the OF_DEV_AUXDATA table entries required to associate the proper
names with host1x and its children. In turn, this allows the devices to
find the required clocks.

Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
11 years agoARM: tegra: Add Tegra20 host1x clock support
Thierry Reding [Thu, 15 Nov 2012 21:07:56 +0000 (22:07 +0100)]
ARM: tegra: Add Tegra20 host1x clock support

Extend the pll_d frequency table with a few entries to support common
HDMI and LVDS display modes and setup the clock parents for the two
display controllers and HDMI.

Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
11 years agoARM: tegra: Add AUXDATA for Tegra20 host1x
Thierry Reding [Thu, 15 Nov 2012 21:07:55 +0000 (22:07 +0100)]
ARM: tegra: Add AUXDATA for Tegra20 host1x

Add the OF_DEV_AUXDATA table entries required to associate the proper
names with host1x and its children. In turn, this allows the devices to
find the required clocks.

Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
11 years agoARM: tegra: Tegra30 speedo-based process identification
Danny Huang [Thu, 15 Nov 2012 07:42:34 +0000 (15:42 +0800)]
ARM: tegra: Tegra30 speedo-based process identification

This patch adds speedo-based process identification support for Tegra30.

Signed-off-by: Danny Huang <dahuang@nvidia.com>
[swarren s/Tegra3/Tegra30/ in log print,
s/T30/Tegra30/ in commit description]
Signed-off-by: Stephen Warren <swarren@nvidia.com>
11 years agoARM: tegra: Add speedo-based process identification
Danny Huang [Thu, 15 Nov 2012 07:42:33 +0000 (15:42 +0800)]
ARM: tegra: Add speedo-based process identification

Detect CPU and core process ID by checking speedo corner tables.
This can provide a more accurate process ID.

Signed-off-by: Danny Huang <dahuang@nvidia.com>
[swarren s/Tegra2/Tegra20/ in log print]
Signed-off-by: Stephen Warren <swarren@nvidia.com>
11 years agoARM: tegra: flexible spare fuse read function
Danny Huang [Thu, 15 Nov 2012 07:42:32 +0000 (15:42 +0800)]
ARM: tegra: flexible spare fuse read function

Change the spare fuse base from a definition to a variable.
It provides flexibilty to read spare fuse on different chip.

Signed-off-by: Danny Huang <dahuang@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
11 years agoMerge branch 'omap/cleanup-prcm-part2' into next/dt
Arnd Bergmann [Thu, 15 Nov 2012 16:59:54 +0000 (17:59 +0100)]
Merge branch 'omap/cleanup-prcm-part2' into next/dt

This resolves a nontrivial conflict where the omap_prcm_restart
is removed in one branch but another use is added in another
branch.

Conflicts:
arch/arm/mach-omap2/cm33xx.c
arch/arm/mach-omap2/io.c
arch/arm/mach-omap2/prm_common.c

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
11 years agoMerge tag 'omap-for-v3.8/dt-signed' of git://git.kernel.org/pub/scm/linux/kernel...
Arnd Bergmann [Thu, 15 Nov 2012 16:10:24 +0000 (17:10 +0100)]
Merge tag 'omap-for-v3.8/dt-signed' of git://git./linux/kernel/git/tmlind/linux-omap into next/dt
From Tony Lindgren <tony@atomide.com>:

Device tree related changes for omaps updating the
various .dts files, and timer related changes to allow
configuring the timer via device tree.

* tag 'omap-for-v3.8/dt-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap: (48 commits)
  usb: musb: dsps: dt binding - add resources, example
  ARM: dts: omap4-sdp: Add pinmux configuration for HDMI
  ARM: dts: omap4-panda: Add pinmux configuration for HDMI
  ARM: dts: Makefile: Add the am335x-evmsk target in dtbs list
  ARM: dts: AM33XX: Add usbss node
  ARM: dts: AM33XX: Add push-buttons device tree data to am335x-evmsk
  ARM: dts: AM33XX: Add pinmux configuration for gpio-keys to EVMSK
  ARM: dts: AM33XX: Add user-leds device tree data to am335x-evmsk
  ARM: dts: AM33XX: Add pinmux configuration for gpio-leds to EVMSK
  ARM: dts: AM33XX: Add user-leds device tree data to am335x-bone
  ARM: dts: AM33XX: Add pinmux configuration for user-leds to BONE
  ARM: dts: AM33XX: Add volume-keys device tree data to am335x-evm
  ARM: dts: AM33XX: Add pinmux configuration for volume-keys to EVM
  ARM: dts: AM33XX: Add matrix keypad device tree data to am335x-evm
  ARM: dts: AM33XX: Add pinmux configuration for matrix keypad to EVM
  ARM: dts: omap5-evm: LPDDR2 memory device details for EVM
  ARM: dts: omap5: EMIF device tree data for OMAP5 boards
  ARM: dts: omap5-evm: Fix size of memory defined for EVM
  ARM: OMAP2+: Add device-tree support for 32kHz counter
  ARM: OMAP: Add DT support for timer driver
  ...

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
11 years agoMerge branch 'omap/headers4' into next/dt
Arnd Bergmann [Thu, 15 Nov 2012 16:09:41 +0000 (17:09 +0100)]
Merge branch 'omap/headers4' into next/dt

These changes are needed for the following omap DT changes

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
11 years agoARM: tegra: Implement 6395/1 for Tegra
Peter De Schrijver [Wed, 14 Nov 2012 14:27:23 +0000 (16:27 +0200)]
ARM: tegra: Implement 6395/1 for Tegra

This patch implements ARM linux patch 6395/1 for Tegra. See commit
1a8e41c "ARM: 6395/1: VExpress: Set bit 22 in the PL310 (cache
controller) AuxCtlr register" for details.

Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
[swarren: added commit subject for referenced patch]
Signed-off-by: Stephen Warren <swarren@nvidia.com>
11 years agoARM: zynq: add clk binding support to the ttc
Josh Cartwright [Wed, 31 Oct 2012 19:56:14 +0000 (13:56 -0600)]
ARM: zynq: add clk binding support to the ttc

Add support for retrieving TTC configuration from device tree.  This
includes the ability to pull information about the driving clocks from
the of_clk bindings.

Signed-off-by: Josh Cartwright <josh.cartwright@ni.com>
Acked-by: Michal Simek <michal.simek@xilinx.com>