platform/kernel/linux-rpi.git
10 years agoMerge tag 'samsung-dt' of http://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux...
Olof Johansson [Sun, 9 Mar 2014 18:30:49 +0000 (11:30 -0700)]
Merge tag 'samsung-dt' of git./linux/kernel/git/kgene/linux-samsung into next/dt

Samsung DT updates for v3.15 from Kukjin Kim:

For exynos4412
- update vdd_arm voltage range for odroidx board

For exynos5250
- add PMU sysreg node and update watchdog node
- re-organize RTC status
- add max77686 pmic node for smdk5250

For exynos5420
- add PMU sysreg, i2s, adma and watchdog nodes
- re-organize RTC status
- add fixed voltage regulators and regulator nodes
  for smdk5420
- add PMIC, GPIO based wake up key and vmmc-supply
  support for arndale-octa board

* tag 'samsung-dt' of http://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung:
  ARM: dts: Add vmmc-supply to MMC on arndale-octa board
  ARM: dts: Add wake up key to arndale-octa board
  ARM: dts: Add PMIC support to arndale-octa board
  ARM: dts: Add fixed voltage regulators to smdk5420
  ARM: dts: Add I2S nodes to exynos5420
  ARM: dts: Add ADMA node to exynos5420
  ARM: dts: Re-organize RTC status for exynos5250
  ARM: dts: Re-organize RTC status for exynos5420
  ARM: dts: Add regulator entries to smdk5420
  ARM: dts: add max77686 pmic node for smdk5250
  ARM: dts: update vdd_arm voltage range for exynos4412 based boards
  ARM: dts: update watchdog device nodes for exynos5250 and exynos5420
  ARM: dts: Add pmu sysreg node to exynos5250 and exynos5420

Signed-off-by: Olof Johansson <olof@lixom.net>
10 years agoMerge tag 'omap-for-v3.15/dt-signed' of git://git.kernel.org/pub/scm/linux/kernel...
Olof Johansson [Sun, 9 Mar 2014 07:19:06 +0000 (23:19 -0800)]
Merge tag 'omap-for-v3.15/dt-signed' of git://git./linux/kernel/git/tmlind/linux-omap into next/dt

OMAP device tree changes from Tony Lindgren:

Device tree related changes for omaps with minor code
changes also to platform data quirks that are still needed
for some features.

* tag 'omap-for-v3.15/dt-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap: (60 commits)
  ARM: dts: omap4+: Add DMM bindings
  ARM: dts: am43x-gp-evm: Add matrix gpio keys.
  ARM: dts: am43xx: add support for parallel NAND flash
  ARM: dts: AM33xx: updated default ECC scheme in nand-ecc-opt
  ARM: dts: am335x-evm: NAND: update MTD partition table
  ARM: OMAP2+: gpmc: update gpmc_hwecc_bch_capable() for new platforms and ECC schemes
  ARM: dts: omap3-gta04: Add bma180 accelerometer
  ARM: dts: omap3-gta04: Enable mmc2 for wifi
  ARM: dts: omap3-gta04: Add basic sound support
  ARM: dts: omap3-gta04: Add twl4030 charger
  ARM: dts: omap3-gta04: Add touchscreen properties
  ARM: dts: omap3-gta04: Add support for magnetometer
  ARM: dts: am437x-gp-evm: Enable gpio.
  ARM: dts: am437x-gp-evm: Add pwm backlight support.
  ARM: dts: am437x-gp-evm: Add gp dts.
  ARM: dts: am43x-epos-evm: Add SPI data.
  ARM: dts: am43x-epos-evm: Add I2C2 data.
  pinctrl: am43xx: dt-bindings: add MUX_MODE8
  ARM: dts: am43x-epos-evm: Add pwm backlight support.
  ARM: dts: am4372: Add pwm-cells property for ecap device.
  ...

10 years agoMerge tag 'for_3.15/dts_signed' of git://git.kernel.org/pub/scm/linux/kernel/git...
Tony Lindgren [Sun, 2 Mar 2014 22:22:03 +0000 (14:22 -0800)]
Merge tag 'for_3.15/dts_signed' of git://git./linux/kernel/git/bcousson/linux-omap-dt into omap-for-v3.15/dt

Add craneboard devices
Add more N900 devices
Add am43x-epos-evm and am437x-gp-evm devices
Add OMAP4 DMM devices

Conflicts:
arch/arm/boot/dts/am43x-epos-evm.dts
arch/arm/boot/dts/dra7.dtsi

10 years agoARM: dts: omap4+: Add DMM bindings
Archit Taneja [Tue, 17 Dec 2013 10:02:21 +0000 (15:32 +0530)]
ARM: dts: omap4+: Add DMM bindings

Add Dynamic Memory Manager (DMM) bindings for OMAP4 and OMAP5 and DRA7x devices.
DMM only requires address and irq information.

Add documentation for the DMM bindings.

Originally worked on by Andy Gross <andygro@gmail.com>

Cc: Andy Gross <andygro@gmail.com>
Signed-off-by: Archit Taneja <archit@ti.com>
Signed-off-by: Benoit Cousson <bcousson@baylibre.com>
10 years agoARM: dts: am43x-gp-evm: Add matrix gpio keys.
Sourav Poddar [Thu, 19 Dec 2013 12:33:41 +0000 (18:03 +0530)]
ARM: dts: am43x-gp-evm: Add matrix gpio keys.

Add gpio keys node for am43x gp evm.

Signed-off-by: Sourav Poddar <sourav.poddar@ti.com>
Signed-off-by: Benoit Cousson <bcousson@baylibre.com>
10 years agoARM: dts: am43xx: add support for parallel NAND flash
Pekon Gupta [Wed, 5 Feb 2014 13:28:34 +0000 (18:58 +0530)]
ARM: dts: am43xx: add support for parallel NAND flash

This patch:
 - enables GPMC h/w and ELM h/w engine for AM43xx devices (am4372.dtsi)
 - adds pinmux and DT node for Micron 4K-paged x8 NAND device (MT29F4G08AB)
   present on following boards:

   am43x-epos-evm:
On this board, NAND Flash control lines are muxed with QSPI, Thus only
        one of the two can be used at a time. Selection is controlled by:
        (a) dynamically driving following GPIO pin from software
            GPMC_A0(GPIO) == 0 NAND is selected (default)
            GPMC_A0(GPIO) == 1 eMMC is selected

Signed-off-by: Pekon Gupta <pekon@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoARM: dts: AM33xx: updated default ECC scheme in nand-ecc-opt
Pekon Gupta [Wed, 5 Feb 2014 13:28:32 +0000 (18:58 +0530)]
ARM: dts: AM33xx: updated default ECC scheme in nand-ecc-opt

This patch updated MTD/NAND DT node binding to replace deprecated bindings
as per following commit.
    commit ac65caf514ec3e55e8d3d510ee37f80dd97418fe
    ARM: OMAP2+: cleaned-up DT support of various ECC schemes
    Also Refer: Documentation/devicetree/bindings/mtd/gpmc-nand.txt

Reviewed-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Pekon Gupta <pekon@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoARM: dts: am335x-evm: NAND: update MTD partition table
Pekon Gupta [Wed, 5 Feb 2014 13:28:31 +0000 (18:58 +0530)]
ARM: dts: am335x-evm: NAND: update MTD partition table

This patch has following updates, specific to MTD/NAND DT
 - update MTD NAND partition table to keep compatibility between
   different boards and mainline u-boot.
 - prefix 'NAND.' in names of NAND device MTD partitions to differentiate them
   from other MTD device partitions (like NOR and QSPI)
               Partition_Name            Partition_Size
    /dev/mtd0  NAND.SPL                  1 block-size*
    /dev/mtd1  NAND.SPL.backup1          1 block-size*
    /dev/mtd2  NAND.SPL.backup2          1 block-size*
    /dev/mtd3  NAND.SPL.backup3          1 block-size*
    /dev/mtd5  NAND.u-boot-spl-os        2 block-size* [for falcon boot]
    /dev/mtd4  NAND.u-boot               1 MB
    /dev/mtd6  NAND.u-boot-env           1 block-size*
    /dev/mtd7  NAND.u-boot-env.backup1   1 block-size*
    /dev/mtd8  NAND.kernel               till 0xA00000
    /dev/mtd9  NAND.file-system          till end of device

* am335x-evm uses NAND device with block-size=128KiB

Signed-off-by: Pekon Gupta <pekon@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoARM: OMAP2+: gpmc: update gpmc_hwecc_bch_capable() for new platforms and ECC schemes
Pekon Gupta [Wed, 5 Feb 2014 13:28:30 +0000 (18:58 +0530)]
ARM: OMAP2+: gpmc: update gpmc_hwecc_bch_capable() for new platforms and ECC schemes

This patch
 - refactors gpmc_hwecc_bch_capable()
 - add checks for new platforms like dra7xx, am43xx
 - add checks for OMAP3 SoC, w.r.t. new ECC schemes spawned in following commit:
    commit ac65caf514ec3e55e8d3d510ee37f80dd97418fe
    ARM: OMAP2+: cleaned-up DT support of various ECC schemes

Signed-off-by: Pekon Gupta <pekon@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoARM: dts: omap3-gta04: Add bma180 accelerometer
NeilBrown [Sat, 1 Mar 2014 13:58:54 +0000 (14:58 +0100)]
ARM: dts: omap3-gta04: Add bma180 accelerometer

Add node for bma180 driver.

Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoARM: dts: omap3-gta04: Enable mmc2 for wifi
NeilBrown [Sat, 1 Mar 2014 13:58:53 +0000 (14:58 +0100)]
ARM: dts: omap3-gta04: Enable mmc2 for wifi

This requires vaux4.

Reset line isn't used yet, so wifi isn't reliable.
But it does work once per boot.

Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Marek Belisko <marek@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoARM: dts: omap3-gta04: Add basic sound support
NeilBrown [Sat, 1 Mar 2014 13:58:52 +0000 (14:58 +0100)]
ARM: dts: omap3-gta04: Add basic sound support

This adds basic sound support for gta04 board.

Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Marek Belisko <marek@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoARM: dts: omap3-gta04: Add twl4030 charger
NeilBrown [Sat, 1 Mar 2014 13:58:51 +0000 (14:58 +0100)]
ARM: dts: omap3-gta04: Add twl4030 charger

Define twl4030 charger node used for charging.

Signed-off-by: Marek Belisko <marek@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoARM: dts: omap3-gta04: Add touchscreen properties
Marek Belisko [Sat, 1 Mar 2014 13:58:50 +0000 (14:58 +0100)]
ARM: dts: omap3-gta04: Add touchscreen properties

Gta04 using tcs2007 touchscreen. Add support for that.

Signed-off-by: Marek Belisko <marek@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoARM: dts: omap3-gta04: Add support for magnetometer
NeilBrown [Sat, 1 Mar 2014 13:58:49 +0000 (14:58 +0100)]
ARM: dts: omap3-gta04: Add support for magnetometer

Add magnetometer hmc5843 node.

Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Marek Belisko <marek@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoARM: dts: am437x-gp-evm: Enable gpio.
Sourav Poddar [Thu, 19 Dec 2013 12:33:40 +0000 (18:03 +0530)]
ARM: dts: am437x-gp-evm: Enable gpio.

Enable gpio3, gpio4, it will be used by gpio matrix keys. Also,
can be used by othe peripherals.

Signed-off-by: Sourav Poddar <sourav.poddar@ti.com>
Signed-off-by: Benoit Cousson <bcousson@baylibre.com>
10 years agoARM: dts: am437x-gp-evm: Add pwm backlight support.
Sourav Poddar [Thu, 19 Dec 2013 12:33:39 +0000 (18:03 +0530)]
ARM: dts: am437x-gp-evm: Add pwm backlight support.

Add pwm backlight support for gp evm.

Signed-off-by: Sourav Poddar <sourav.poddar@ti.com>
Signed-off-by: Benoit Cousson <bcousson@baylibre.com>
10 years agoARM: dts: am437x-gp-evm: Add gp dts.
Lokesh Vutla [Thu, 19 Dec 2013 12:33:38 +0000 (18:03 +0530)]
ARM: dts: am437x-gp-evm: Add gp dts.

AM437x GP EVM DTS with pinmux information to make I2C on
EVM usable.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Sourav Poddar <sourav.poddar@ti.com>
Signed-off-by: Afzal Mohammed <afzal@ti.com>
Signed-off-by: Benoit Cousson <bcousson@baylibre.com>
10 years agoARM: dts: am43x-epos-evm: Add SPI data.
Sourav Poddar [Thu, 19 Dec 2013 12:33:37 +0000 (18:03 +0530)]
ARM: dts: am43x-epos-evm: Add SPI data.

Add SPI dts data.

Signed-off-by: Sourav Poddar <sourav.poddar@ti.com>
Signed-off-by: Benoit Cousson <bcousson@baylibre.com>
10 years agoARM: dts: am43x-epos-evm: Add I2C2 data.
Sourav Poddar [Thu, 19 Dec 2013 12:33:36 +0000 (18:03 +0530)]
ARM: dts: am43x-epos-evm: Add I2C2 data.

Add I2C2 dts data.

Signed-off-by: Sourav Poddar <sourav.poddar@ti.com>
Signed-off-by: Benoit Cousson <bcousson@baylibre.com>
10 years agopinctrl: am43xx: dt-bindings: add MUX_MODE8
Darren Etheridge [Thu, 19 Dec 2013 12:33:35 +0000 (18:03 +0530)]
pinctrl: am43xx: dt-bindings: add MUX_MODE8

AM43xx devices have an extra MUX_MODE for certain pins.
Updating dt include to have MUX_MODE8 which maps to 0x8.

Signed-off-by: Darren Etheridge <detheridge@ti.com>
Signed-off-by: Sourav Poddar <sourav.poddar@ti.com>
Signed-off-by: Benoit Cousson <bcousson@baylibre.com>
10 years agoARM: dts: am43x-epos-evm: Add pwm backlight support.
Sourav Poddar [Thu, 19 Dec 2013 12:33:34 +0000 (18:03 +0530)]
ARM: dts: am43x-epos-evm: Add pwm backlight support.

Add pwm backlight support for am43x epos evm.

Signed-off-by: Sourav Poddar <sourav.poddar@ti.com>
Signed-off-by: Benoit Cousson <bcousson@baylibre.com>
10 years agoARM: dts: am4372: Add pwm-cells property for ecap device.
Sourav Poddar [Thu, 19 Dec 2013 12:33:33 +0000 (18:03 +0530)]
ARM: dts: am4372: Add pwm-cells property for ecap device.

Add "pwm-cells" node for all ecap, ehrpwm in am43x dtsi files.

Signed-off-by: Sourav Poddar <sourav.poddar@ti.com>
Signed-off-by: Benoit Cousson <bcousson@baylibre.com>
10 years agoARM: dts: OMAP3-N900: Add bq24150a support
Sebastian Reichel [Sat, 11 Jan 2014 21:17:03 +0000 (22:17 +0100)]
ARM: dts: OMAP3-N900: Add bq24150a support

This adds support for the bq24150a chip to the
Nokia N900 DTS file.

Signed-off-by: Sebastian Reichel <sre@debian.org>
Signed-off-by: Benoit Cousson <bcousson@baylibre.com>
10 years agoARM: dts: OMAP3-N900: Add isp1704 support
Sebastian Reichel [Sat, 11 Jan 2014 21:17:02 +0000 (22:17 +0100)]
ARM: dts: OMAP3-N900: Add isp1704 support

This adds support for the isp1704 chip to the Nokia N900
DTS file.

Signed-off-by: Sebastian Reichel <sre@debian.org>
Signed-off-by: Benoit Cousson <bcousson@baylibre.com>
10 years agoARM: dts: OMAP3-N900: Add tpa6130a2 support
Sebastian Reichel [Sat, 11 Jan 2014 21:17:01 +0000 (22:17 +0100)]
ARM: dts: OMAP3-N900: Add tpa6130a2 support

This adds support for the N900's headphone
amplifier to the N900 DTS file.

Signed-off-by: Sebastian Reichel <sre@debian.org>
Signed-off-by: Benoit Cousson <bcousson@baylibre.com>
10 years agoARM: dts: OMAP3-N900: Add support for tsl2563
Sebastian Reichel [Sat, 11 Jan 2014 21:17:00 +0000 (22:17 +0100)]
ARM: dts: OMAP3-N900: Add support for tsl2563

Add support for tsl2563 light sensor to the Nokia N900.

Signed-off-by: Sebastian Reichel <sre@debian.org>
Signed-off-by: Benoit Cousson <bcousson@baylibre.com>
10 years agoARM: dts: OMAP3-N900: Add TWL4030 Keypad Matrix
Sebastian Reichel [Sat, 11 Jan 2014 21:16:59 +0000 (22:16 +0100)]
ARM: dts: OMAP3-N900: Add TWL4030 Keypad Matrix

Add Keyboard Matrix information to N900's DTS file.
This patch maps the keys exactly as the original
board code.

Signed-off-by: Sebastian Reichel <sre@debian.org>
Signed-off-by: Benoit Cousson <bcousson@baylibre.com>
10 years agoARM: dts: TWL4030: Add keypad node
Sebastian Reichel [Sat, 11 Jan 2014 21:16:58 +0000 (22:16 +0100)]
ARM: dts: TWL4030: Add keypad node

Add keypad node to twl4030, so that board DTS
files can just add the keymap.

Signed-off-by: Sebastian Reichel <sre@debian.org>
Signed-off-by: Benoit Cousson <bcousson@baylibre.com>
10 years agoARM: dts: omap3430-sdp: add dip switch information for MMC operation
Nishanth Menon [Mon, 6 Jan 2014 22:37:33 +0000 (16:37 -0600)]
ARM: dts: omap3430-sdp: add dip switch information for MMC operation

MMC 8 bit mode operation depends on dip switch setting which is not
obvious - The current board file has this description. However, with
removal of the board file in the future, this information will be lost
and has to be rediscovered.

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Benoit Cousson <bcousson@baylibre.com>
10 years agoARM: dts: Add basic devices for AM3517-craneboard
Nishanth Menon [Mon, 9 Dec 2013 21:55:50 +0000 (15:55 -0600)]
ARM: dts: Add basic devices for AM3517-craneboard

Craneboard is a hardware development platform based on the Sitara
AM3517 ARM Cortex - A8 microprocessor device - see [1] for more
details. Add basic devices for craneboard as replacement for the board
file scheduled for removal as part of device tree conversion

[1] http://craneboard.org

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Benoit Cousson <bcousson@baylibre.com>
10 years agoARM: dts: am335x-evmsk: enable USB1
Yegor Yefremov [Fri, 28 Feb 2014 07:19:04 +0000 (08:19 +0100)]
ARM: dts: am335x-evmsk: enable USB1

Enable second USB channel and set it into 'host' mode.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoarm: dts: am33xx.dtsi: Add node name to rtc device node
Stefan Roese [Wed, 5 Feb 2014 12:12:39 +0000 (13:12 +0100)]
arm: dts: am33xx.dtsi: Add node name to rtc device node

Making it possible to reference and therefor change (disable) this
device node from other dts file which import this dtsi file.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Lukas Stockmann <lukas.stockmann@siemens.com>
Cc: Benoit Cousson <bcousson@baylibre.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoARM: dts: AM33XX: Add ecap interrupt properties
Matt Porter [Wed, 29 Jan 2014 20:59:59 +0000 (15:59 -0500)]
ARM: dts: AM33XX: Add ecap interrupt properties

Add missing interrupt properties to the ecap0, ecap1, and ecap2
nodes.

Signed-off-by: Matt Porter <mporter@linaro.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoARM: dts: OMAP3+: add clock nodes for CPU
Nishanth Menon [Wed, 29 Jan 2014 18:19:17 +0000 (12:19 -0600)]
ARM: dts: OMAP3+: add clock nodes for CPU

OMAP34xx, AM3517 and OMAP36xx platforms use dpll1 clock.

OMAP443x, OMAP446x, OMAP447x, OMAP5, DRA7, AM43xx platforms use
dpll_mpu clock.

Latency used is the generic latency defined in omap-cpufreq
driver.

Signed-off-by: Nishanth Menon <nm@ti.com>
Acked-by: Acked-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoARM: dts: omap3: Add support for INCOstartec DBB056 baseboard
Christoph Fritz [Fri, 14 Feb 2014 14:20:54 +0000 (15:20 +0100)]
ARM: dts: omap3: Add support for INCOstartec DBB056 baseboard

INCOstartec LILLY-DBB056 is a carrier board (baseboard) for
computer-on-module LILLY-A83X.

This patch adds device-tree support for most of its features.

Signed-off-by: Christoph Fritz <chf.fritz@googlemail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoARM: dts: omap3: Add support for INCOstartec a83x module
Christoph Fritz [Fri, 14 Feb 2014 14:20:53 +0000 (15:20 +0100)]
ARM: dts: omap3: Add support for INCOstartec a83x module

INCOstartec LILLY-A83X module is a TI DM3730xx100 (OMAP3) SoC
computer-on-module.

This patch adds device tree support for most of its features.

Signed-off-by: Christoph Fritz <chf.fritz@googlemail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoARM: dts: am335x-evmsk: Correct audio clock frequency
Peter Ujfalusi [Fri, 24 Jan 2014 08:19:07 +0000 (10:19 +0200)]
ARM: dts: am335x-evmsk: Correct audio clock frequency

The clock for audio is sourced from virt_24000000_ck, so the correct
frequency is 24000000.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
CC: <stable@vger.kernel.org> # 3.13.x
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoARM: dts: omap2: Set disabled status for McBSP instances as default state
Peter Ujfalusi [Fri, 24 Jan 2014 08:19:06 +0000 (10:19 +0200)]
ARM: dts: omap2: Set disabled status for McBSP instances as default state

In omap2420.dtsi and omap2430.dtsi disable all mcbsp nodes and board dts
files can explicitly enable the mcbsp they are using.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoARM: dts: omap3: Set disabled status for McBSP instances as default state
Peter Ujfalusi [Fri, 24 Jan 2014 08:19:05 +0000 (10:19 +0200)]
ARM: dts: omap3: Set disabled status for McBSP instances as default state

In omap3.dtsi disable all mcbsp nodes and board dts files can explicitly
enable the mcbsp they are using.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoARM: dts: omap5: Set all audio related IP's status to disabled as default
Peter Ujfalusi [Fri, 24 Jan 2014 08:19:04 +0000 (10:19 +0200)]
ARM: dts: omap5: Set all audio related IP's status to disabled as default

Board dts files will need to enable the IP nodes which they are using and
does not have to care about the not used ones (to disable them).

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoARM: dts: omap4-sdp: No need to disable mcbsp3 node
Peter Ujfalusi [Fri, 24 Jan 2014 08:19:03 +0000 (10:19 +0200)]
ARM: dts: omap4-sdp: No need to disable mcbsp3 node

All audio nodes has been set to disabled state in omap4.dtsi file.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoARM: dts: omap4-panda-common: No need to disable the unused audio nodes
Peter Ujfalusi [Fri, 24 Jan 2014 08:19:02 +0000 (10:19 +0200)]
ARM: dts: omap4-panda-common: No need to disable the unused audio nodes

All audio nodes has been set to disabled state in omap4.dtsi file.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoARM: dts: omap4: Set all audio related IP's status to disabled as default
Peter Ujfalusi [Fri, 24 Jan 2014 08:19:01 +0000 (10:19 +0200)]
ARM: dts: omap4: Set all audio related IP's status to disabled as default

Board dts files will need to enable the IP nodes which they are using and
does not have to care about the not used ones (to disable them).

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoARM: dts: omap4-sdp: Move audio related pinmux to respective nodes
Peter Ujfalusi [Fri, 24 Jan 2014 08:19:00 +0000 (10:19 +0200)]
ARM: dts: omap4-sdp: Move audio related pinmux to respective nodes

Attach the pinctrl nodes to their respective device node:
mcbsp1, mcbsp2, dmic, mcpdm and twl6040.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoARM: dts: omap4-panda-common: Move audio related pinmux to respective nodes
Peter Ujfalusi [Fri, 24 Jan 2014 08:18:59 +0000 (10:18 +0200)]
ARM: dts: omap4-panda-common: Move audio related pinmux to respective nodes

Attach the pinctrl nodes to their respective device node:
mcbsp1, mcpdm and twl6040.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoARM: dts: AM4372: Add hwspinlock node
Suman Anna [Tue, 14 Jan 2014 00:26:47 +0000 (18:26 -0600)]
ARM: dts: AM4372: Add hwspinlock node

Add the hwspinlock device tree node for AM43xx family
of SoCs.

Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoARM: dts: DRA7: Add hwspinlock node
Suman Anna [Tue, 14 Jan 2014 00:26:46 +0000 (18:26 -0600)]
ARM: dts: DRA7: Add hwspinlock node

Add the hwspinlock device tree node for DRA7 SoCs.

Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoARM: dts: OMAP: Add #hwlock-cells property to hwspinlock nodes
Suman Anna [Tue, 14 Jan 2014 00:26:45 +0000 (18:26 -0600)]
ARM: dts: OMAP: Add #hwlock-cells property to hwspinlock nodes

Add a new generic property "#hwlock-cells" to the hwspinlock
DT nodes on OMAP4, OMAP5 and AM33xx. This common property allows
different platform implementations to define the args specifier
length. OMAP implementations will always use a value of 1.

Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoARM: OMAP2+: make reset pulse for sbc-t3x usb hubs
Dmitry Lifshitz [Sun, 12 Jan 2014 13:22:55 +0000 (15:22 +0200)]
ARM: OMAP2+: make reset pulse for sbc-t3x usb hubs

sbc-t3x boards features two external USB ports on SB-T35 baseboard.
The baseboardi USB hub reset signal should be de-asserted to make
those ports functional.

sbc-t3517 features additional (assembled on CoM) USB hub which also
requires reset signal handling.

Add quirks code to handle proper reset pulse signal.

Signed-off-by: Dmitry Lifshitz <lifshitz@compulab.co.il>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoARM: dts: sbc-t3517: add support for sbc-t3517
Dmitry Lifshitz [Sun, 12 Jan 2014 13:22:54 +0000 (15:22 +0200)]
ARM: dts: sbc-t3517: add support for sbc-t3517

Add support for CM-T3517 CoM and SBC-T3517 board.

reused common support for sbc-t3x boards
(omap3-cm-t3x.dtsi, omap3-sb-t35.dtsi):

* SB-T35 baseboard eth
* MMC1, UART3
* HS USB Port 1/2
* I2C1/3
* Heartbit led

Added basic support for:

* MMC1 wp/cd signals
* CM-T3517 Usb Hub
* WL12xx WiFi chip
* Davinci EMAC
* AM35X OTG

Signed-off-by: Dmitry Lifshitz <lifshitz@compulab.co.il>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoARM: dts: sbc-t3530: add support for sbc-t3530
Dmitry Lifshitz [Sun, 12 Jan 2014 13:22:53 +0000 (15:22 +0200)]
ARM: dts: sbc-t3530: add support for sbc-t3530

Add support for CM-T3530 CoM and SBC-T3530 board.

Signed-off-by: Dmitry Lifshitz <lifshitz@compulab.co.il>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoARM: dts: cm-t3x30: add USB OTG support
Dmitry Lifshitz [Sun, 12 Jan 2014 13:22:52 +0000 (15:22 +0200)]
ARM: dts: cm-t3x30: add USB OTG support

Add USB OTG support for cm-t3x30 CoMs.

Signed-off-by: Dmitry Lifshitz <lifshitz@compulab.co.il>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoARM: dts: sbc-t3730: add pinmux for usb hub reset
Dmitry Lifshitz [Sun, 12 Jan 2014 13:22:51 +0000 (15:22 +0200)]
ARM: dts: sbc-t3730: add pinmux for usb hub reset

GPIO167 is used as SB-T35 baseboard USB Hub reset.
Add GPIO167 pinmux.

Signed-off-by: Dmitry Lifshitz <lifshitz@compulab.co.il>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoARM: dts: cm-t3x30: add HS USB Host support
Dmitry Lifshitz [Sun, 12 Jan 2014 13:22:50 +0000 (15:22 +0200)]
ARM: dts: cm-t3x30: add HS USB Host support

Add HS USB Host support along with USB PHYs and power supply regulators

Signed-off-by: Dmitry Lifshitz <lifshitz@compulab.co.il>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoARM: dts: cm-t3x30: add twl4030 gpio pullups
Dmitry Lifshitz [Sun, 12 Jan 2014 13:22:49 +0000 (15:22 +0200)]
ARM: dts: cm-t3x30: add twl4030 gpio pullups

Add pullup for twl4030 GPIO_0 used as MMC1 card detect signal.

Signed-off-by: Dmitry Lifshitz <lifshitz@compulab.co.il>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoARM: dts: cm-t3x: add gpio-led pinmux
Dmitry Lifshitz [Sun, 12 Jan 2014 13:22:48 +0000 (15:22 +0200)]
ARM: dts: cm-t3x: add gpio-led pinmux

GPIO186 is used for the heartbeat led.
Setup the pinmux for the GPIO186.

Signed-off-by: Dmitry Lifshitz <lifshitz@compulab.co.il>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoARM: dts: sb-t35: fix Ethernet power supply
Dmitry Lifshitz [Sun, 12 Jan 2014 13:22:47 +0000 (15:22 +0200)]
ARM: dts: sb-t35: fix Ethernet power supply

SB-T35 baseboard features SMSC9220 Ethernet chip which requires
its own power supply regulators.

Add baseboard specific regulators for the SB-T35 Ethernet chip.

Signed-off-by: Dmitry Lifshitz <lifshitz@compulab.co.il>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoARM: dts: sbc-t3x: disable mmc3
Dmitry Lifshitz [Sun, 12 Jan 2014 13:22:46 +0000 (15:22 +0200)]
ARM: dts: sbc-t3x: disable mmc3

Disable mmc3 interface, since is not used on sbc-t3x boards.

Signed-off-by: Dmitry Lifshitz <lifshitz@compulab.co.il>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoARM: dts: sbc-t3x: refactor DT support
Dmitry Lifshitz [Sun, 12 Jan 2014 13:22:45 +0000 (15:22 +0200)]
ARM: dts: sbc-t3x: refactor DT support

Refactor the sbc-t3x device tree as a preparation for additional
(sbc-t3530, sbc-t3517, etc.) boards support.

No functional changes.

The device tree will have the following structure:

omap3-cm-t3x.dtsi
 |
 |<-- omap3-cm-t3x30.dtsi
 |     |
 |     |
 |     |     -----                  -------          ------------
 |     |    | CoM |                | Board |        | Base board |
 |     |     -----                  -------          ------------
 |     |                                            omap3-sb-t35.dtsi
 |     |                                                  |
 |     |<-- omap3-cm-t3730.dts <-- omap3-sbc-t3730.dts -->|
 |     |                                                  |
 |     |<-- omap3-cm-t3530.dts <-- omap3-sbc-t3530.dts -->|
 |                                                        |
 |<-------- omap3-cm-t3517.dts <-- omap3-sbc-t3517.dts -->|

Signed-off-by: Dmitry Lifshitz <lifshitz@compulab.co.il>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoARM: dts: sbc-t3x: use omap specific pinctrl defines
Dmitry Lifshitz [Sun, 12 Jan 2014 13:22:44 +0000 (15:22 +0200)]
ARM: dts: sbc-t3x: use omap specific pinctrl defines

Use omap specific pinctrl defines (OMAP3_CORE1_IOPAD) to configure
the padconf register offset.

This simplify further support of CompuLab's boards based on omap36xx,
omap34xx and am35x.

Signed-off-by: Dmitry Lifshitz <lifshitz@compulab.co.il>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoARM: dts: omap3 clocks: simplify ssi aliases
Sebastian Reichel [Tue, 21 Jan 2014 14:37:41 +0000 (15:37 +0100)]
ARM: dts: omap3 clocks: simplify ssi aliases

update aliases for the ssi clocks ssi_ssr_fck, ssi_sst_fck and ssi_ick
to make them consistent for omap34xx and omap36xx. This makes it
possible to reference the clocks from generic omap3 dts files.

Signed-off-by: Sebastian Reichel <sre@debian.org>
Acked-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoARM: dts: tps65910 backup battery regulator
Markus Pargmann [Thu, 16 Jan 2014 16:08:23 +0000 (17:08 +0100)]
ARM: dts: tps65910 backup battery regulator

This patch adds a devicetree node for the backup battery regulator.

Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Tony Lindgren <tony@atomide.com>
10 years agoMerge tag 'qcom-dt-for-3.15' of git://git.kernel.org/pub/scm/linux/kernel/git/galak...
Arnd Bergmann [Fri, 28 Feb 2014 15:25:34 +0000 (16:25 +0100)]
Merge tag 'qcom-dt-for-3.15' of git://git./linux/kernel/git/galak/linux-qcom into next/dt

Merge "Qualcomm ARM Based Device Tree Updates for v3.15" from Kumar Gala

* Added device tree nodes to enable SMP on msm8660, msm8960, and msm8974
* Added Random Number Generator DT nodes for msm8974 and msm8960 SoCs

* tag 'qcom-dt-for-3.15' of git://git.kernel.org/pub/scm/linux/kernel/git/galak/linux-qcom:
  ARM: dts: qcom-msm8960-cdp: Add RNG device tree node
  ARM: dts: qcom: Add RNG device tree node
  ARM: dts: qcom: Add nodes necessary for SMP boot

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
10 years agoMerge branch 'qcom/cleanup' into next/dt
Arnd Bergmann [Fri, 28 Feb 2014 15:10:19 +0000 (16:10 +0100)]
Merge branch 'qcom/cleanup' into next/dt

This is a dependency for the qcom/dt branch.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
10 years agoMerge tag 'mvebu-dt-3.15-2' of git://git.infradead.org/linux-mvebu into next/dt
Arnd Bergmann [Tue, 25 Feb 2014 17:16:15 +0000 (18:16 +0100)]
Merge tag 'mvebu-dt-3.15-2' of git://git.infradead.org/linux-mvebu into next/dt

Merge "mvebu dt changes for v3.15 (incremental round #2)" from Jason Cooper:

 - mvebu
    - add audio for Armada 370 DB
    - enable Armada 370/XP watchdog

 - kirkwood
    - convert board rd88f6281
    - add board rd88f6192

 - dove
    enable watchdog

* tag 'mvebu-dt-3.15-2' of git://git.infradead.org/linux-mvebu:
  ARM: dove: Enable Dove watchdog in the devicetree
  ARM: kirkwood: Add RSTOUT 'reg' entry to devicetree
  ARM: mvebu: Enable Armada 370/XP watchdog in the devicetree
  ARM: Kirkwood: convert rd88f6281-setup.c to DT.
  ARM: Kirkwood: Add DT description of rd88f6192.
  ARM: mvebu: enable S/PDIF audio in Armada 370 DB Device Tree
  ARM: mvebu: add audio support to Armada 370 DB
  ARM: mvebu: add I2C0 muxing option for Armada 370 SoC
  ARM: mvebu: add audio I2S controller to Armada 370 Device Tree

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
10 years agoARM: dts: Add vmmc-supply to MMC on arndale-octa board
Sachin Kamat [Sun, 23 Feb 2014 23:56:46 +0000 (08:56 +0900)]
ARM: dts: Add vmmc-supply to MMC on arndale-octa board

LDO10 is directly connected to MMC controller. Register this
through vmmc-supply property.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
10 years agoARM: dts: Add wake up key to arndale-octa board
Sachin Kamat [Sun, 23 Feb 2014 23:54:51 +0000 (08:54 +0900)]
ARM: dts: Add wake up key to arndale-octa board

Added GPIO based wake up key to Arndale octa board.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
10 years agoARM: dts: Add PMIC support to arndale-octa board
Sachin Kamat [Sun, 23 Feb 2014 23:47:29 +0000 (08:47 +0900)]
ARM: dts: Add PMIC support to arndale-octa board

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
10 years agoARM: dts: Add fixed voltage regulators to smdk5420
Sachin Kamat [Sun, 23 Feb 2014 23:47:29 +0000 (08:47 +0900)]
ARM: dts: Add fixed voltage regulators to smdk5420

Fixed voltage regulators required by audio codec added.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
10 years agoARM: dts: Add I2S nodes to exynos5420
Sachin Kamat [Sun, 23 Feb 2014 23:47:28 +0000 (08:47 +0900)]
ARM: dts: Add I2S nodes to exynos5420

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
10 years agoARM: dts: Add ADMA node to exynos5420
Sachin Kamat [Sun, 23 Feb 2014 23:47:28 +0000 (08:47 +0900)]
ARM: dts: Add ADMA node to exynos5420

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
10 years agoARM: dts: Re-organize RTC status for exynos5250
Sachin Kamat [Sun, 23 Feb 2014 23:47:28 +0000 (08:47 +0900)]
ARM: dts: Re-organize RTC status for exynos5250

Some boards might not have RTC xtal, so RTC shouldn't really be
enabled by default. Enable it in the required board files. For
now enable it for all board files to maintain the enabled status
exisitng prior to this patch.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
10 years agoARM: dts: Re-organize RTC status for exynos5420
Sachin Kamat [Sun, 23 Feb 2014 23:47:28 +0000 (08:47 +0900)]
ARM: dts: Re-organize RTC status for exynos5420

Some boards might not have RTC xtal, so RTC shouldn't really be
enabled by default. Enable it in the required board files.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
10 years agoARM: dts: Add regulator entries to smdk5420
Sachin Kamat [Wed, 6 Nov 2013 08:14:41 +0000 (13:44 +0530)]
ARM: dts: Add regulator entries to smdk5420

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
10 years agoARM: dts: add max77686 pmic node for smdk5250
Thomas Abraham [Sat, 15 Feb 2014 17:10:11 +0000 (02:10 +0900)]
ARM: dts: add max77686 pmic node for smdk5250

Add Maxim 77686 PMIC node for EXYNOS5250 based SMDK5250 board.

Signed-off-by: Thomas Abraham <thomas.ab@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
10 years agoARM: dts: update vdd_arm voltage range for exynos4412 based boards
Thomas Abraham [Sat, 15 Feb 2014 17:08:40 +0000 (02:08 +0900)]
ARM: dts: update vdd_arm voltage range for exynos4412 based boards

To allow EXYNOS4412 based Odroidx and Origen-quad boards to operate between
200MHz to 1.4Ghz, update the vdd_arm voltage range to operate between these
cpu clock speeds.

Cc: Dongjin Kim <tobetter@gmail.com>
Signed-off-by: Thomas Abraham <thomas.ab@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
10 years agoARM: dts: update watchdog device nodes for exynos5250 and exynos5420
Leela Krishna Amudala [Sat, 15 Feb 2014 16:58:29 +0000 (01:58 +0900)]
ARM: dts: update watchdog device nodes for exynos5250 and exynos5420

In EXYNOS5 series SoCs, PMU has registers to enable/disable mask/unmask
watchdog timer which is not the case with s3c series SoCs so, there is a
need to have different compatible names for watchdog to handle these pmu
registers access.

Hence this patch removes watchdog node from Exynos5.dtsi common file and
make it separate by updating existing node in Exynos5250 and adding new node
to Exynos5420. This patch also makes the watchdog node enabled by default

Signed-off-by: Leela Krishna Amudala <l.krishna@samsung.com>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Reviewed-by: Doug Anderson <dianders@chromium.org>
Tested-by: Doug Anderson <dianders@chromium.org>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
10 years agoMerge tag 'mvebu-dt-3.15' of git://git.infradead.org/linux-mvebu into next/dt
Olof Johansson [Fri, 21 Feb 2014 22:49:12 +0000 (14:49 -0800)]
Merge tag 'mvebu-dt-3.15' of git://git.infradead.org/linux-mvebu into next/dt

Merge "mvebu DT changes for v3.15" from Jason Cooper:

 - kirkwood
    - new board QNAP 419
    - new board Excito Bubba B3
 - mvebu
    - use gpio and input defines for Armada 370/XP boards

* tag 'mvebu-dt-3.15' of git://git.infradead.org/linux-mvebu:
  ARM: mvebu: use input DT defines in Armada 370/XP boards
  ARM: mvebu: use GPIO DT defines in Armada 370/XP boards
  ARM: Kirkwood: Add DT description of QNAP 419
  ARM: Kirkwood: Add support for Excito Bubba B3

Signed-off-by: Olof Johansson <olof@lixom.net>
10 years agoARM: dts: qcom-msm8960-cdp: Add RNG device tree node
Stanimir Varbanov [Wed, 19 Feb 2014 14:33:06 +0000 (16:33 +0200)]
ARM: dts: qcom-msm8960-cdp: Add RNG device tree node

Add the necessary DT node to probe the rng driver on
msm8960-cdp platform.

Signed-off-by: Stanimir Varbanov <svarbanov@mm-sol.com>
Tested-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Kumar Gala <galak@codeaurora.org>
10 years agoARM: dts: qcom: Add RNG device tree node
Stanimir Varbanov [Fri, 7 Feb 2014 09:23:07 +0000 (11:23 +0200)]
ARM: dts: qcom: Add RNG device tree node

Add the necessary DT node to probe the rng driver on
msm8974 platforms.

Signed-off-by: Stanimir Varbanov <svarbanov@mm-sol.com>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Kumar Gala <galak@codeaurora.org>
10 years agoARM: dts: qcom: Add nodes necessary for SMP boot
Rohit Vaswani [Fri, 1 Nov 2013 17:10:40 +0000 (10:10 -0700)]
ARM: dts: qcom: Add nodes necessary for SMP boot

Add the necessary nodes to support SMP on MSM8660, MSM8960, and
MSM8974/APQ8074. While we're here also add in the error
interrupts for the Krait cache error detection.

Signed-off-by: Rohit Vaswani <rvaswani@codeaurora.org>
[sboyd: Split into separate patch, add error interrupts]
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Kumar Gala <galak@codeaurora.org>
10 years agoMerge tag 'renesas-dt2-for-v3.15' of git://git.kernel.org/pub/scm/linux/kernel/git...
Olof Johansson [Thu, 20 Feb 2014 09:28:27 +0000 (01:28 -0800)]
Merge tag 'renesas-dt2-for-v3.15' of git://git./linux/kernel/git/horms/renesas into next/dt

Merge "Second Round of Renesas ARM Based SoC DT Updates for v3.15" from Simon
Horman:

r8a7791 (R-Car M2) based Koelsch board
- Add QSPI nodes

r7s72100 (RZ/A1H) SoC
- Add RSPI nodes

* tag 'renesas-dt2-for-v3.15' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
  ARM: shmobile: koelsch dts: Add QSPI nodes
  ARM: shmobile: r8a7791 dtsi: Add QSPI node
  ARM: shmobile: r7s72100 dtsi: Add RSPI nodes

Signed-off-by: Olof Johansson <olof@lixom.net>
10 years agoMerge tag 'ab8500-dt-for-arm-soc' of git://git.kernel.org/pub/scm/linux/kernel/git...
Olof Johansson [Thu, 20 Feb 2014 08:53:56 +0000 (00:53 -0800)]
Merge tag 'ab8500-dt-for-arm-soc' of git://git./linux/kernel/git/linusw/linux-stericsson into next/dt

Merge "Ux500 DT conversion" from Linus Walleij:

AB8500 device tree conversion and the deletion of all pin-related
configuration from the Ux500 board files.

* tag 'ab8500-dt-for-arm-soc' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-stericsson:
  ARM: ux500: move last AB8505 set-up to DT
  ARM: ux500: move AB8500 clock out pins to DT
  ARM: ux500: move AB8500 modem I2C settings to DT
  ARM: ux500: move AB8500 EXTCPENA from board file to DT
  ARM: ux500: move AB8500 DMIC settings to DT
  ARM: ux500: move AB8500 USB UICC settings to DT
  ARM: ux500: move AB8500 audio interface 1 settings to DT
  ARM: ux500: move AB8500 PWM out settings to device tree
  ARM: ux500: move AB8500 YCBCR settings to device tree
  ARM: ux500: move AB8500 GPIOs to device tree

Signed-off-by: Olof Johansson <olof@lixom.net>
10 years agoMerge tag 'imx-dt-3.15' of git://git.linaro.org/people/shawnguo/linux-2.6 into next/dt
Olof Johansson [Thu, 20 Feb 2014 08:51:18 +0000 (00:51 -0800)]
Merge tag 'imx-dt-3.15' of git://git.linaro.org/people/shawnguo/linux-2.6 into next/dt

Merge "i.MX device tree changes for 3.15" from Shawn Guo:

 - New SoC device tree support for imx35 and imx50
 - A good number of new board support: imx25-eukrea, imx28-duckbill,
   imx28-eukrea, Eukrea cpuimx35, imx50-evk, imx51-eukrea, imx53-voipac,
   MCIMX53-START-R and Ka-Ro TX53.
 - Quite some updates and tweaking on imx27 phycore and apf27dev boards
 - Add pinfunc headers for imx25, imx27 and imx50
 - Make pinctrl nodes board specific to avoid floating board specific
   device tree blob with so many unused pinctrl data
 - Use generic node name for fixed regulator
 - Use clock defines in imx5 DTS files
 - Use macros for interrupt and gpio flags
 - A plenty of random updates on various SoC and board device tree
   sources, adding pinctrl settings, device nodes, properties, aliases.

* tag 'imx-dt-3.15' of git://git.linaro.org/people/shawnguo/linux-2.6: (89 commits)
  ARM: dts: imx28-m28cu3: Remove 'reset-active-high'
  ARM: dts: imx5: use imx51-ssi
  ARM: dts: imx51: Add mmc aliases
  ARM: dts: imx53: Add mmc aliases
  ARM: dts: imx53: add support for Ka-Ro TX53 modules
  ARM: dts: Add support for the cpuimx35 board from Eukrea and its baseboard.
  ARM: dts: imx28-apf28dev: add user button
  ARM: dts: i.MX51: Switch to use standard definitions for input subsystem
  ARM: dts: i.MX53: add support for MCIMX53-START-R
  ARM: dts: i.MX53: move common QSB nodes to new file
  ARM: dts: imx53-evk: Remove board support
  ARM: dts: vf610: use the interrupt macros
  ARM: dts: imx53: Add gpio and input dt includes.
  ARM: dts: i.MX27: Add SSI nodes
  ARM: dts: mxs: add mxs phy controller id
  ARM: dts: imx27-phytec-phycore-rdk: Add pinctrl definitions for WEIM
  ARM: dts: imx27-phytec-phycore-rdk: Add pingrp for SDHC
  ARM: dts: imx27-phytec-phycore-som: Add spi-cs-high property to PMIC
  ARM: dts: imx27-phytec-phycore-rdk: Enable 1-Wire module
  ARM: dts: imx27-phytec-phycore-som: Add NFC pin group
  ...

10 years agoMerge tag 'imx6-dt-3.15' of git://git.linaro.org/people/shawnguo/linux-2.6 into next/dt
Olof Johansson [Thu, 20 Feb 2014 08:49:19 +0000 (00:49 -0800)]
Merge tag 'imx6-dt-3.15' of git://git.linaro.org/people/shawnguo/linux-2.6 into next/dt

Merge "i.MX6 device tree changes for 3.15" from Shawn Guo:

 - A good number of new i.MX6 boards support: cm-fx6, dmo-edmqmx6,
   nitrogen6x, Gateworks Ventana gw5xxx family, DFI FS700-M60 and
   Zealz GK802
 - Update imx6q-sabrelite device tree and add Dual Lite/Solo support
 - Move pins that are used by particular client device out of hog group
 - Use GPIO_6 for FEC interrupt to workaround a hardware bug (ERR006687
   ENET: Only the ENET wake-up interrupt request can wake the system
   from Wait mode.)
 - Make pinctrl nodes board specific to avoid floating board specific
   device tree blob with so many unused pinctrl data
 - Use generic node name for fixed regulator
 - Update OPP table for cpufreq support
 - Random updates on various board device tree sources, adding pinctrl
   settings, device nodes, properties, etc.

* tag 'imx6-dt-3.15' of git://git.linaro.org/people/shawnguo/linux-2.6: (62 commits)
  ARM: dts: imx6q: Add support for Zealz GK802
  ARM: dts: imx6: Add DFI FS700-M60 board support
  ARM: dts: imx6: use imx51-ssi
  ARM: dts: imx6qdl: Add mmc aliases
  ARM: dts: imx6q: Add spi4 alias
  ARM: dts: imx6qdl-sabreauto: Add LVDS support
  ARM: dts: imx6sl: add keypad support for i.mx6sl-evk board.
  ARM: dts: imx6sl: add ocram device support
  ARM: dts: imx6qdl: enable dma for spi
  ARM: dts: imx6qdl-sabresd: Add PFUZE100 support
  ARM: dts: imx6: add mxs phy controller id
  ARM: dts: imx6: add anatop phandle for usbphy
  ARM: dts: imx6q-arm2: use GPIO_6 for FEC interrupt.
  ARM: dts: imx6qdl-sabreauto: use GPIO_6 for FEC interrupt.
  ARM: dts: imx6qdl-sabrelite: use GPIO_6 for FEC interrupt.
  ARM: dts: imx6qdl: use interrupts-extended for fec
  ARM: dts: imx: pinfunc: add MX6QDL_PAD_GPIO_6__ENET_IRQ
  ARM: dts: imx6q-sabrelite: PHY reset is active-low
  ARM: dts: imx6: Use 'vddarm' as the regulator name
  ARM: dts: imx6qdl-sabresd: Add power key support
  ...

10 years agoMerge tag 'renesas-dt-for-v3.15' of git://git.kernel.org/pub/scm/linux/kernel/git...
Olof Johansson [Thu, 20 Feb 2014 08:27:25 +0000 (00:27 -0800)]
Merge tag 'renesas-dt-for-v3.15' of git://git./linux/kernel/git/horms/renesas into next/dt

Merge "Renesas ARM Based SoC DT Updates for v3.15" from Simon Horman:

* r8a7791 (R-Car M2) based Koelsch board
  - Enable GPIO Keys, (1+1)GiB memory, SATA0 and serial ports
  - Add VIN and thermal clocks
  - Remove r8a7791-koelsch-reference.dts

* r8a7790 (R-Car H2) based Lager board
  - Replace IRQ type numerical values with macros
  - Enable SATA0 and serial ports
  - Add VIN and thermal clocks

* tag 'renesas-dt-for-v3.15' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
  ARM: shmobile: r8a7790: Replace IRQ type numerical values with macros
  ARM: shmobile: r8a7790: Fix serial ports DT compatible strings
  ARM: shmobile: lager: Enable SATA1 in r8a7790-lager.dts
  ARM: shmobile: r8a7790: Add SATA nodes to r8a7790.dtsi
  ARM: shmobile: koelsch: Enable SATA0 in r8a7791-koelsch.dts
  ARM: shmobile: r8a7791: Add SATA nodes to r8a7791.dtsi
  ARM: shmobile: r8a7791: Add SATA clocks to device tree
  ARM: shmobile: r8a7790: Add SATA clocks to device tree
  ARM: shmobile: r8a7791: Add VIN clocks to device tree
  ARM: shmobile: r8a7790: Add VIN clocks to device tree
  ARM: shmobile: r8a7790: Add serial ports to the device tree
  ARM: shmobile: r8a7791: Add serial ports to the device tree
  ARM: shmobile: r8a7790: Add thermal clock in device tree
  ARM: shmobile: r8a7791: Add thermal clock in device tree
  ARM: shmobile: koelsch: (1+1)GiB memory in DT
  ARM: shmobile: Add GPIO keys to Koelsch DTS
  ARM: shmobile: dts: Remove r8a7791-koelsch-reference.dts

Signed-off-by: Olof Johansson <olof@lixom.net>
10 years agoARM: dove: Enable Dove watchdog in the devicetree
Ezequiel Garcia [Mon, 10 Feb 2014 23:00:34 +0000 (20:00 -0300)]
ARM: dove: Enable Dove watchdog in the devicetree

Add the devicetree node to enable watchdog support available in Dove SoCs.

Tested-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
10 years agoARM: kirkwood: Add RSTOUT 'reg' entry to devicetree
Ezequiel Garcia [Mon, 10 Feb 2014 23:00:33 +0000 (20:00 -0300)]
ARM: kirkwood: Add RSTOUT 'reg' entry to devicetree

In order to support multiplatform builds the watchdog devicetree binding
was modified and now the 'reg' property is specified to need two
entries. This commit adds the second entry as-per the new specification.

Tested-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
10 years agoARM: mvebu: Enable Armada 370/XP watchdog in the devicetree
Ezequiel Garcia [Mon, 10 Feb 2014 23:00:32 +0000 (20:00 -0300)]
ARM: mvebu: Enable Armada 370/XP watchdog in the devicetree

Add the DT nodes to enable watchdog support available in Armada 370
and Armada XP SoCs.

Tested-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
10 years agoARM: Kirkwood: convert rd88f6281-setup.c to DT.
Andrew Lunn [Sat, 15 Feb 2014 12:59:53 +0000 (13:59 +0100)]
ARM: Kirkwood: convert rd88f6281-setup.c to DT.

Perform a mechanical translation of rd88f6281-setup.c into DT.  Since
the hardware differs between the A0 and A1 stepping, two dts files are
used, and a .dtsi file for the common parts. The A0 part does not have
a "wan" port on the switch and uses PHY address 10 to address the
switch. The A1 part does have the "wan" port and uses address 0.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
10 years agoARM: Kirkwood: Add DT description of rd88f6192.
Andrew Lunn [Sat, 15 Feb 2014 12:59:52 +0000 (13:59 +0100)]
ARM: Kirkwood: Add DT description of rd88f6192.

Mechanically translate rd88f6192-nas-setup.c into DT equivelent.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
10 years agoARM: mvebu: enable S/PDIF audio in Armada 370 DB Device Tree
Thomas Petazzoni [Wed, 12 Feb 2014 17:21:01 +0000 (18:21 +0100)]
ARM: mvebu: enable S/PDIF audio in Armada 370 DB Device Tree

In addition to the analog audio input and output, the Armada 370 DB
also has S/PDIF input and output optical connectors. This commit
improves the Device Tree description of the Armada 370 DB platform to
enable the S/PDIF support.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
10 years agoARM: mvebu: add audio support to Armada 370 DB
Thomas Petazzoni [Wed, 12 Feb 2014 17:21:00 +0000 (18:21 +0100)]
ARM: mvebu: add audio support to Armada 370 DB

This commit adds the necessary Device Tree informations to enable
audio support on the Armada 370 DB platform. In details it:

 * Instantiates the CS42L51 audio codec on the I2C0 bus, and
   configures this bus with the appropriate pin-muxing configuration.

 * Enables the I2S audio controller, and configures it with the
   appropriate pin-muxing configuration.

 * Through hog pins, ensures that the other pins possibly used for I2S
   are muxed with another function than I2S.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
10 years agoARM: mvebu: add I2C0 muxing option for Armada 370 SoC
Thomas Petazzoni [Wed, 12 Feb 2014 17:20:59 +0000 (18:20 +0100)]
ARM: mvebu: add I2C0 muxing option for Armada 370 SoC

This commit adds a pin-muxing configuration for the I2C0 bus of the
Armada 370, which is used on the Armada 370 DB platform to interface
with the CS42L51 audio codec.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
10 years agoARM: mvebu: add audio I2S controller to Armada 370 Device Tree
Thomas Petazzoni [Wed, 12 Feb 2014 17:20:58 +0000 (18:20 +0100)]
ARM: mvebu: add audio I2S controller to Armada 370 Device Tree

The Armada 370 SoC has an I2S audio controller. This commit adds the
description of this controller to the Device Tree describing this SoC,
as well as two possible muxing configurations for the I2S bus pins.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
10 years agoLinux 3.14-rc3
Linus Torvalds [Sun, 16 Feb 2014 21:30:25 +0000 (13:30 -0800)]
Linux 3.14-rc3

10 years agoMerge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux...
Linus Torvalds [Sun, 16 Feb 2014 19:05:27 +0000 (11:05 -0800)]
Merge branch 'for-linus' of git://git./linux/kernel/git/mason/linux-btrfs

Pull btrfs fixes from Chris Mason:
 "We have a small collection of fixes in my for-linus branch.

  The big thing that stands out is a revert of a new ioctl.  Users
  haven't shipped yet in btrfs-progs, and Dave Sterba found a better way
  to export the information"

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs:
  Btrfs: use right clone root offset for compressed extents
  btrfs: fix null pointer deference at btrfs_sysfs_add_one+0x105
  Btrfs: unset DCACHE_DISCONNECTED when mounting default subvol
  Btrfs: fix max_inline mount option
  Btrfs: fix a lockdep warning when cleaning up aborted transaction
  Revert "btrfs: add ioctl to export size of global metadata reservation"

10 years agoMerge tag 'dt-fixes-for-3.14' of git://git.kernel.org/pub/scm/linux/kernel/git/robh...
Linus Torvalds [Sun, 16 Feb 2014 19:03:58 +0000 (11:03 -0800)]
Merge tag 'dt-fixes-for-3.14' of git://git./linux/kernel/git/robh/linux

Pull devicetree fixes from Rob Herring:
 "Fix booting on PPC boards.  Changes to of_match_node matching caused
  the serial port on some PPC boards to stop working.  Reverted the
  change and reimplement to split matching between new style compatible
  only matching and fallback to old matching algorithm"

* tag 'dt-fixes-for-3.14' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux:
  of: search the best compatible match first in __of_match_node()
  Revert "OF: base: match each node compatible against all given matches first"

10 years agoof: search the best compatible match first in __of_match_node()
Kevin Hao [Fri, 14 Feb 2014 05:22:46 +0000 (13:22 +0800)]
of: search the best compatible match first in __of_match_node()

Currently, of_match_node compares each given match against all node's
compatible strings with of_device_is_compatible.

To achieve multiple compatible strings per node with ordering from
specific to generic, this requires given matches to be ordered from
specific to generic. For most of the drivers this is not true and also
an alphabetical ordering is more sane there.

Therefore, this patch introduces a function to match each of the node's
compatible strings against all given compatible matches without type and
name first, before checking the next compatible string. This implies
that node's compatibles are ordered from specific to generic while
given matches can be in any order. If we fail to find such a match
entry, then fall-back to the old method in order to keep compatibility.

Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Kevin Hao <haokexin@gmail.com>
Tested-by: Stephen Chivers <schivers@csc.com>
Signed-off-by: Rob Herring <robh@kernel.org>