GitHub/moto-9609/android_kernel_motorola_exynos9610.git
9 years agoMerge tag 'mvebu-dt-4.3-3' of git://git.infradead.org/linux-mvebu into next/dt
Olof Johansson [Thu, 13 Aug 2015 09:59:56 +0000 (11:59 +0200)]
Merge tag 'mvebu-dt-4.3-3' of git://git.infradead.org/linux-mvebu into next/dt

mvebu dt changes for v4.3 (part #3)

- device tree part of the Dove PMU series
- converting a new orion5x based platform to dt: Linkstation Mini

* tag 'mvebu-dt-4.3-3' of git://git.infradead.org/linux-mvebu:
  ARM: dts: Convert Linkstation Mini to Device Tree
  ARM: dt: dove: add GPU power domain description
  ARM: dt: dove: add video decoder power domain description
  ARM: dt: dove: wire up RTC interrupt
  ARM: dt: Add PMU node, making PMU child devices childs of this node

Signed-off-by: Olof Johansson <olof@lixom.net>
9 years agoMerge tag 'at91-ab-dt2' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni...
Olof Johansson [Thu, 13 Aug 2015 09:58:22 +0000 (11:58 +0200)]
Merge tag 'at91-ab-dt2' of git://git./linux/kernel/git/abelloni/linux into next/dt

Second batch of DT changes for 4.3:
- Add the slow clock to the nodes that will use it
- Add hlcd to the at91sam9x5 and at91sam9n12
- Add touchscreen and touch button support to the at91sam9x5ek

* tag 'at91-ab-dt2' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux: (22 commits)
  ARM: at91/dt: sama5d2: use slow clock where necessary
  ARM: at91/dt: at91sam9x5dm: add QT1070 touch button controller
  ARM: at91/dt: at91sam9x5dm: add support for the touschscreen
  ARM: at91/dt: add drm support for at91sam9n12ek
  ARM: at91/dt: enable lcd support for at91sam9x5 SoCs
  ARM: at91/dt: add at91sam9x5-ek Display Module dtsi
  ARM: at91/dt: include lcd dtsi in at91sam9x5 dtsis
  ARM: at91/dt: define hlcdc node in at91sam9x5_lcd.dtsi
  ARM: at91/dt: sama5d4: use slow clock where necessary
  ARM: at91/dt: sama5d3: use slow clock where necessary
  ARM: at91/dt: at91sam9x5: use slow clock where necessary
  ARM: at91/dt: at91sam9rl: use slow clock where necessary
  ARM: at91/dt: at91sam9n12: use slow clock where necessary
  ARM: at91/dt: at91sam9g45: use slow clock where necessary
  ARM: at91/dt: at91sam9263: use slow clock where necessary
  ARM: at91/dt: at91sam9261: use slow clock where necessary
  ARM: at91/dt: at91sam9260: use slow clock where necessary
  ARM: at91/dt: at91rm9200: use slow clock where necessary
  Documentation: dt: rtc: at91rm9200: add clocks property
  Documentation: watchdog: at91sam9_wdt: add clocks property
  ...

Signed-off-by: Olof Johansson <olof@lixom.net>
9 years agoMerge tag 'renesas-dt3-for-v4.3' of git://git.kernel.org/pub/scm/linux/kernel/git...
Olof Johansson [Tue, 11 Aug 2015 13:31:53 +0000 (15:31 +0200)]
Merge tag 'renesas-dt3-for-v4.3' of git://git./linux/kernel/git/horms/renesas into next/dt

Third Round of Renesas ARM Based SoC DT Updates for v4.3

* Add JPU support: r8a7791 and r8a7790 SoCs
* Add MMCIF and PFC support: r8a7794 SoC
* Add initial support for r8a7794/silk
* Add missing "gpio-ranges" to gpio nodes: sh73a0, r8a7740 and r8a73a4 SoCs

* tag 'renesas-dt3-for-v4.3' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
  ARM: shmobile: sh73a0 dtsi: Add missing "gpio-ranges" to gpio node
  ARM: shmobile: r8a7740 dtsi: Add missing "gpio-ranges" to gpio node
  ARM: shmobile: r8a73a4 dtsi: Add missing "gpio-ranges" to gpio node
  ARM: shmobile: silk: add eMMC DT support
  ARM: shmobile: r8a7794: add MMCIF DT support
  ARM: shmobile: silk: add Ether DT support
  ARM: shmobile: silk: initial device tree
  ARM: shmobile: r8a7794: add PFC DT support
  ARM: shmobile: r8a7791: Add JPU device node.
  ARM: shmobile: r8a7790: Add JPU device node.

Signed-off-by: Olof Johansson <olof@lixom.net>
9 years agoMerge tag 'omap-for-v4.3/dt-pt3' of git://git.kernel.org/pub/scm/linux/kernel/git...
Olof Johansson [Tue, 11 Aug 2015 13:23:24 +0000 (15:23 +0200)]
Merge tag 'omap-for-v4.3/dt-pt3' of git://git./linux/kernel/git/tmlind/linux-omap into next/dt

Omap device tree changes for v4.3 merge window. Pretty much all
just trivial additions to configure devices for various SoCs and
boards:

- Updates for omap3-devkit8000 board support

- M3 coprosessor, regulator, mux, RTC and eMMC updates for am437x

- MMC, regmap, mux and dwc3 updates for dra7 and omap5

* tag 'omap-for-v4.3/dt-pt3' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap: (27 commits)
  ARM: dts: omap3-devkit8000: Add ADS7846 Touchscreen support
  ARM: dts: omap3-devkit8000: add LCD panels
  ARM: dts: omap3-devkit8000: Add DSS' DVI support
  ARM: dts: omap3-devkit8000: Add S-video output support
  ARM: dts: omap3-devkit8000: Add keymap support
  ARM: dts: omap3-devkit8000: Add PMU stat support
  ARM: dts: omap3-devkit8000: Add user button support
  ARM: dts: am437x-gp-evm: Add regulator-always-on and regulator-boot-on for RTC DCDCs
  ARM: dts: AM4372: Reorder the rtc compatible string
  ARM: dts: am437x-gp-evm: Add eMMC support
  ARM: dts: am437x-gp-evm: Add gpio-hog for configuring eMMC/NAND driver
  ARM: dts: am43xx: Introduce MUX_MODE9 for pinctrl
  ARM: dts: dra72-evm: Fix spurious card insert/removal interrupt
  ARM: dts: dra7-evm: Fix spurious card insert/removal interrupt
  ARM: dts: am57xx-beagle-x15: mmc1: remove redundant pbias-supply property
  ARM: dts: dra7-evm: Add MMCSD card removal GPIO
  ARM: dts: dra72-evm: Set max clock frequency of MMC1 and MMC2
  ARM: dts: dra7-evm: add evm_3v3_sd regulator
  ARM: dts: dra72-evm: add evm_3v3_sd regulator
  ARM: dts: AM4372: Add the wkup_m3_ipc node
  ...

Signed-off-by: Olof Johansson <olof@lixom.net>
9 years agoARM: dts: UniPhier: add reference daughter board
Masahiro Yamada [Thu, 6 Aug 2015 10:37:46 +0000 (19:37 +0900)]
ARM: dts: UniPhier: add reference daughter board

This is used as a base board for reference core modules.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
9 years agoARM: dts: brcmstb: add BCM7445 GPIO nodes
Gregory Fong [Sat, 1 Aug 2015 01:17:45 +0000 (18:17 -0700)]
ARM: dts: brcmstb: add BCM7445 GPIO nodes

Need the aon_pm_l2_intc and irq0_aon_intc descriptions, so included
those as well.

Signed-off-by: Gregory Fong <gregory.0xf0@gmail.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
9 years agoARM: BCM5301X: Add profiling support
Felix Fietkau [Wed, 29 Jul 2015 21:51:00 +0000 (23:51 +0200)]
ARM: BCM5301X: Add profiling support

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
9 years agoARM: BCM5301X: activate some additional options in pl310 cache controller
Hauke Mehrtens [Wed, 29 Jul 2015 21:50:59 +0000 (23:50 +0200)]
ARM: BCM5301X: activate some additional options in pl310 cache controller

In the default Broadcom SDK the shared override is activated for this
cache controller, do the same in the upstream code. Data and
instruction prefetching is not activated by default for this cache
controller on the bcm53xx SoC, do it manually like it is done in the
vendor SDK.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
9 years agoMerge tag 'sirf-dts-for-4.3' of git://git.kernel.org/pub/scm/linux/kernel/git/baohua...
Olof Johansson [Tue, 11 Aug 2015 13:10:01 +0000 (15:10 +0200)]
Merge tag 'sirf-dts-for-4.3' of git://git./linux/kernel/git/baohua/linux into next/dt

ARM: sirf: dts update for 4.3

some missed dt nodes or props for sirf dts for 4.3.
Among them:
- G2D
- PWM
- JPEG
- Multimedia
- PMU(performance monitor unit)
- GMAC
- SDR(software digital radio) and its DMA
- pinmux for NAND
- GPIO key

* tag 'sirf-dts-for-4.3' of git://git.kernel.org/pub/scm/linux/kernel/git/baohua/linux:
  ARM: dts: atlas7: add a GPIO key for rearview button
  ARM: dts: atlas7: put pinctl property to get pinmux for NAND
  ARM: dts: atlas7: add software digital radio nodes and its DMA channels
  ARM: dts: atlas7: add lost PWM node
  ARM: dts: atlas7: add lost G2D node
  ARM: dts: atlas7: add multimedia codec node
  ARM: dts: atlas7: add alias name for spi device
  ARM: dts: atlas7: add lost gmac node
  ARM: dts: atlas7: add performance monitor unit node
  ARM: dts: atlas7: add lost jpeg node

Signed-off-by: Olof Johansson <olof@lixom.net>
9 years agoARM: dts: uniphier: add ProXstream2 and PH1-LD6b SoC/board support
Masahiro Yamada [Tue, 4 Aug 2015 11:21:04 +0000 (20:21 +0900)]
ARM: dts: uniphier: add ProXstream2 and PH1-LD6b SoC/board support

Initial version of DTSI for ProXstream2 and PH1-LD6b and DTS for
PH1-LD6b reference board.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
[olof: sort Makefile entries]
Signed-off-by: Olof Johansson <olof@lixom.net>
9 years agoARM: dts: uniphier: add PH1-Pro5 SoC support
Masahiro Yamada [Tue, 4 Aug 2015 11:21:03 +0000 (20:21 +0900)]
ARM: dts: uniphier: add PH1-Pro5 SoC support

Initial version of UniPhier PH1-Pro5 device tree.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
9 years agoARM: dts: uniphier: add I2C controller device nodes
Masahiro Yamada [Tue, 4 Aug 2015 11:21:02 +0000 (20:21 +0900)]
ARM: dts: uniphier: add I2C controller device nodes

Add I2C controller device nodes for PH1-sLD3, PH1-LD4, PH1-sLD8
(FIFO-less I2C) and PH1-Pro4 (FIFO-builtin I2C).

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
9 years agoMerge tag 'samsung-dt-1' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux...
Olof Johansson [Tue, 11 Aug 2015 13:01:26 +0000 (15:01 +0200)]
Merge tag 'samsung-dt-1' of git://git./linux/kernel/git/kgene/linux-samsung into next/dt

Samsung 1st DT updates for v4.3

- for exynos3250
  : update video-phy node with syscon phandle
- for exynos4210
  : add CPU OPP and regulator supply property
  : use labels for overriding nodes for exynos4210-universal_c210
- for exynos4412-trats2
  : set max17047 over heat and voltage thresholds
- for exynos5250 and 5420
  : extend exynos5250/5420-pinctrl nodes using labels
  : include exynos5250/5420-pinctrl after the nodes definitions
- for exynos5410-smdk5410
  : clean up indentation
- for exynos5422-odroidxu3
  : define default thermal-zones for exynos5422
  : enable USB3 regulators, TMU and thermal-zones
  : add pwm-fan node

* tag 'samsung-dt-1' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung:
  ARM: dts: Extend exynos5420-pinctrl nodes using labels instead of paths
  ARM: dts: Include exynos5420-pinctrl after the nodes were defined for exynos5420
  ARM: dts: Extend exynos5250-pinctrl nodes using labels instead of paths
  ARM: dts: Include exynos5250-pinctrl after the nodes were defined for exynos5250
  ARM: dts: Enable thermal-zones for exynos5422-odroidxu3
  ARM: dts: Define default thermal-zones for exynos5422
  ARM: dts: Enable TMU for exynos5422-odroidxu3
  ARM: dts: Add pwm-fan node for exynos5422-odroidxu3
  ARM: dts: Use labels for overriding nodes for exynos4210-universal_c210
  ARM: dts: Set max17047 over heat and voltage thresholds for exynos4412-trats2
  ARM: dts: Enable USB3 regulators for exynos5422-odroidxu3
  ARM: dts: Clean up indentation for exynos5410-smdk5410
  ARM: dts: add CPU OPP and regulator supply property for exynos4210
  ARM: dts: Update video-phy node with syscon phandle for exynos3250

Signed-off-by: Olof Johansson <olof@lixom.net>
9 years agoARM: at91/dt: sama5d2: use slow clock where necessary
Alexandre Belloni [Fri, 7 Aug 2015 10:54:10 +0000 (12:54 +0200)]
ARM: at91/dt: sama5d2: use slow clock where necessary

The watchdog, the reset controller, the RTC, the shutdown controller, the
timer counters and the LCD PWM need the slow clock, add it to the currently
defined nodes.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
9 years agoARM: at91/dt: at91sam9x5dm: add QT1070 touch button controller
Nicolas Ferre [Wed, 25 Mar 2015 16:31:09 +0000 (17:31 +0100)]
ARM: at91/dt: at91sam9x5dm: add QT1070 touch button controller

The display module for at91sam9x5-ek has a few touch buttons, add support
for those.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
9 years agoARM: at91/dt: at91sam9x5dm: add support for the touschscreen
Alexandre Belloni [Fri, 31 Jul 2015 21:17:10 +0000 (23:17 +0200)]
ARM: at91/dt: at91sam9x5dm: add support for the touschscreen

The display module on the at91sam9x5-ek has a resistive touchscreen, add
it.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
9 years agoARM: at91/dt: add drm support for at91sam9n12ek
Bo Shen [Wed, 25 Mar 2015 10:41:31 +0000 (18:41 +0800)]
ARM: at91/dt: add drm support for at91sam9n12ek

Add drm support for at91sam9n12ek board.

Signed-off-by: Bo Shen <voice.shen@atmel.com>
Signed-off-by: Josh Wu <josh.wu@atmel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
9 years agoARM: at91/dt: enable lcd support for at91sam9x5 SoCs
Boris Brezillon [Thu, 31 Jul 2014 07:37:06 +0000 (09:37 +0200)]
ARM: at91/dt: enable lcd support for at91sam9x5 SoCs

Use the at91sam9x5 display module dtsi in the relevant board dts.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
9 years agoARM: at91/dt: add at91sam9x5-ek Display Module dtsi
Boris Brezillon [Thu, 31 Jul 2014 07:34:54 +0000 (09:34 +0200)]
ARM: at91/dt: add at91sam9x5-ek Display Module dtsi

All the at91sam9x5-ek share the share display module, add a dtsi to
describe it.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
9 years agoARM: at91/dt: include lcd dtsi in at91sam9x5 dtsis
Boris Brezillon [Thu, 31 Jul 2014 07:36:10 +0000 (09:36 +0200)]
ARM: at91/dt: include lcd dtsi in at91sam9x5 dtsis

Actually make use of at91sam9x5_lcd.dtsi in the relevant SoC dtsis.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
9 years agoARM: at91/dt: define hlcdc node in at91sam9x5_lcd.dtsi
Boris Brezillon [Thu, 31 Jul 2014 07:35:31 +0000 (09:35 +0200)]
ARM: at91/dt: define hlcdc node in at91sam9x5_lcd.dtsi

Define at91sam9x5 hlcdc node for the SoCs with an LCD controller.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
9 years agoARM: at91/dt: sama5d4: use slow clock where necessary
Alexandre Belloni [Wed, 29 Jul 2015 12:10:07 +0000 (14:10 +0200)]
ARM: at91/dt: sama5d4: use slow clock where necessary

The watchdog, the reset controller, the RTC, the shutdown controller, the
timer counters and the LCD PWM need the slow clock, add it where necessary.

Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
9 years agoARM: at91/dt: sama5d3: use slow clock where necessary
Alexandre Belloni [Wed, 29 Jul 2015 12:10:06 +0000 (14:10 +0200)]
ARM: at91/dt: sama5d3: use slow clock where necessary

The watchdog, the reset controller, the RTC, the shutdown controller, the
timer counters and the LCD PWM need the slow clock, add it where necessary.

[boris.brezillon@free-electrons.com: add tcb clocks]
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
9 years agoARM: at91/dt: at91sam9x5: use slow clock where necessary
Alexandre Belloni [Wed, 29 Jul 2015 12:10:06 +0000 (14:10 +0200)]
ARM: at91/dt: at91sam9x5: use slow clock where necessary

The watchdog, the reset controller, the RTC, the shutdown controller, the
timer counters and the LCD PWM need the slow clock, add it where necessary,
The LCD PWM will be handled later.

Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
9 years agoARM: at91/dt: at91sam9rl: use slow clock where necessary
Alexandre Belloni [Wed, 29 Jul 2015 12:10:05 +0000 (14:10 +0200)]
ARM: at91/dt: at91sam9rl: use slow clock where necessary

The watchdog, the reset controller, the RTC, the real-time timer, the
shutdown controller and the timer counter need the slow clock, add it where
necessary.

Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
9 years agoARM: at91/dt: at91sam9n12: use slow clock where necessary
Alexandre Belloni [Wed, 29 Jul 2015 12:10:05 +0000 (14:10 +0200)]
ARM: at91/dt: at91sam9n12: use slow clock where necessary

The watchdog, the reset controller, the RTC, the shutdown controller, the
timer counters and the LCD PWM need the slow clock, add it where necessary.
The LCD PWM will be handled later.

Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
9 years agoARM: at91/dt: at91sam9g45: use slow clock where necessary
Alexandre Belloni [Wed, 29 Jul 2015 12:10:04 +0000 (14:10 +0200)]
ARM: at91/dt: at91sam9g45: use slow clock where necessary

The watchdog, the reset controller, the RTC, the real-time timer, the
shutdown controller and the timer counters need the slow clock, add it
where necessary.

Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
9 years agoARM: at91/dt: at91sam9263: use slow clock where necessary
Alexandre Belloni [Wed, 29 Jul 2015 12:10:03 +0000 (14:10 +0200)]
ARM: at91/dt: at91sam9263: use slow clock where necessary

The watchdog, the reset controller, the two real-time timers, the shutdown
controller and the timer counter need the slow clock, add it where
necessary.

Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
9 years agoARM: at91/dt: at91sam9261: use slow clock where necessary
Alexandre Belloni [Wed, 29 Jul 2015 12:09:54 +0000 (14:09 +0200)]
ARM: at91/dt: at91sam9261: use slow clock where necessary

The watchdog, the reset controller, the real-time timer, the shutdown
controller and the timer counter need the slow clock, add it where
necessary.

Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
9 years agoARM: at91/dt: at91sam9260: use slow clock where necessary
Alexandre Belloni [Wed, 29 Jul 2015 12:09:53 +0000 (14:09 +0200)]
ARM: at91/dt: at91sam9260: use slow clock where necessary

The watchdog, the reset controller, the real-time timer, the shutdown
controller, the timer counters need the slow clock, add it where necessary.

Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
9 years agoARM: at91/dt: at91rm9200: use slow clock where necessary
Alexandre Belloni [Wed, 29 Jul 2015 12:09:52 +0000 (14:09 +0200)]
ARM: at91/dt: at91rm9200: use slow clock where necessary

The system timer, the RTC and the timer counters need the slow clock, add
it.

Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
9 years agoDocumentation: dt: rtc: at91rm9200: add clocks property
Alexandre Belloni [Wed, 29 Jul 2015 22:49:44 +0000 (00:49 +0200)]
Documentation: dt: rtc: at91rm9200: add clocks property

The RTC needs an input clock, it is the slow clock. It is required as it
will not function without it.

Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
9 years agoDocumentation: watchdog: at91sam9_wdt: add clocks property
Alexandre Belloni [Wed, 29 Jul 2015 22:43:07 +0000 (00:43 +0200)]
Documentation: watchdog: at91sam9_wdt: add clocks property

The watchdog has an input clock, the slow clock. It is required as it will
not function without it.

Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
9 years agoDocumentation: dt: atmel-at91: add slow clock to tcb
Boris Brezillon [Fri, 31 Jul 2015 00:11:14 +0000 (02:11 +0200)]
Documentation: dt: atmel-at91: add slow clock to tcb

The timer counters need the slow clock. It is required as they
will not function without it.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
9 years agoDocumentation: dt: atmel-at91: add clocks to system timer, rstc and shdwc
Alexandre Belloni [Wed, 29 Jul 2015 23:02:36 +0000 (01:02 +0200)]
Documentation: dt: atmel-at91: add clocks to system timer, rstc and shdwc

The system timer (at91rm9200), the reset controller and the shutdown
controller need an input clock. This is the slow clock and they will not
function without it.

Also fix the shutdown controller example.

Acked-By: Sebastian Reichel <sre@kernel.org>
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
9 years agoARM: dts: Convert Linkstation Mini to Device Tree
Benjamin Cama [Thu, 6 Aug 2015 16:29:52 +0000 (18:29 +0200)]
ARM: dts: Convert Linkstation Mini to Device Tree

The title says it all. The name of the dts file as been changed to
better reflect the manufacturer's device name (LS-WSGL), rather than
the original "lsmini", which exists in a kirkwood version too.

[gregory.clement@free-electrons.com]: use tab instead of space to
indent dts at line 185. Reslove merge conflict with patch "ARM: dts:
orion5x: add buffalo linkstation ls-wtgl" in the file
arch/arm/boot/dts/Makefile.

Signed-off-by: Benjamin Cama <benoar@dolka.fr>
Acked-by: Andrew Lunn <andrew@lunn.ch>
Acked-by: Alexey Kopytko <alexey@kopytko.ru>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
9 years agoARM: dts: omap3-devkit8000: Add ADS7846 Touchscreen support
Anthoine Bourgeois [Wed, 5 Aug 2015 21:47:09 +0000 (23:47 +0200)]
ARM: dts: omap3-devkit8000: Add ADS7846 Touchscreen support

This patch is the touchscreen part for LCD screens sold with devkit8000
board.

Signed-off-by: Anthoine Bourgeois <anthoine.bourgeois@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
9 years agoMerge tag 'sunxi-dt-for-4.3' of https://git.kernel.org/pub/scm/linux/kernel/git/mripa...
Olof Johansson [Thu, 6 Aug 2015 08:12:13 +0000 (10:12 +0200)]
Merge tag 'sunxi-dt-for-4.3' of https://git./linux/kernel/git/mripard/linux into next/dt

Allwinner Device Tree changes for 4.3

A bunch of device tree patches that:
  - Enable the OTG controller on some boards
  - Various additions to the existing boards
  - New boards: A33 Ippo Q8H, Iteaduino Plus,

* tag 'sunxi-dt-for-4.3' of https://git.kernel.org/pub/scm/linux/kernel/git/mripard/linux: (35 commits)
  ARM: dts: sun7i: Change cubietruck wifi enable pin to use mmc-pwrseq
  ARM: dts: sun5i: hsg-h702: Enable USB OTG controller
  ARM: dts: sun5i: hsg-h702: Enable side volume buttons with LRADC
  ARM: dts: sun8i: Enable USB DRC on Ippo Q8H-A33 tablet
  ARM: dts: sun5i: Enable USB DRC on A13 OLinuxIno
  ARM: dts: sun5i: Enable USB DRC on A10s OLinuxIno Micro
  ARM: dts: sun4i: Enable USB DRC on A10 OLinuxIno Lime
  ARM: sunxi: dt: Convert users to the PIO interrupts binding
  ARM: dts: sun4i: Add Iteaduino Plus A10
  ARM: dts: A10s-OLinuxIno: Add a node for axp152 pmic
  ARM: dts: axp152: Add a dtsi file for the axp152 pmic
  ARM: dts: sun6i: Enable otg controller on the cs908
  ARM: dts: sun4i: Enable otg controller on the mini-x
  ARM: dts: sun4i: Enable otg controller on the ba10-tvbox
  ARM: dts: sunxi: Add regulator-boot-on to usb host port regulator nodes
  devicetree: Add msi to the vendor-prefix list
  ARM: sun8i: dts: Add Ippo-q8h v1.2 with A33
  ARM: dts: sun8i: sina33: Enable USB hosts
  ARM: dts: sun8i: Enable USB host on GA10H-A33 tablets
  ARM: dts: sun8i: Enable USB DRC on GA10H-A33 tablets
  ...

Signed-off-by: Olof Johansson <olof@lixom.net>
9 years agoARM: dts: omap3-devkit8000: add LCD panels
Anthoine Bourgeois [Wed, 5 Aug 2015 21:47:08 +0000 (23:47 +0200)]
ARM: dts: omap3-devkit8000: add LCD panels

Devkit8000 was sold with a 4.3" LCD or 7.0" or without. This patch
creates one dts file per bundle.

Signed-off-by: Anthoine Bourgeois <anthoine.bourgeois@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
9 years agoARM: dts: omap3-devkit8000: Add DSS' DVI support
Anthoine Bourgeois [Tue, 4 Aug 2015 20:53:30 +0000 (22:53 +0200)]
ARM: dts: omap3-devkit8000: Add DSS' DVI support

This commit adds the support of DVI output on the devkit8000 board.

Signed-off-by: Anthoine Bourgeois <anthoine.bourgeois@gmail.com>
[tony@atomide.com: added missing sign as noted by Anthoine]
Signed-off-by: Tony Lindgren <tony@atomide.com>
9 years agoARM: dts: omap3-devkit8000: Add S-video output support
Anthoine Bourgeois [Tue, 4 Aug 2015 20:53:29 +0000 (22:53 +0200)]
ARM: dts: omap3-devkit8000: Add S-video output support

This commit adds the support of TV output on the devkit8000 board.

Signed-off-by: Anthoine Bourgeois <anthoine.bourgeois@gmail.com>
[tony@atomide.com: added missing sign as noted by Anthoine]
Signed-off-by: Tony Lindgren <tony@atomide.com>
9 years agoARM: dts: omap3-devkit8000: Add keymap support
Anthoine Bourgeois [Tue, 4 Aug 2015 20:53:28 +0000 (22:53 +0200)]
ARM: dts: omap3-devkit8000: Add keymap support

The keymap is convert in devicetree from the legacy board file.

Signed-off-by: Anthoine Bourgeois <anthoine.bourgeois@gmail.com>
[tony@atomide.com: added missing sign as noted by Anthoine]
Signed-off-by: Tony Lindgren <tony@atomide.com>
9 years agoARM: dts: omap3-devkit8000: Add PMU stat support
Anthoine Bourgeois [Tue, 4 Aug 2015 20:53:27 +0000 (22:53 +0200)]
ARM: dts: omap3-devkit8000: Add PMU stat support

This patch declares the LEDB usage to the PMU stat monitor.

Signed-off-by: Anthoine Bourgeois <anthoine.bourgeois@gmail.com>
[tony@atomide.com: added missing sign as noted by Anthoine]
Signed-off-by: Tony Lindgren <tony@atomide.com>
9 years agoARM: dts: omap3-devkit8000: Add user button support
Anthoine Bourgeois [Tue, 4 Aug 2015 20:53:26 +0000 (22:53 +0200)]
ARM: dts: omap3-devkit8000: Add user button support

This patch links the user button to the BTN_EXTRA action.

Signed-off-by: Anthoine Bourgeois <anthoine.bourgeois@gmail.com>
[tony@atomide.com: added missing sign as noted by Anthoine]
Signed-off-by: Tony Lindgren <tony@atomide.com>
9 years agoARM: dts: am437x-gp-evm: Add regulator-always-on and regulator-boot-on for RTC DCDCs
Dave Gerlach [Wed, 5 Aug 2015 10:49:46 +0000 (16:19 +0530)]
ARM: dts: am437x-gp-evm: Add regulator-always-on and regulator-boot-on for RTC DCDCs

DCDC5 and DCDC6 supply rtc and need to be on for accessing the module.

On A1 revision of the TPS65218, FSEAL bit would be undefined without
coin-cell present which in many cases led to it being set, causing DCDC5
and DCDC6 to stay active, but also leading to unexplained failures when
it was not. On B1 revision, FSEAL is always 0 when no coin-cell is present
so this patch is required on boards with B1 revision to ever work. This
implementation works on boards with either A1 or B1 revision and makes
sure that DCDC5 and DCDC6 always stay active.

Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
Signed-off-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
9 years agoARM: dts: AM4372: Reorder the rtc compatible string
Keerthy [Wed, 5 Aug 2015 10:49:45 +0000 (16:19 +0530)]
ARM: dts: AM4372: Reorder the rtc compatible string

Compared to da830-rtc compatibility am3352-rtc is more compatible to
the one in am437x. Hence adding the am3352-rtc compatible to cover the
entire feature set.

The ti,am4372-rtc has no Documentation and not used even in the driver
hence removing it.

Signed-off-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
9 years agoARM: dts: lpc4350-hitex-eval: add emc pins and static memory devices
Joachim Eastwood [Thu, 30 Jul 2015 22:24:27 +0000 (00:24 +0200)]
ARM: dts: lpc4350-hitex-eval: add emc pins and static memory devices

Setup the emc pins used by external memory devices and add
configuration for the devices found on the Hitex eval board.

The Hitex eval board has a NOR Flash attached to chip select 0
and 512 kB of SRAM on chip select 2.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
9 years agoARM: dts: lpc4350-hitex-eval: add ethernet
Ariel D'Alessandro [Thu, 30 Jul 2015 22:24:26 +0000 (00:24 +0200)]
ARM: dts: lpc4350-hitex-eval: add ethernet

Enable Ethernet and add pin muxing and set the correct
frequency on the enet tx clock input.

Signed-off-by: Ariel D'Alessandro <ariel@vanguardiasur.com.ar>
Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
9 years agoARM: dts: lpc4350-hitex-eval: add pinctrl and uart0 muxing
Ariel D'Alessandro [Thu, 30 Jul 2015 22:24:25 +0000 (00:24 +0200)]
ARM: dts: lpc4350-hitex-eval: add pinctrl and uart0 muxing

Setup pin muxing and properties for the debug console on uart0.

Signed-off-by: Ariel D'Alessandro <ariel@vanguardiasur.com.ar>
Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
9 years agoARM: dts: lpc4357-ea4357: add mmio-gpio leds
Joachim Eastwood [Thu, 30 Jul 2015 22:24:24 +0000 (00:24 +0200)]
ARM: dts: lpc4357-ea4357: add mmio-gpio leds

Hook up LEDs on the outputs from the D-type flip-flop found on
the address/data bus.

Note that the LEDx label in the schematics is reversed in regard
to the bits on the data bus. Hence the reverse ordering used here.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
9 years agoARM: dts: lpc4357-ea4357: add emc pins and static memory devices
Joachim Eastwood [Thu, 30 Jul 2015 22:24:23 +0000 (00:24 +0200)]
ARM: dts: lpc4357-ea4357: add emc pins and static memory devices

Setup the emc pins used by external memory devices and add
configuration for the devices found on the EA4357 devkit.

The EA4357 devkit has a NOR Flash attached to chip select 0
and a D-type flip-flop used for LEDs on chip select 2.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
9 years agoARM: dts: lpc4357-ea4357: add usb0
Joachim Eastwood [Thu, 30 Jul 2015 22:24:22 +0000 (00:24 +0200)]
ARM: dts: lpc4357-ea4357: add usb0

Enable USB0 on the EA4357 devkit and setup the required USB0
control pins.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
9 years agoARM: dts: lpc18xx: add pl172 memory-controller node
Joachim Eastwood [Thu, 30 Jul 2015 22:24:21 +0000 (00:24 +0200)]
ARM: dts: lpc18xx: add pl172 memory-controller node

All devices in the LPC18xx/43xx familiy contain a ARM PL172
MultiPort Memory Controller (MPMC).

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
9 years agoARM: dts: lpc18xx: add pl111 lcd controller node
Joachim Eastwood [Thu, 30 Jul 2015 22:24:20 +0000 (00:24 +0200)]
ARM: dts: lpc18xx: add pl111 lcd controller node

NXP LPC185x and LPC435x/70 devices contain a ARM PL111 lcd controller.

Signed-off-by: Joachim Eastwood <joachim.eastwood@gmail.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
9 years agoARM: dts: lpc18xx: add usb otg phy node
Joachim Eastwood [Thu, 30 Jul 2015 22:24:19 +0000 (00:24 +0200)]
ARM: dts: lpc18xx: add usb otg phy node

Add the USB OTG phy under the CREG syscon node and attach it to
the USB0 EHCI controller.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
9 years agoARM: dt: dove: add GPU power domain description
Russell King [Wed, 15 Jul 2015 18:59:52 +0000 (19:59 +0100)]
ARM: dt: dove: add GPU power domain description

Add the description of the GPU power domain to the PMU DT entry.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
9 years agoARM: dt: dove: add video decoder power domain description
Russell King [Wed, 15 Jul 2015 18:59:46 +0000 (19:59 +0100)]
ARM: dt: dove: add video decoder power domain description

Add the description of the video decoder power domain to the PMU DT
entry.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
9 years agoARM: dt: dove: wire up RTC interrupt
Russell King [Wed, 15 Jul 2015 18:59:41 +0000 (19:59 +0100)]
ARM: dt: dove: wire up RTC interrupt

Now that we have a PMU driver, we can wire up the RTC interrupt in the
DT description for Dove.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
9 years agoARM: dt: Add PMU node, making PMU child devices childs of this node
Russell King [Wed, 15 Jul 2015 18:59:31 +0000 (19:59 +0100)]
ARM: dt: Add PMU node, making PMU child devices childs of this node

Add the PMU node, and move the child devices of the PMU node beneath
this new node, giving it a "simple-bus" so that the OF platform
device creator will create these child devices.  No functional change
from this is expected.

The PMU provides multiple features, including an interrupt, reset,
power and isolation controller.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
9 years agoARM: dts: atlas7: add a GPIO key for rearview button
Andy Sun [Tue, 28 Jul 2015 08:38:39 +0000 (16:38 +0800)]
ARM: dts: atlas7: add a GPIO key for rearview button

Touching this key will trigger a camera event for rearview.

Signed-off-by: Andy Sun <Andy.Sun@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
9 years agoARM: dts: atlas7: put pinctl property to get pinmux for NAND
Huayi Li [Tue, 28 Jul 2015 08:03:38 +0000 (16:03 +0800)]
ARM: dts: atlas7: put pinctl property to get pinmux for NAND

Nand controller often share some pins with sd/mmc controller on
atlas and prima series, nand node can be disabled if the pins are
used by sd/mmc controller.

Signed-off-by: Huayi Li <huayi.li@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
9 years agoARM: dts: atlas7: add software digital radio nodes and its DMA channels
Yonghui Zhang [Tue, 28 Jul 2015 07:59:41 +0000 (15:59 +0800)]
ARM: dts: atlas7: add software digital radio nodes and its DMA channels

this patch adds SDR(software digital raio) nodes and the DMA channels
for it.

Signed-off-by: Yonghui Zhang <yonghui.zhang@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
9 years agoARM: dts: atlas7: add lost PWM node
Guo Zeng [Tue, 28 Jul 2015 07:56:34 +0000 (15:56 +0800)]
ARM: dts: atlas7: add lost PWM node

this patch adds lost PWM node, and also fixes the ranges of its
parent node.

Signed-off-by: Guo Zeng <guo.zeng@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
9 years agoARM: dts: atlas7: add lost G2D node
Dongli Li [Tue, 28 Jul 2015 07:48:22 +0000 (15:48 +0800)]
ARM: dts: atlas7: add lost G2D node

this patch adds lost G2D node, and also fixes the range of its
parent node.

Signed-off-by: Dongli Li <Kasin.Li@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
9 years agoARM: dts: atlas7: add multimedia codec node
Xiaofeng Fei [Tue, 28 Jul 2015 07:40:37 +0000 (15:40 +0800)]
ARM: dts: atlas7: add multimedia codec node

this patch adds multimedia video codec node, and also fixes the
ranges of its parent node.

Signed-off-by: Xiaofeng Fei <xiaofeng.fei@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
9 years agoARM: dts: atlas7: add alias name for spi device
Qipan Li [Mon, 9 Feb 2015 06:29:46 +0000 (14:29 +0800)]
ARM: dts: atlas7: add alias name for spi device

spi framework can use alias name of spi device to retrieve the bus id,
so bus id will not be dynamical but statical and it will be easier for
test for a specified spi device with a fixed name like use spidev.

Signed-off-by: Qipan Li <Qipan.Li@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
9 years agoARM: dts: atlas7: add lost gmac node
Ye He [Tue, 28 Jul 2015 07:31:34 +0000 (15:31 +0800)]
ARM: dts: atlas7: add lost gmac node

this patch adds lost ethernet gmac node, and also fix the ranges of
its parent node.

Signed-off-by: Ye He <ye.he@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
9 years agoARM: dts: atlas7: add performance monitor unit node
Ye He [Tue, 28 Jul 2015 07:26:59 +0000 (15:26 +0800)]
ARM: dts: atlas7: add performance monitor unit node

Signed-off-by: Ye He <ye.he@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
9 years agoARM: dts: atlas7: add lost jpeg node
Lily.Li [Tue, 28 Jul 2015 07:17:43 +0000 (15:17 +0800)]
ARM: dts: atlas7: add lost jpeg node

this patch adds lost jpeg node, and also fix the ranges of its
parent node.

Signed-off-by: Lily.Li <Lily.Li@csr.com>
Signed-off-by: Barry Song <Baohua.Song@csr.com>
9 years agoARM: dts: am437x-gp-evm: Add eMMC support
Roger Quadros [Tue, 4 Aug 2015 15:35:00 +0000 (18:35 +0300)]
ARM: dts: am437x-gp-evm: Add eMMC support

Add eMMC pinmux and mmc2 related bits. We keep the mmc2
controller disabled as it conflits with gpmc/NAND.

To enable emmc, simply set mmc2 controller node to "okay"
and set the gpmc node to "disabled" and change the
SelEMMCorNAND gpio-hog to output-high.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
9 years agoARM: dts: am437x-gp-evm: Add gpio-hog for configuring eMMC/NAND driver
Roger Quadros [Tue, 4 Aug 2015 15:34:59 +0000 (18:34 +0300)]
ARM: dts: am437x-gp-evm: Add gpio-hog for configuring eMMC/NAND driver

On this board either eMMC or NAND can work based on the level of
spi2_cs0.gpio0_23. Add a gpio-hog to enable configuration of this
pin in the device tree.

Move pinmux for spi2_cs0 (SEL_eMMCorNANDn) out of
NAND node into gpio0 so it is initialized with gpio0.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
9 years agoARM: dts: am43xx: Introduce MUX_MODE9 for pinctrl
Dave Gerlach [Tue, 4 Aug 2015 15:34:58 +0000 (18:34 +0300)]
ARM: dts: am43xx: Introduce MUX_MODE9 for pinctrl

Some pins on AM43XX support MODE9 for the pinctrl settings so add a
binding to describe this.

Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
9 years agoARM: dts: dra72-evm: Fix spurious card insert/removal interrupt
Kishon Vijay Abraham I [Thu, 30 Jul 2015 08:13:40 +0000 (13:43 +0530)]
ARM: dts: dra72-evm: Fix spurious card insert/removal interrupt

ldo1_reg in addition to being connected to the io lines is also
connected to the card detect line. On card removal, omap_hsmmc
driver does a regulator_disable causing card detect line to be
pulled down. This raises a card insertion interrupt and once the
MMC core detects there is no card inserted, it does a
regulator disable which again raises a card insertion interrupt.
This happens in a loop causing infinite MMC interrupts.

Fix it by making ldo1_reg as always_on.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
9 years agoARM: dts: dra7-evm: Fix spurious card insert/removal interrupt
Kishon Vijay Abraham I [Thu, 30 Jul 2015 08:13:39 +0000 (13:43 +0530)]
ARM: dts: dra7-evm: Fix spurious card insert/removal interrupt

ldo1_reg in addition to being connected to the io lines is also
connected to the card detect line. On card removal, omap_hsmmc
driver does a regulator_disable causing card detect line to be
pulled down. This raises a card insertion interrupt and once the
MMC core detects there is no card inserted, it does a
regulator disable which again raises a card insertion interrupt.
This happens in a loop causing infinite MMC interrupts.

Fix it by making ldo1_reg as always_on.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
9 years agoARM: dts: am57xx-beagle-x15: mmc1: remove redundant pbias-supply property
Kishon Vijay Abraham I [Thu, 30 Jul 2015 08:13:38 +0000 (13:43 +0530)]
ARM: dts: am57xx-beagle-x15: mmc1: remove redundant pbias-supply property

pbias-supply is initialized in dra7.dtsi. Remove redundant initialization
of pbias-supply from MMC1 dt node in am57xx-beagle-x15.dts

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
9 years agoARM: dts: dra7-evm: Add MMCSD card removal GPIO
Nishanth Menon [Thu, 30 Jul 2015 08:13:37 +0000 (13:43 +0530)]
ARM: dts: dra7-evm: Add MMCSD card removal GPIO

SDMMC Card Detect can be used over default GPIO map.

Reported-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
9 years agoARM: dts: dra72-evm: Set max clock frequency of MMC1 and MMC2
Kishon Vijay Abraham I [Thu, 30 Jul 2015 08:13:36 +0000 (13:43 +0530)]
ARM: dts: dra72-evm: Set max clock frequency of MMC1 and MMC2

MMC1 supports SDR104 and MMC2 supports HS200 both of which requires
192MHz clock. Set the maximum operating clock frequency to 192 MHz.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
9 years agoARM: dts: dra7-evm: add evm_3v3_sd regulator
Balaji T K [Thu, 30 Jul 2015 08:13:35 +0000 (13:43 +0530)]
ARM: dts: dra7-evm: add evm_3v3_sd regulator

Add a node for evm_3v3_sd using onboard pcf GPIO expander which feeds
on to mmc vdd.

Update mapping for vmmc-supply and vmmc_aux-supply.
evm_3v3_sd supplies to SD card vdd, and ldo1 to sdcard i/o lines.

Signed-off-by: Balaji T K <balajitk@ti.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
9 years agoARM: dts: dra72-evm: add evm_3v3_sd regulator
Kishon Vijay Abraham I [Thu, 30 Jul 2015 08:13:34 +0000 (13:43 +0530)]
ARM: dts: dra72-evm: add evm_3v3_sd regulator

Add a node for evm_3v3_sd using pcf which feeds on to mmc vdd.
Update mapping for vmmc-supply and vmmc_aux-supply.
evm_3v3_sd supplies to SD card vdd, and ldo1 to sdcard i/o lines.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
9 years agoARM: dts: AM4372: Add the wkup_m3_ipc node
Suman Anna [Fri, 17 Jul 2015 21:08:04 +0000 (16:08 -0500)]
ARM: dts: AM4372: Add the wkup_m3_ipc node

Add the Wakeup M3 IPC device node for the wkup_m3_ipc driver on
AM4372 SoC. This node uses the IPC registers, part of the Control
Module, and is therefore added as a child of the scm node.

Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
9 years agoARM: dts: AM33xx: Add the wkup_m3_ipc node
Suman Anna [Fri, 17 Jul 2015 21:08:03 +0000 (16:08 -0500)]
ARM: dts: AM33xx: Add the wkup_m3_ipc node

Add the Wakeup M3 IPC node for the wkup_m3_ipc driver on AM33xx SoCs.
This node uses the IPC registers, part of the Control Module, and is
therefore added as a child of the scm node.

Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
9 years agoARM: dts: dra7: Add scm_conf@1c04 node
Roger Quadros [Tue, 4 Aug 2015 09:10:14 +0000 (12:10 +0300)]
ARM: dts: dra7: Add scm_conf@1c04 node

This region contains CTRL_CORE_SMA_SW2..9 registers which
are not specific to any domain and can be reasonably
accessed via syscon driver.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Acked-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
9 years agoARM: dts: dra7: fix pinmux@1400 resource length
Roger Quadros [Mon, 27 Jul 2015 10:27:29 +0000 (13:27 +0300)]
ARM: dts: dra7: fix pinmux@1400 resource length

We need to add 4 bytes to include the last 32-bit register space.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Acked-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
9 years agoARM: dts: dra7: Remove ctrl_core and ctrl_general nodes
Roger Quadros [Mon, 27 Jul 2015 10:27:28 +0000 (13:27 +0300)]
ARM: dts: dra7: Remove ctrl_core and ctrl_general nodes

These nodes are wrongly placed. They must come under the
scm node. Nobody uses them either so get rid of them.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Acked-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
9 years agoMerge tag 'mvebu-dt-4.3-2' of git://git.infradead.org/linux-mvebu into next/dt
Olof Johansson [Wed, 5 Aug 2015 09:10:30 +0000 (11:10 +0200)]
Merge tag 'mvebu-dt-4.3-2' of git://git.infradead.org/linux-mvebu into next/dt

mvebu dt changes for v4.3 (part #2)

Add support Buffalo Linkstation LS-WTGL

* tag 'mvebu-dt-4.3-2' of git://git.infradead.org/linux-mvebu:
  ARM: dts: orion5x: add buffalo linkstation ls-wtgl

Signed-off-by: Olof Johansson <olof@lixom.net>
9 years agoMerge tag 'zynq-dt-for-4.3' of https://github.com/Xilinx/linux-xlnx into next/dt
Olof Johansson [Wed, 5 Aug 2015 09:04:18 +0000 (11:04 +0200)]
Merge tag 'zynq-dt-for-4.3' of https://github.com/Xilinx/linux-xlnx into next/dt

arm: Xilinx Zynq dt patches for v4.3

- Add ECC for Synopsys MC
- Add OCM, pushbuttons to zc702

* tag 'zynq-dt-for-4.3' of https://github.com/Xilinx/linux-xlnx:
  ARM: zynq: DT: Add zc702 pushbuttons to DT as gpio-keys
  ARM: zynq: DT: Add missing interrupt for L2 pl310
  Documentation: devicetree: Add ECC information to synopsys ddr controller
  ARM: dts: zynq: Add OCM node

Signed-off-by: Olof Johansson <olof@lixom.net>
9 years agoMerge tag 'qcom-dt-for-4.3' of git://codeaurora.org/quic/kernel/agross-msm into next/dt
Olof Johansson [Wed, 5 Aug 2015 08:45:45 +0000 (10:45 +0200)]
Merge tag 'qcom-dt-for-4.3' of git://codeaurora.org/quic/kernel/agross-msm into next/dt

Qualcomm ARM Based Device Tree Updates for v4.3

* Switch to use pinctrl compatible for GPIOs
* Add RPM regulators for MSM8960
* Add SPI Ethernet support on MSM8960 CDP
* Add SMEM support along with dependencies
* Add PM8921 support for GPIO and MPP
* Fix GSBI cell index
* Switch to use real regulators on APQ8064 w/ SDCC

* tag 'qcom-dt-for-4.3' of git://codeaurora.org/quic/kernel/agross-msm:
  ARM: dts: qs600: Add real regulators to sdcc
  ARM: dts: ifc6410: add real regulators for sdcc nodes.
  ARM: dts: apq8064: remove temporary fixed regulator for mmc
  ARM: dts: apq8064: fix missing gsbi cell-index
  ARM: dts: apq8064: Add DT support for GSBI6 and for UART pin mux
  ARM: dts: apq8064: add pm8921 mpp support
  ARM: dts: apq8064: Add pm8921 mfd and its gpio node
  ARM: dts: msm8974: Add smem reservation and node
  ARM: dts: msm8974: Add tcsr mutex node
  ARM: dts: qcom: Add ks8851 node for wired ethernet
  ARM: dts: qcom: Add MSM8960 CDP RPM regulators
  ARM: dts: qcom: Add MSM8960 RPM and RPM regulator nodes
  ARM: dts: qcom: Replace gpio node with pinctrl node
  ARM: dts: qcom: Replace gpio node with pinctrl node

Signed-off-by: Olof Johansson <olof@lixom.net>
9 years agoMerge tag 'at91-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/nferre/linux...
Olof Johansson [Wed, 5 Aug 2015 08:39:05 +0000 (10:39 +0200)]
Merge tag 'at91-dt' of git://git./linux/kernel/git/nferre/linux-at91 into next/dt

First batch of DT changes for 4.3:
- some fixes on sama5d4 ADC definition
- adding Image Sensor Interface (aka ISI) on at91sam9m10g45ek board
- update rst controller compatible string on sama5 machines
- new sama5d2 DT definition and its reference board:
  the sama5d2 Xplained. Minimal configuration for now.

* tag 'at91-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/nferre/linux-at91:
  ARM: at91/dt: add minimal sama5d2 Xplained board
  ARM: at91/dt: add basic dtsi for sama5d2 SoC
  ARM: at91/dt: sama5: update rstc to correct compatible string
  ARM: at91/dt: add isi & ov2640 dt nodes for at91sam9m10g45ek board
  ARM: at91/dt: sama5d4: move ADC pinctrl to board device trees
  ARM: at91/dt: sama5d4: fix external trigger property

Signed-off-by: Olof Johansson <olof@lixom.net>
9 years agoARM: shmobile: sh73a0 dtsi: Add missing "gpio-ranges" to gpio node
Geert Uytterhoeven [Tue, 4 Aug 2015 13:55:16 +0000 (15:55 +0200)]
ARM: shmobile: sh73a0 dtsi: Add missing "gpio-ranges" to gpio node

If a GPIO driver uses gpiochip_add_pin_range() (which is usually the
case for GPIO/PFC combos), the GPIO hogging mechanism configured from DT
doesn't work:

    requesting hog GPIO led1-high (chip sh73a0_pfc, offset 20) failed

The actual error code is -517 == -EPROBE_DEFER.

The problem is that PFC+GPIO registration is handled in multiple steps:
  1. pinctrl_register(),
  2. gpiochip_add(),
  3. gpiochip_add_pin_range().

Configuration of the hogs is handled in gpiochip_add():

    gpiochip_add
        of_gpiochip_add
            of_gpiochip_scan_hogs
                gpiod_hog
                    gpiochip_request_own_desc
                        __gpiod_request
                            chip->request
                                pinctrl_request_gpio
                                    pinctrl_get_device_gpio_range

However, at this point the GPIO controller hasn't been added to
pinctrldev_list yet, so the range can't be found, and the operation fails
with -EPROBE_DEFER.

To fix this, add a "gpio-ranges" property to the gpio device node, so
the ranges are added by of_gpiochip_add_pin_range(), which is called by
of_gpiochip_add() before the call to of_gpiochip_scan_hogs().

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
9 years agoARM: shmobile: r8a7740 dtsi: Add missing "gpio-ranges" to gpio node
Geert Uytterhoeven [Tue, 4 Aug 2015 13:55:15 +0000 (15:55 +0200)]
ARM: shmobile: r8a7740 dtsi: Add missing "gpio-ranges" to gpio node

If a GPIO driver uses gpiochip_add_pin_range() (which is usually the
case for GPIO/PFC combos), the GPIO hogging mechanism configured from DT
doesn't work:

    requesting hog GPIO lcd0 (chip r8a7740_pfc, offset 176) failed

The actual error code is -517 == -EPROBE_DEFER.

The problem is that PFC+GPIO registration is handled in multiple steps:
  1. pinctrl_register(),
  2. gpiochip_add(),
  3. gpiochip_add_pin_range().

Configuration of the hogs is handled in gpiochip_add():

    gpiochip_add
        of_gpiochip_add
            of_gpiochip_scan_hogs
                gpiod_hog
                    gpiochip_request_own_desc
                        __gpiod_request
                            chip->request
                                pinctrl_request_gpio
                                    pinctrl_get_device_gpio_range

However, at this point the GPIO controller hasn't been added to
pinctrldev_list yet, so the range can't be found, and the operation fails
with -EPROBE_DEFER.

To fix this, add a "gpio-ranges" property to the gpio device node, so
the range is added by of_gpiochip_add_pin_range(), which is called by
of_gpiochip_add() before the call to of_gpiochip_scan_hogs().

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
9 years agoARM: shmobile: r8a73a4 dtsi: Add missing "gpio-ranges" to gpio node
Geert Uytterhoeven [Tue, 4 Aug 2015 13:55:14 +0000 (15:55 +0200)]
ARM: shmobile: r8a73a4 dtsi: Add missing "gpio-ranges" to gpio node

If a GPIO driver uses gpiochip_add_pin_range() (which is usually the
case for GPIO/PFC combos), the GPIO hogging mechanism configured from DT
doesn't work:

    requesting hog GPIO led1-high (chip r8a73a4_pfc, offset 28) failed

The actual error code is -517 == -EPROBE_DEFER.

The problem is that PFC+GPIO registration is handled in multiple steps:
  1. pinctrl_register(),
  2. gpiochip_add(),
  3. gpiochip_add_pin_range().

Configuration of the hogs is handled in gpiochip_add():

    gpiochip_add
        of_gpiochip_add
            of_gpiochip_scan_hogs
                gpiod_hog
                    gpiochip_request_own_desc
                        __gpiod_request
                            chip->request
                                pinctrl_request_gpio
                                    pinctrl_get_device_gpio_range

However, at this point the GPIO controller hasn't been added to
pinctrldev_list yet, so the range can't be found, and the operation fails
with -EPROBE_DEFER.

To fix this, add a "gpio-ranges" property to the gpio device node, so
the ranges are added by of_gpiochip_add_pin_range(), which is called by
of_gpiochip_add() before the call to of_gpiochip_scan_hogs().

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
9 years agoARM: dts: dra7: Add named interrupt property for dwc3
Roger Quadros [Wed, 8 Jul 2015 10:42:32 +0000 (13:42 +0300)]
ARM: dts: dra7: Add named interrupt property for dwc3

Add interrupt names so that the same can be used for OTG easily.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
9 years agoARM: dts: omap5: Add named interrupt property for dwc3
Roger Quadros [Wed, 8 Jul 2015 10:42:31 +0000 (13:42 +0300)]
ARM: dts: omap5: Add named interrupt property for dwc3

Add interrupt names so that the same can be used for OTG easily.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
9 years agoARM: dts: am4372: Add named interrupt property for dwc3
Felipe Balbi [Wed, 8 Jul 2015 10:42:30 +0000 (13:42 +0300)]
ARM: dts: am4372: Add named interrupt property for dwc3

Add interrupt names so that the same can be used for OTG easily.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
9 years agoARM: shmobile: silk: add eMMC DT support
Sergei Shtylyov [Thu, 30 Jul 2015 21:55:23 +0000 (00:55 +0300)]
ARM: shmobile: silk: add eMMC DT support

Define the SILK board dependent part of the MMCIF device node (the board has
eMMC chip) along with the  necessary voltage regulator (note that the Vcc/Vccq
regulator is dummy -- it's required by the MMCIF driver but doesn't actually
exist on the board).

Based on the original patch by Vladimir Barinov
<vladimir.barinov@cogentembedded.com>.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
9 years agoARM: shmobile: r8a7794: add MMCIF DT support
Sergei Shtylyov [Thu, 30 Jul 2015 21:54:05 +0000 (00:54 +0300)]
ARM: shmobile: r8a7794: add MMCIF DT support

Define the generic R8A7794 part of the MMCIF0 device node.

Based on the orginal patch by Shinobu Uehara <shinobu.uehara.xc@renesas.com>.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
9 years agoARM: dts: sun7i: Change cubietruck wifi enable pin to use mmc-pwrseq
Hans de Goede [Fri, 31 Jul 2015 15:41:52 +0000 (17:41 +0200)]
ARM: dts: sun7i: Change cubietruck wifi enable pin to use mmc-pwrseq

The wifi-enable pin of the ap6210 module is not really a regulator,
switch to the mmc-pwrseq framework for controlling it. This more
accurately reflects how the hardware actually works.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
[maxime: Changed the name of the pinctrl node and re-ordered it]
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun5i: hsg-h702: Enable USB OTG controller
Chen-Yu Tsai [Fri, 31 Jul 2015 14:40:59 +0000 (22:40 +0800)]
ARM: dts: sun5i: hsg-h702: Enable USB OTG controller

This tablet has proper USB OTG support, using 3 GPIO pins for
ID and VBUS detection, and also VBUS control.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun5i: hsg-h702: Enable side volume buttons with LRADC
Chen-Yu Tsai [Fri, 31 Jul 2015 14:40:58 +0000 (22:40 +0800)]
ARM: dts: sun5i: hsg-h702: Enable side volume buttons with LRADC

The tablet has volume up/down buttons on the side, connected to the LRADC.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun8i: Enable USB DRC on Ippo Q8H-A33 tablet
Hans de Goede [Fri, 31 Jul 2015 12:53:38 +0000 (14:53 +0200)]
ARM: dts: sun8i: Enable USB DRC on Ippo Q8H-A33 tablet

Enable the otg/drc usb controller on the Ippo Q8H-A33 tablet, for now it
is enabled in host-only mode, because true OTG support requires support
for detecting and enabling Vbus through the axp221 pmic.

For this to work the Vbus on the port must be enabled by u-boot,
or a powered hub must be used.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>