platform/kernel/linux-starfive.git
9 years agoMerge tag 'at91-dt2' of git://git.kernel.org/pub/scm/linux/kernel/git/nferre/linux...
Olof Johansson [Tue, 27 Jan 2015 04:26:34 +0000 (20:26 -0800)]
Merge tag 'at91-dt2' of git://git./linux/kernel/git/nferre/linux-at91 into next/dt

Merge "at91: dt for 3.20 #2" from Nicolas Ferre:

Second DT batch for 3.20:
- correct some pin configuration for at91sam9x5ek
- add pioD on sama5d4 following a modification of pinctrl driver
- add more precise nand compatibility string for sama5d4
- audio modifications for wm8904 or ac97

* tag 'at91-dt2' of git://git.kernel.org/pub/scm/linux/kernel/git/nferre/linux-at91:
  ARM: at91/dt: sam9263: Add ac97 device node
  dt: atmel_ac97c: Add device tree documentation
  ARM: at91: at91sam9n12ek/dt: use dt ids for wm8904
  ARM: at91: sama5d3xek/dt: use dt ids for wm8904
  ARM: at91: sama5d4: dts: change the nand compatible string
  ARM: at91/dt: sama5d4: add pioD controller
  ARM: at91/dt: disable pull-up on vbus-gpio (PB16) to reduce power consumption

Signed-off-by: Olof Johansson <olof@lixom.net>
9 years agoMerge tag 'sunxi-dt-for-3.20' of https://git.kernel.org/pub/scm/linux/kernel/git...
Olof Johansson [Tue, 27 Jan 2015 04:24:47 +0000 (20:24 -0800)]
Merge tag 'sunxi-dt-for-3.20' of https://git./linux/kernel/git/mripard/linux into next/dt

Merge "Allwinner device tree changes for 3.20" from Maxime Ripard:

A lot of changes to the device tree for the 3.20 merge window, mostly with:
  - More DT license convertions, only two DTS and two DTSI are still uncertain
    and have not been converted yet
  - Use the C-preprocessor includes in the device trees.
  - Add support for the A31s SoC and improve the A80 support
  - Add IR receiver, lradc, PS/2 support
  - Add cpufreq support for all SoCs but the A23 and A80.
  - And a lot of new boards

* tag 'sunxi-dt-for-3.20' of https://git.kernel.org/pub/scm/linux/kernel/git/mripard/linux: (64 commits)
  ARM: dts: sun5i: Enable axp209 support on A13-OLinuxIno
  ARM: sunxi: dts: Add A10/A20 PS2 pin muxing options
  ARM: sunxi: dts: Add PS2 nodes to dtsi for A10,A20
  ARM: dts: sun6i: Add resistive touchscreen controller node to dtsi
  ARM: dts: sun4i: Add Hyundau A7HD board
  ARM: dts: sun4i: Add Marsboard A10 board
  ARM: dts: sun9i: Enable mmc2 on A80 Optimus Board
  ARM: dts: sun9i: Add 8 bit mmc pinmux setting for mmc2
  ARM: dts: sun9i: Enable mmc0 on A80 Optimus Board
  ARM: dts: sun9i: Convert a80 optimus board dts to label referencing
  ARM: dts: sun9i: Add mmc controller nodes to the A80 dtsi
  ARM: dts: sun9i: Add mmc config clock nodes
  ARM: dts: sunxi: Add missing mdio label
  ARM: dts: sun5i: Add mk802_a10s board
  ARM: dts: sun4i: Add mk802ii board
  ARM: dts: sun4i: Add mk802 board
  ARM: dts: sun4i: Add dts file for Chuwi V7 CW0825 tablet
  ARM: dts: sun7i: Add dts file for Bananapro board
  ARM: sun6i: Enable ARM arch timers
  ARM: dts: sun6i: Convert hummingbird a31 dts to label references
  ...

Signed-off-by: Olof Johansson <olof@lixom.net>
9 years agoMerge tag 'samsung-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux...
Olof Johansson [Tue, 27 Jan 2015 02:41:45 +0000 (18:41 -0800)]
Merge tag 'samsung-dt' of git://git./linux/kernel/git/kgene/linux-samsung into next/dt

Merge "Samsung DT updates for v3.20" from Kukjin Kim:

- exynos3250
  : add exynos_usbphy node and hsotg nodes
- exynos3250-rinato
  : enable usb
  : cleanup and use macro for gpio-keys
  : add fimd and Panel devices support
- exynos3250-monk
  : enable usb
  : cleanup and use macro for gpio-keys
- exynos5250-snow
  : add power and lid gpio-keys pinctrl
- exynos5420-peach-pit and exynos5800-peach-pi
  : configure regulators for suspend
  : set always on for USB webCam regulators
  : add lid GPIO key device
- exynos5422
  : add support new board Odroid XU3
- dt-bindings
  : add exynos-chipid

* tag 'samsung-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung:
  ARM: dts: Configure regulators for suspend on exynos Peach boards
  ARM: dts: Set Peach boards USB WebCam regulators to always on
  ARM: dts: Add lid GPIO key device node for Peach boards
  ARM: dts: Add power and lid GPIO keys pinctrl for exynos5250-snow
  Documentation: dt-bindings: add exynos-chipid binding information
  ARM: dts: add Panel device support for exynos3250-rinato
  ARM: dts: add fimd device support for exynos3250-rinato
  ARM: dts: use macro in gpio keys for exynos3250 boards
  ARM: dts: remove unnecessary gpio-key nodes for exynos3250 boards
  ARM: dts: Enable USB node for exynos3250-monk
  ARM: dts: Enable USB node for exynos3250-rinato
  ARM: dts: Add hsotg node for exynos3250
  ARM: dts: Add exynos_usbphy node for exynos3250
  ARM: dts: Add dts file for Odroid XU3 board

Signed-off-by: Olof Johansson <olof@lixom.net>
9 years agoARM: dts: re-fromat AT91 part to match other entries
Nicolas Ferre [Tue, 13 Jan 2015 14:43:00 +0000 (15:43 +0100)]
ARM: dts: re-fromat AT91 part to match other entries

The entries are separated as ARM V4/V5 and ARM V7 as some other per-SoC config
options may be removed in the near future.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
9 years agoARM: at91/dt: sam9263: Add ac97 device node
Alexander Stein [Mon, 29 Dec 2014 12:08:41 +0000 (13:08 +0100)]
ARM: at91/dt: sam9263: Add ac97 device node

This adds the device node for the ac97 controller.

Signed-off-by: Alexander Stein <alexanders83@web.de>
Acked-By Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
9 years agodt: atmel_ac97c: Add device tree documentation
Alexander Stein [Mon, 29 Dec 2014 12:08:40 +0000 (13:08 +0100)]
dt: atmel_ac97c: Add device tree documentation

This adds the bindings for AC97 controller device tree support.

Signed-off-by: Alexander Stein <alexanders83@web.de>
Acked-By Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
9 years agoARM: at91: at91sam9n12ek/dt: use dt ids for wm8904
Bo Shen [Mon, 15 Dec 2014 03:31:13 +0000 (11:31 +0800)]
ARM: at91: at91sam9n12ek/dt: use dt ids for wm8904

Using the device tree ids for wm8904 codec.

Signed-off-by: Bo Shen <voice.shen@atmel.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
9 years agoARM: at91: sama5d3xek/dt: use dt ids for wm8904
Alexander Morozov [Mon, 15 Dec 2014 03:31:12 +0000 (11:31 +0800)]
ARM: at91: sama5d3xek/dt: use dt ids for wm8904

Using the wm8904 device tree compatible string.

Signed-off-by: Alexander Morozov <linux@meltdown.ru>
Signed-off-by: Bo Shen <voice.shen@atmel.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
9 years agoARM: at91: sama5d4: dts: change the nand compatible string
Josh Wu [Thu, 22 Jan 2015 10:41:45 +0000 (18:41 +0800)]
ARM: at91: sama5d4: dts: change the nand compatible string

As we introduce a new "atmel,sama5d4-nand" compatible string for sama5d4,
so we need to apply it for sama5d4 chip.

Signed-off-by: Josh Wu <josh.wu@atmel.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
9 years agoARM: dts: sun5i: Enable axp209 support on A13-OLinuxIno
Hans de Goede [Sun, 25 Jan 2015 14:36:08 +0000 (15:36 +0100)]
ARM: dts: sun5i: Enable axp209 support on A13-OLinuxIno

The (non micro) A13-OLinuxIno has an axp203 pmic, enable support for this.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: sunxi: dts: Add A10/A20 PS2 pin muxing options
Vishnu Patekar [Sun, 25 Jan 2015 13:40:09 +0000 (19:10 +0530)]
ARM: sunxi: dts: Add A10/A20 PS2 pin muxing options

Signed-off-by: VishnuPatekar <vishnupatekar0510@gmail.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: sunxi: dts: Add PS2 nodes to dtsi for A10,A20
Vishnu Patekar [Sun, 25 Jan 2015 13:40:08 +0000 (19:10 +0530)]
ARM: sunxi: dts: Add PS2 nodes to dtsi for A10,A20

Signed-off-by: VishnuPatekar <vishnupatekar0510@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun6i: Add resistive touchscreen controller node to dtsi
Chen-Yu Tsai [Sat, 24 Jan 2015 14:33:48 +0000 (22:33 +0800)]
ARM: dts: sun6i: Add resistive touchscreen controller node to dtsi

Now that we support the sun6i variant of the touchscreen controller,
add the device node to the dtsi so we can use it.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoMerge tag 'tegra-for-3.20-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra...
Olof Johansson [Fri, 23 Jan 2015 22:51:41 +0000 (14:51 -0800)]
Merge tag 'tegra-for-3.20-dt' of git://git./linux/kernel/git/tegra/linux into next/dt

Merge "ARM: tegra: Device tree changes for v3.20" from Thierry Reding:

A couple of unit addresses fixes in device trees, addition of microphone
detection on Chromebook 13 and a vendor prefix update.

* tag 'tegra-for-3.20-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux:
  ARM: tegra: Update isl29028 compatible string to use isil vendor prefix
  ARM: tegra: Fix unit address for Cortex-A9 TWD timer
  ARM: dts: tegra20: fix GR3D, DSI unit and reg base addresses
  ARM: tegra: Enable the mic-detect gpio on Acer Chromebook 13

Signed-off-by: Olof Johansson <olof@lixom.net>
9 years agoARM: dts: imx6q: sort dtbs in makefile
Olof Johansson [Fri, 23 Jan 2015 22:45:34 +0000 (14:45 -0800)]
ARM: dts: imx6q: sort dtbs in makefile

Signed-off-by: Olof Johansson <olof@lixom.net>
9 years agoMerge tag 'imx-dt-3.20' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo...
Olof Johansson [Fri, 23 Jan 2015 22:44:16 +0000 (14:44 -0800)]
Merge tag 'imx-dt-3.20' of git://git./linux/kernel/git/shawnguo/linux into next/dt

Merge "ARM: imx: device tree changes for 3.20" from Shawn Guo:

The i.MX device tree update for 3.20:
 - Update i.MX6 operating-points setting in device tree to match the
   latest i.MX6 data sheet
 - Add i.MX6SX sabreauto board support
 - Add imx6dl-udoo board support based off imx6q-udoo
 - Update sabrelite board to include I2C and HDMI support
 - Update the VPU compatible strings to also use cnm,coda<model>
 - Remove the ocram clock from the VPU node, as the clock is already
   provided inside the ocram node
 - Add system reset controller and syscon-reboot for VF610
 - Update VF610 device tree to use zero based naming for GPIO nodes,
   so that the number scheme matches hardware manual
 - A number of random device additions like watchdog for VF610, sahara
   for i.MX53, QSPI for imx6sx-sdb board, etc.

Note: the branch imx/soc was merged into imx/dt because the SNVS device
tree node needs to refer to the new clock ID added by the imx/soc patch.

* tag 'imx-dt-3.20' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux: (28 commits)
  ARM: dts: imx28-evk: remove duplicate property
  ARM: vf610: use zero based naming for GPIO nodes
  ARM: dts: imx6q: enable dma for ecspi5
  ARM: dts: vfxxx: Add SNVS node
  ARM: imx: clk-vf610: Add clock for SNVS
  ARM: imx: clk-vf610: Add clock for UART4 and UART5
  ARM: imx: drop CPUIDLE_FLAG_TIME_VALID from cpuidle-imx6sx
  ARM: dts: imx6dl-udoo: Add board support based off imx6q-udoo
  ARM: imx: support arm power off in cpuidle for i.mx6sx
  ARM: imx: remove unnecessary setting for DSM
  ARM: dts: imx6sx: add i.mx6sx sabreauto board support
  ARM: dts: imx6sx-sdb: Add QSPI support
  ARM: dts: imx6qdl: Remove OCRAM clock from VPU node
  ARM: imx: apf51dev: add gpio-backlight support
  ARM: imx: correct the hardware clock gate setting for shared nodes
  ARM: imx: pllv3: add shift for frequency multiplier
  ARM vf610: add compatibilty strings of supported Vybrid SoC's
  ARM: i.MX53: dts: add sahara module
  ARM: dts: imx6dl: correct cpufreq volt/freq table
  ARM: dts: imx6q: update cpufreq volt/freq table
  ...

Signed-off-by: Olof Johansson <olof@lixom.net>
9 years agoMerge tag 'v3.20-next-dts2' of https://github.com/mbgg/linux-mediatek into next/dt
Olof Johansson [Fri, 23 Jan 2015 22:20:10 +0000 (14:20 -0800)]
Merge tag 'v3.20-next-dts2' of https://github.com/mbgg/linux-mediatek into next/dt

Merge "ARM: mediatek: DT changes for v3.20 (round 2)" from Matthias Brugger:

This adds uart support for mt6592 SoC.

* tag 'v3.20-next-dts2' of https://github.com/mbgg/linux-mediatek:
  ARM: mediatek: dts: Add uart to mt6592

Signed-off-by: Olof Johansson <olof@lixom.net>
9 years agoMerge tag 'mvebu-dt-3.20-2' of git://git.infradead.org/linux-mvebu into next/dt
Olof Johansson [Fri, 23 Jan 2015 22:17:15 +0000 (14:17 -0800)]
Merge tag 'mvebu-dt-3.20-2' of git://git.infradead.org/linux-mvebu into next/dt

Merge "mvebu/dt #2" from Andrew Lunn:

Second set of dt patches for mvebu for v3.20.

* tag 'mvebu-dt-3.20-2' of git://git.infradead.org/linux-mvebu:
  ARM: mvebu: make DTS comments reflect DEBUG_LL changes
  ARM: mvebu: Armada 385 GP: Add regulators to the SATA port
  ARM: Kirkwood: Added support for pogoplug e02 (pink/gray)
  ARM: mvebu: fix compatible strings of MBus on Armada 375 and Armada 38x
  dt: bindings: update mvebu-mbus DT binding with new compatible properties

Signed-off-by: Olof Johansson <olof@lixom.net>
9 years agoMerge tag 'v3.20-rockchip-dts1' of git://git.kernel.org/pub/scm/linux/kernel/git...
Olof Johansson [Fri, 23 Jan 2015 22:06:25 +0000 (14:06 -0800)]
Merge tag 'v3.20-rockchip-dts1' of git://git./linux/kernel/git/mmind/linux-rockchip into next/dt

Merge "ARM: rockchip: soc updates for 3.20" [sic!] from Heiko Stübner:

dts part of core suspend support and limiting of rk3288
sd-card clockspeed to 150mhz

* tag 'v3.20-rockchip-dts1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip:
  ARM: dts: rockchip: add suspend settings for rk3288-evb-rk808
  ARM: dts: rockchip: add RK3288 suspend support
  ARM: dts: rockchip: set dw_mmc max-freq 150Mhz

Signed-off-by: Olof Johansson <olof@lixom.net>
9 years agoMerge tag 'bcm5301x-dt-2015-01-20' of https://github.com/hauke/linux into next/dt
Olof Johansson [Fri, 23 Jan 2015 21:58:01 +0000 (13:58 -0800)]
Merge tag 'bcm5301x-dt-2015-01-20' of https://github.com/hauke/linux into next/dt

Merge "ARM: BCM5301X: DT changes for v3.20" from Hauke Mehrtens:

bcm5301x-dt-2015-01-20: ARM: BCM5301X: dts updates for 3.20

* tag 'bcm5301x-dt-2015-01-20' of https://github.com/hauke/linux:
  ARM: BCM5301X: Add DT for Buffalo WZR-900DHP
  ARM: BCM5301X: Add LEDs for Buffalo devices
  ARM: BCM5301X: Drop unused poll-interval from gpio-keys
  ARM: BCM5301X: Add DT for Luxul XWC-1000

Signed-off-by: Olof Johansson <olof@lixom.net>
9 years agoMerge tag 'omap-for-v3.20/dt-pt2' of git://git.kernel.org/pub/scm/linux/kernel/git...
Olof Johansson [Fri, 23 Jan 2015 21:48:57 +0000 (13:48 -0800)]
Merge tag 'omap-for-v3.20/dt-pt2' of git://git./linux/kernel/git/tmlind/linux-omap into next/dt

Merge "omap device tree changes for v3.20, part 2" from Tony Lindgren:

More changes for omap dts files mostly to add support for
dm816x devices and clocks. Also adds a qspi device for
dra72x-evm.

* tag 'omap-for-v3.20/dt-pt2' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
  ARM: dts: dra72-evm: Add qspi device
  ARM: dts: Add minimal support for dm8168-evm
  ARM: dts: Add basic clocks for dm816x
  ARM: dts: Add basic dm816x device tree configuration

Signed-off-by: Olof Johansson <olof@lixom.net>
9 years agoARM: dts: sun4i: Add Hyundau A7HD board
Hans de Goede [Fri, 23 Jan 2015 15:39:23 +0000 (16:39 +0100)]
ARM: dts: sun4i: Add Hyundau A7HD board

The Hyundai A7HD is a 7" 16:9 A10 powered tablet featuring 1G RAM, 8G
nand, 1024x600 IPS screen, a mini hdmi port, mini usb receptacle and a
headphones port for details see: http://linux-sunxi.org/Hyundai_A7HD

Cc: Mark Janssen <maniac@maniac.nl>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: at91/dt: sama5d4: add pioD controller
Ludovic Desroches [Fri, 16 Jan 2015 15:31:06 +0000 (16:31 +0100)]
ARM: at91/dt: sama5d4: add pioD controller

PioD controller was not described in the device tree since we don't use
it. As pinctrl-at91 allows disabled gpio controllers in the device
tree, we can add it to complete the device description.

Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
9 years agoMerge tag 'qcom-dt-for-3.20' of git://git.kernel.org/pub/scm/linux/kernel/git/galak...
Olof Johansson [Thu, 22 Jan 2015 01:03:01 +0000 (17:03 -0800)]
Merge tag 'qcom-dt-for-3.20' of git://git./linux/kernel/git/galak/linux-qcom into next/dt

Merge "qcom DT changes for v3.20" from Kumar Gala:

Qualcomm ARM Based Device Tree Updates for v3.20

* Correct IPQ8064 tlmm interrupt
* Add Support for SD Card Detect for ifc6410 board

* tag 'qcom-dt-for-3.20' of git://git.kernel.org/pub/scm/linux/kernel/git/galak/linux-qcom:
  ARM: dts: qcom: Correct IPQ8064 tlmm interrupt
  ARM: dts: qcom: Add Support for SD Card Detect for ifc6410 board

Signed-off-by: Olof Johansson <olof@lixom.net>
9 years agoMerge tag 'renesas-dt2-for-v3.20' of git://git.kernel.org/pub/scm/linux/kernel/git...
Olof Johansson [Thu, 22 Jan 2015 01:00:47 +0000 (17:00 -0800)]
Merge tag 'renesas-dt2-for-v3.20' of git://git./linux/kernel/git/horms/renesas into next/dt

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

* Support Renesas memory controllers
* Add SRC interrupt number on r8a779~ and r8a7791 SoCs
* Fix MSTP8 input clocks on r8a7791 SoC
* Add PM domain support to r8a7740
* Add DT bindings for the R-Mobile System Controller
* Use Add sh73a0-specific FSI2 compatible property

* tag 'renesas-dt2-for-v3.20' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
  PM / Domains: R-Mobile SYSC: Document SH-Mobile AG5 (sh73a0) binding
  ARM: shmobile: sh73a0 dtsi: Add memory-controller nodes
  ARM: shmobile: r8a7740 dtsi: Add memory-controller node
  ARM: shmobile: r8a73a4 dtsi: Add memory-controller nodes
  ARM: shmobile: Add DT bindings for Renesas memory controllers
  ARM: shmobile: r8a7791: add SRC interrupt number on DTSI
  ARM: shmobile: r8a7790: add SRC interrupt number on DTSI
  ARM: shmobile: r8a7791: fix MSTP8 input clocks
  ARM: shmobile: r8a7740 dtsi: Add PM domain support
  PM / Domains: Add DT bindings for the R-Mobile System Controller
  ARM: shmobile: sh73a0 dtsi: Add SoC-specific FSI2 compatible property

Signed-off-by: Olof Johansson <olof@lixom.net>
9 years agoMerge tag 'omap-for-v3.20/dt-pt1' of git://git.kernel.org/pub/scm/linux/kernel/git...
Olof Johansson [Thu, 22 Jan 2015 00:51:01 +0000 (16:51 -0800)]
Merge tag 'omap-for-v3.20/dt-pt1' of git://git./linux/kernel/git/tmlind/linux-omap into next/dt

Merge "omap device tree changes for v3.20" from Tony Lindgren:

Device tree changes for omaps. Mostly to add support for new
am437x-idk and update am437x-sk boards. Also enabling new
devices for multiple boards.

* tag 'omap-for-v3.20/dt-pt1' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap: (21 commits)
  ARM: dts: omap3-gta04: Add handling for tv output
  ARM: dts: cm-t3x: add NAND support
  ARM: dts: am57xx-beagle-x15: Add GPIO controlled fan node
  ARM: dts: am437x-idk: add gpio-based power key
  ARM: dts: N950/N9: add twl_power
  ARM: dts: am437x-sk: add power button binding
  ARM: dts: add support for AM437x IDK
  ARM: dts: am437x-gp-evm: add VPFE device tree data
  ARM: dts: am437x-sk-evm: add VPFE device tree data
  ARM: dts: am43x-epos-evm: add VPFE device tree data
  ARM: dts: am4372: add VPFE DT node entries
  ARM: dts: DRA7X: drop id property in pcie_phy
  ARM: dts: omap3-n900: cleanup english
  ARM: dts: am57xx-beagle-x15: Add dual ethernet
  ARM: dts: am437x-sk: remove DSS pulls
  ARM: dts: am437x-sk: remove internal i2c pullups
  ARM: dts: am437x-sk: add explicit pinmux for both USB instances
  ARM: dts: am437x-sk: remove ethernet pulls
  ARM: dts: am437x-sk: add explicit MMC0 pinmux
  ARM: dts: am437x-sk: remove internal pulls from QSPI
  ...

Signed-off-by: Olof Johansson <olof@lixom.net>
9 years agoARM: mvebu: make DTS comments reflect DEBUG_LL changes
Paul Bolle [Mon, 19 Jan 2015 19:40:25 +0000 (20:40 +0100)]
ARM: mvebu: make DTS comments reflect DEBUG_LL changes

The Kconfig symbol DEBUG_MVEBU_UART_ALTERNATE was renamed to
DEBUG_MVEBU_UART0_ALTERNATE. And the symbol DEBUG_MVEBU_UART1_ALTERNATE
was added to allow UART1 as a DEBUG_LL target. Make the comment at the
top of this DTS reflect those changes.

Since we're touching this DTS add comments to show which blocks describe
UART0 and UART1.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
9 years agoARM: mvebu: Armada 385 GP: Add regulators to the SATA port
Gregory CLEMENT [Thu, 15 Jan 2015 14:09:38 +0000 (15:09 +0100)]
ARM: mvebu: Armada 385 GP: Add regulators to the SATA port

Add the regulators to each SATA port.

Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
9 years agoARM: Kirkwood: Added support for pogoplug e02 (pink/gray)
Christoph Junghans [Wed, 14 Jan 2015 04:49:29 +0000 (21:49 -0700)]
ARM: Kirkwood: Added support for pogoplug e02 (pink/gray)

The pogoplug differs from the SheevaPlug only by a
few details, but especially in the led assignments.
This patch was tested under Gentoo Linux and is
based on dts files from Arch Linux ARM and OpenWrt.

Suggested-by: Felix Kaechele <heffer@fedoraproject.org>
Suggested-by: Oleg Rakhmanov <moonman.ca@gmail.com>
Signed-off-by: Christoph Junghans <ottxor@gentoo.org>
[Andrew Lunn <andrew@lunn.ch>: Fixed subject line]
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
9 years agoMerge tag 'sti-dt-for-v3.20-1' of git://git.stlinux.com/devel/kernel/linux-sti into...
Olof Johansson [Wed, 21 Jan 2015 23:25:23 +0000 (15:25 -0800)]
Merge tag 'sti-dt-for-v3.20-1' of git://git.stlinux.com/devel/kernel/linux-sti into next/dt

Merge "STi DT updates for v3.20, round 1" from Maxime Coquelin:

Highlights:
-----------
 - Add USB support for STiH410 & STiH407
 - Add DRM DT nodes for STiH410 & STiH407
 - Add STiH418 SoC support
 - Add DT nodes for MiPHY28lp PHY

* tag 'sti-dt-for-v3.20-1' of git://git.stlinux.com/devel/kernel/linux-sti:
  ARM: DT: STi: STiH407: Add DT node for MiPHY28lp
  ARM: dts: STiH418: Add B2199 board support
  ARM: dts: Add STiH418 SoC support
  ARM: DT: STiH410: Add DRM dt nodes
  ARM: DT: STiH407: Add DRM dt nodes
  ARM: STi: DT: STiH410: Add DT nodes for the ehci and ohci usb controllers.
  ARM: STi: DT: STiH410: Add usb2 picophy dt nodes
  ARM: STi: DT: STiH407: Add usb2 picophy dt nodes

Signed-off-by: Olof Johansson <olof@lixom.net>
9 years agoARM: dts: Add hip01-ca9x2 dts file
Wang Long [Wed, 24 Dec 2014 03:09:58 +0000 (03:09 +0000)]
ARM: dts: Add hip01-ca9x2 dts file

Add dts file for Hisilicon hip01 ca9x2 board

Signed-off-by: Wang Long <long.wanglong@huawei.com>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
[olof: Folded in smp enable-method from a different patch]
Signed-off-by: Olof Johansson <olof@lixom.net>
9 years agoARM: dts: sun4i: Add Marsboard A10 board
Aleksei Mamlin [Tue, 20 Jan 2015 18:03:28 +0000 (22:03 +0400)]
ARM: dts: sun4i: Add Marsboard A10 board

This patch add support for Marsboard A10 board.

The Marsboard A10 is a A10 based development board with 1G RAM, 1G NAND,
micro SD card slot, SATA 2.0 socket, 10/100 ethernet, mini HDMI port,
1 USB OTG port and 2 USB 2.0 ports. Board does not use the AXP209 pmic,
it does not have a pmic at all.
Board also have 2 expansion 70 pin headers.

Signed-off-by: Aleksei Mamlin <mamlinav@gmail.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun9i: Enable mmc2 on A80 Optimus Board
Chen-Yu Tsai [Sat, 17 Jan 2015 05:19:34 +0000 (13:19 +0800)]
ARM: dts: sun9i: Enable mmc2 on A80 Optimus Board

The A80 Optimus Board has a 16GB eMMC connected to mmc2, with 8 bit
wide data bus.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun9i: Add 8 bit mmc pinmux setting for mmc2
Chen-Yu Tsai [Sat, 17 Jan 2015 05:19:33 +0000 (13:19 +0800)]
ARM: dts: sun9i: Add 8 bit mmc pinmux setting for mmc2

mmc2 is available on port C. Add a pinmux setting for 8 bit wide eMMC.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun9i: Enable mmc0 on A80 Optimus Board
Chen-Yu Tsai [Sat, 17 Jan 2015 05:19:32 +0000 (13:19 +0800)]
ARM: dts: sun9i: Enable mmc0 on A80 Optimus Board

Enable the micro-sd slot on the A80 Optimus Board, which is connected to
mmc0. This adds the card-detect gpio and enables mmc0.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun9i: Convert a80 optimus board dts to label referencing
Chen-Yu Tsai [Sat, 17 Jan 2015 05:19:31 +0000 (13:19 +0800)]
ARM: dts: sun9i: Convert a80 optimus board dts to label referencing

The preferred method of referencing nodes from the dtsi is to use
labels, instead of copying the complete tree.

This patch converts sun9i-a80-optimus.dts to use label references.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun9i: Add mmc controller nodes to the A80 dtsi
Chen-Yu Tsai [Sat, 17 Jan 2015 05:19:30 +0000 (13:19 +0800)]
ARM: dts: sun9i: Add mmc controller nodes to the A80 dtsi

The A80 has 4 mmc controllers.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun9i: Add mmc config clock nodes
Chen-Yu Tsai [Sat, 17 Jan 2015 05:19:29 +0000 (13:19 +0800)]
ARM: dts: sun9i: Add mmc config clock nodes

Add the device tree nodes for the mmc config clock nodes.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sunxi: Add missing mdio label
Aleksei Mamlin [Mon, 19 Jan 2015 19:35:22 +0000 (22:35 +0300)]
ARM: dts: sunxi: Add missing mdio label

This patch add missing mdio label for sun[457]i.

Signed-off-by: Aleksei Mamlin <mamlinav@gmail.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun5i: Add mk802_a10s board
Hans de Goede [Sun, 18 Jan 2015 12:09:45 +0000 (13:09 +0100)]
ARM: dts: sun5i: Add mk802_a10s board

The mk802_a10s re-uses is the "classic" mk802 case and functionality, but has
an A10s SoC inside rather then the A10, it features 512M or 1G RAM, 4G nand,
a mini-hdmi female connector, USB-A receptacle, mini-usb receptacle (OTG)
and a sdio realtek wifi chip. Unlike the original mk802 it does have a pmic,
the axp152.

For more details see: http://linux-sunxi.org/Semitime_g2

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
[Maxime: Changed the compatible and node names labels]
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun4i: Add mk802ii board
Hans de Goede [Sun, 18 Jan 2015 12:09:44 +0000 (13:09 +0100)]
ARM: dts: sun4i: Add mk802ii board

The mk802ii is a revised version of the mk802 A10 based hdmi tv-stick, it
features 1G RAM, 4G nand, a hdmi male connector, USB-A receptacle, 2 micro
usb receptacles (OTG & power) and USB-wifi, and does come with an axp209 pmic.

For more details see: http://linux-sunxi.org/Rikomagic_mk802ii

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun4i: Add mk802 board
Hans de Goede [Sun, 18 Jan 2015 12:09:43 +0000 (13:09 +0100)]
ARM: dts: sun4i: Add mk802 board

The mk802 is the "classic" Allwinner A10 based hdmi tv-stick, it features
512M or 1G RAM, 4G nand, a mini-hdmi female connector, USB-A receptacle,
mini-usb receptacle (OTG) and USB-wifi. Somewhat unique the mk802 does not
use the AXP209 pmic, it does not have a pmic at all.

For more details see: http://linux-sunxi.org/Rikomagic_mk802

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun4i: Add dts file for Chuwi V7 CW0825 tablet
Hans de Goede [Sun, 18 Jan 2015 12:08:20 +0000 (13:08 +0100)]
ARM: dts: sun4i: Add dts file for Chuwi V7 CW0825 tablet

The Chuwi V7 is an A10 (sun4i) based tablet with 1G of RAM, 16G of nand flash,
microsd slot, 7" 1024x768 lvds ips panel, mini hdmi out, headphones out,
stereo speakers, front & back camera and usb wifi.

It is clearly marked "CHUWI", "V7" and "Model: CW0825" on the back of the
tablet.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun7i: Add dts file for Bananapro board
Hans de Goede [Sun, 18 Jan 2015 12:08:19 +0000 (13:08 +0100)]
ARM: dts: sun7i: Add dts file for Bananapro board

Add support for the new Bananapro A20 development board from lemaker.org.
This board features 1G RAM, 2 USB A receptacles, 1 micro USB receptacle for
OTG, 1 micro USB receptacle for power, HDMI, sata, Gbit ethernet, ir receiver,
3.5 mm jack for a/v out, on board microphone, 40 gpio pins and sdio wifi.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: sun6i: Enable ARM arch timers
Maxime Ripard [Sun, 11 Jan 2015 19:33:44 +0000 (20:33 +0100)]
ARM: sun6i: Enable ARM arch timers

The A31 has non-initialized architected timers, without CNTFRQ or CNTVOFF set
by the Allwinner's bootloader.

Use the new DT property for such case, and enable the arch timers.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun6i: Convert hummingbird a31 dts to label references
Chen-Yu Tsai [Thu, 15 Jan 2015 15:50:15 +0000 (23:50 +0800)]
ARM: dts: sun6i: Convert hummingbird a31 dts to label references

Using label references is preferred when override settings from the
included dtsi.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun9i: Add pinmux setting for mmc0
Chen-Yu Tsai [Tue, 13 Jan 2015 01:37:31 +0000 (09:37 +0800)]
ARM: dts: sun9i: Add pinmux setting for mmc0

mmc0 is only available on port F, and is always used with a 4 bit wide
bus for the onboard micro-sd slot.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sunxi: Use label to reference pio in sunxi-common-regulators
Chen-Yu Tsai [Tue, 13 Jan 2015 01:37:29 +0000 (09:37 +0800)]
ARM: dts: sunxi: Use label to reference pio in sunxi-common-regulators

Use the label to reference the pin controller node, so that we can use
sunxi-common-regulators with sunxi families that don't share the same
address space mappings, such as sun9i.

This patch is mostly space changes due to the reduction of node parents.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun9i: Add clock-indices property for bus gate clocks
Chen-Yu Tsai [Tue, 13 Jan 2015 01:37:27 +0000 (09:37 +0800)]
ARM: dts: sun9i: Add clock-indices property for bus gate clocks

of_clk_get_parent_name() uses the clock-indices property to resolve
clock phandle arguments in case that the argument index does not
match the clock-output-names sequence.

This is the case on sunxi, where we use the actual bit index as the
argument to the phandle. Add the clock-indices property so that
of_clk_get_parent_name() resolves the names correctly.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun9i: Add mmc module clock nodes for A80
Chen-Yu Tsai [Tue, 13 Jan 2015 01:37:25 +0000 (09:37 +0800)]
ARM: dts: sun9i: Add mmc module clock nodes for A80

The mmc module clocks are A80 specific module 0 (storage) type clocks.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: sun7i: cubietruck: Relicense the device tree under GPLv2/X11
Maxime Ripard [Tue, 2 Sep 2014 17:25:26 +0000 (19:25 +0200)]
ARM: sun7i: cubietruck: Relicense the device tree under GPLv2/X11

The current GPL only licensing on the DTSI makes it very impractical for other
software components licensed under another license.

In order to make it easier for them to reuse our device trees, relicense our
device trees under a GPL/X11 dual-license.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Alexander Bersenev <bay@hackerdom.ru>
Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Carlo Caione <carlo@caione.org>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Olliver Schinagl <oliver@schinagl.nl>
9 years agoARM: sun7i: cubieboard2: Relicense the device tree under GPLv2/X11
Maxime Ripard [Tue, 2 Sep 2014 17:25:26 +0000 (19:25 +0200)]
ARM: sun7i: cubieboard2: Relicense the device tree under GPLv2/X11

The current GPL only licensing on the DTSI makes it very impractical for other
software components licensed under another license.

In order to make it easier for them to reuse our device trees, relicense our
device trees under a GPL/X11 dual-license.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Alexander Bersenev <bay@hackerdom.ru>
Acked-by: Carlo Caione <carlo@caione.org>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Roman Byshko <rbyshko@gmail.com>
9 years agoARM: dts: sun8i: Add dts file for Ippo Q8H v1.2 tablets
Hans de Goede [Tue, 13 Jan 2015 10:44:32 +0000 (11:44 +0100)]
ARM: dts: sun8i: Add dts file for Ippo Q8H v1.2 tablets

The Ippo Q8H v1.2 is almost identical to the v5, still it needs a separate
dtb file since some gpio-s surrounding the wlan/bluetooth are different,
it uses different camera sensors, and different DRAM timings.

Note that atm neither the wlan/bluetooth nor the camera are supported, so
atm their is no difference between the dts files, but because of the different
DRAM timings there are already separate u-boot configs for the 2 different
versions, and the 1.2 config refers to sun8i-a23-ippo-q8h-v1.2.dtb to be
future proof, so we need to provide a sun8i-a23-ippo-q8h-v1.2.dtb file.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun8i: Enable lradc on a23-ippo-q8h-v5
Hans de Goede [Tue, 13 Jan 2015 10:47:04 +0000 (11:47 +0100)]
ARM: dts: sun8i: Enable lradc on a23-ippo-q8h-v5

The a23-ippo-q8h tablets have volume up/down buttons using the lradc. This
has been tested on both a v5 and a v1.2 tablet.

Tested-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun8i: Add lradc node to sun8i-a23.dtsi
Hans de Goede [Tue, 13 Jan 2015 10:47:03 +0000 (11:47 +0100)]
ARM: dts: sun8i: Add lradc node to sun8i-a23.dtsi

The A23 has the same lradc controller as previous Allwinner SoCs.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun4i: cubieboard: add axp209 regulator nodes
Chen-Yu Tsai [Mon, 12 Jan 2015 04:34:09 +0000 (12:34 +0800)]
ARM: dts: sun4i: cubieboard: add axp209 regulator nodes

This patch adds the regulator nodes for the axp209 by including
the axp209 dtsi. As the inputs of these regulators are from the
axp209's PS output, which is basically just a mux over the 2
inputs, it is considered to be unregulated. Thus we do not provide
input supply properties for them.

The regulator names and constraints are based on the board
schematics and the SoC datasheet.

DCDC2 is used as the cpu power supply. This patch also references
it from the cpu node.

Also get rid of axp209 properties already set in axp209.dtsi.

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: add axp209 regulator nodes
Chen-Yu Tsai [Mon, 12 Jan 2015 04:34:07 +0000 (12:34 +0800)]
ARM: dts: sun5i: hsg-h702: add axp209 regulator nodes

This patch adds the regulator nodes for the axp209 by including
the axp209 dtsi. As the inputs of these regulators are from the
axp209's PS output, which is basically just a mux over the 2
inputs, it is considered to be unregulated. Thus we do not provide
input supply properties for them.

The regulator names and constraints are based on the board
schematics and the SoC datasheet.

DCDC2 is used as the cpu power supply. This patch also references
it from the cpu node.

LDO3 powers the USB WiFi module. This patch also references it
from the usb-phy node.

Also get rid of axp209 properties already set in axp209.dtsi.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun7i: cubietruck: add axp209 regulator nodes
Chen-Yu Tsai [Mon, 12 Jan 2015 04:34:05 +0000 (12:34 +0800)]
ARM: dts: sun7i: cubietruck: add axp209 regulator nodes

This patch adds the regulator nodes for the axp209 by including
the axp209 dtsi. As the inputs of these regulators are from the
axp209's PS output, which is basically just a mux over the 2
inputs, it is considered to be unregulated. Thus we do not provide
input supply properties for them.

The regulator names and constraints are based on the board
schematics and the SoC datasheet.

DCDC2 is used as the cpu power supply. This patch also references
it from the cpu node.

Also get rid of axp209 properties already set in axp209.dtsi.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun7i: cubieboard2: add axp209 regulator nodes
Chen-Yu Tsai [Mon, 12 Jan 2015 04:34:04 +0000 (12:34 +0800)]
ARM: dts: sun7i: cubieboard2: add axp209 regulator nodes

This patch adds the regulator nodes for the axp209 by including
the axp209 dtsi. As the inputs of these regulators are from the
axp209's PS output, which is basically just a mux over the 2
inputs, it is considered to be unregulated. Thus we do not provide
input supply properties for them.

The regulator names and constraints are based on the board
schematics and the SoC datasheet.

DCDC2 is used as the cpu power supply. This patch also references
it from the cpu node.

Also get rid of axp209 properties already set in axp209.dtsi.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun4i: Add cpu thermal zones to dtsi
Chen-Yu Tsai [Mon, 12 Jan 2015 04:34:08 +0000 (12:34 +0800)]
ARM: dts: sun4i: Add cpu thermal zones to dtsi

The core temperature sensor now supports thermal zones. Add a thermal
zone mapping for the cpus with passive cooling (cpufreq throttling).

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun5i: Add cpu thermal zones to dtsi
Chen-Yu Tsai [Mon, 12 Jan 2015 04:34:06 +0000 (12:34 +0800)]
ARM: dts: sun5i: Add cpu thermal zones to dtsi

The core temperature sensor now supports thermal zones. Add a thermal
zone mapping for the cpus with passive cooling (cpufreq throttling).

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Eduardo Valentin <edubezval@gmail.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun7i: Add cpu thermal zones to dtsi
Chen-Yu Tsai [Mon, 12 Jan 2015 04:34:03 +0000 (12:34 +0800)]
ARM: dts: sun7i: Add cpu thermal zones to dtsi

The core temperature sensor now supports thermal zones. Add a thermal
zone mapping for the cpus with passive cooling (cpufreq throttling).

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Eduardo Valentin <edubezval@gmail.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sunxi: Add dtsi for AXP209 PMIC
Chen-Yu Tsai [Mon, 12 Jan 2015 04:34:02 +0000 (12:34 +0800)]
ARM: dts: sunxi: Add dtsi for AXP209 PMIC

The AXP209 PMIC is used with some Allwinner SoCs. This patch adds
a dtsi file listing all the regulator nodes. The regulators are
initialized based on their device node names.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: pcduino: Enable user LED and button support for pcDuino
Zoltan HERPAI [Thu, 8 Jan 2015 09:34:24 +0000 (10:34 +0100)]
ARM: dts: pcduino: Enable user LED and button support for pcDuino

The pcDuino board has LEDs connected to PH15/PH16, and back/home/menu
buttons to PH17/18/19 respectively. Enable these via gpio-leds and
gpio-keys. This is shared across the v1 and v2 versions of the board.

Tested on a v2 and verified against the schematics of a v1.

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
Acked-by: Hans de Goede <hdegoede@redhat.com>
[Maxime: Added some newlines between the button nodes]
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sunxi: Add simplefb nodes for de_be0-lcd0, de_be0-lcd0-tve0 pipelines
Hans de Goede [Mon, 19 Jan 2015 13:05:12 +0000 (14:05 +0100)]
ARM: dts: sunxi: Add simplefb nodes for de_be0-lcd0, de_be0-lcd0-tve0 pipelines

Add simplefb nodes for "[de_fe0-]de_be0-lcd0" and "[de_fe0-]de_be0-lcd0-tve0"
display pipelines for when u-boot has set up a pipeline to drive a LCD panel /
VGA output rather then the HDMI output.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun4i: Add cpu clock reference and operating points to dtsi
Chen-Yu Tsai [Tue, 6 Jan 2015 02:35:23 +0000 (10:35 +0800)]
ARM: dts: sun4i: Add cpu clock reference and operating points to dtsi

The cpu core is clocked from the "cpu" clock. Add a reference to it
in the first cpu node. Also add "cpu0" label to the node.

The operating points were taken from the A10 FEX files in the
sunxi-boards repository. All FEX files have the same settings.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun5i: Add cpu clock reference and operating points to dtsi
Chen-Yu Tsai [Tue, 6 Jan 2015 02:35:20 +0000 (10:35 +0800)]
ARM: dts: sun5i: Add cpu clock reference and operating points to dtsi

The cpu core is clocked from the "cpu" clock. Add a reference to it
in the first cpu node. Also add "cpu0" label to the node.

The operating points were taken from the A13 FEX files in the
sunxi-boards repository. All FEX files have the same settings.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun7i: Add cpu clock reference and operating points to dtsi
Chen-Yu Tsai [Tue, 6 Jan 2015 02:35:16 +0000 (10:35 +0800)]
ARM: dts: sun7i: Add cpu clock reference and operating points to dtsi

The cpu core is clocked from the "cpu" clock. Add a reference to it
in the first cpu node. Also add "cpu0" label to the node.

The operating points were taken from the A20 FEX files in the
sunxi-boards repository. Not all boards have the same settings. The
settings in this patch are the most generic ones.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sunxi: Enable thermal sensor support for RTP on sun[457]i
Chen-Yu Tsai [Tue, 6 Jan 2015 02:35:15 +0000 (10:35 +0800)]
ARM: dts: sunxi: Enable thermal sensor support for RTP on sun[457]i

Now that the resistive touchpanel driver supports thermal sensors,
add the "#thermal-sensor-cells" property as required by the thermal
framework.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Eduardo Valentin <edubezval@gmail.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: sunxi: DT: Convert the DTs to use the generic interrupt header
Maxime Ripard [Tue, 16 Dec 2014 21:59:59 +0000 (22:59 +0100)]
ARM: sunxi: DT: Convert the DTs to use the generic interrupt header

The NMI IRQ controller uses the standard flags definition for the IRQ level and
edges.

Use the common header to use defines instead of opaque numbers.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: sunxi: DT: Convert the DTs to use the GIC headers
Maxime Ripard [Tue, 16 Dec 2014 21:59:58 +0000 (22:59 +0100)]
ARM: sunxi: DT: Convert the DTs to use the GIC headers

The GIC requires some extra opaque arguments to set the IRQ type and flags.

Convert the DTs to using the common defines.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: sunxi: DT: Convert the DTs to use a header for the pinctrl nodes
Maxime Ripard [Tue, 16 Dec 2014 21:59:57 +0000 (22:59 +0100)]
ARM: sunxi: DT: Convert the DTs to use a header for the pinctrl nodes

The pinctrl nodes require some extra opaque arguments for the pull up and drive
strength values.

Introduce a new header file and convert the device trees to replace these
opaque numbers by defines.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: sunxi: DT: Convert the DTs to use a header for the DMA arguments
Maxime Ripard [Tue, 16 Dec 2014 21:59:56 +0000 (22:59 +0100)]
ARM: sunxi: DT: Convert the DTs to use a header for the DMA arguments

The DMA engine for the A10/A20 and derivatives require an opaque extra
argument.

Add a dt-bindings header, and convert the device trees to it.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: sunxi: DT: convert DTs to use common GPIOs includes
Maxime Ripard [Tue, 16 Dec 2014 21:59:55 +0000 (22:59 +0100)]
ARM: sunxi: DT: convert DTs to use common GPIOs includes

Replace the various raw GPIO flags by their definition in the common
dt-bindings header.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: sunxi: DT: Convert to device tree includes
Maxime Ripard [Tue, 16 Dec 2014 21:59:54 +0000 (22:59 +0100)]
ARM: sunxi: DT: Convert to device tree includes

Prepare the device trees to use the C preprocessor.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun6i: Add dts file for CSQ CS908 board
Hans de Goede [Mon, 29 Dec 2014 11:09:26 +0000 (12:09 +0100)]
ARM: dts: sun6i: Add dts file for CSQ CS908 board

The CSQ CS908 is an A31s based top-set box, with 1G RAM, 8G NAND,
rtl8188etv usb wifi, 2 USB A receptacles (1 connected through the OTG
controller), ethernet, 3.5 mm jack with a/v out and hdmi out.

Note it has no sdcard slot and therefore can only be fel booted.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun6i: Add sun6i-a31s.dtsi
Hans de Goede [Mon, 29 Dec 2014 11:09:25 +0000 (12:09 +0100)]
ARM: dts: sun6i: Add sun6i-a31s.dtsi

Add a dtsi file for A31s based boards.

Since the  A31s is the same die as the A31 in a different package, this dtsi
simply includes sun6i-a31.dtsi and then overrides the pinctrl compatible to
reflect the different package, everything else is identical.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun7i: Add lradc node
Hans de Goede [Tue, 23 Dec 2014 10:13:22 +0000 (11:13 +0100)]
ARM: dts: sun7i: Add lradc node

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun5i: Add lradc node
Hans de Goede [Tue, 23 Dec 2014 10:13:21 +0000 (11:13 +0100)]
ARM: dts: sun5i: Add lradc node

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun4i: Add lradc node
Hans de Goede [Tue, 23 Dec 2014 10:13:20 +0000 (11:13 +0100)]
ARM: dts: sun4i: Add lradc node

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun6i: Enable ir receiver on the Mele M9
Hans de Goede [Wed, 17 Dec 2014 17:18:22 +0000 (18:18 +0100)]
ARM: dts: sun6i: Enable ir receiver on the Mele M9

The Mele M9 has an ir receiver, enable it.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun6i: Add ir node
Hans de Goede [Mon, 29 Dec 2014 11:09:24 +0000 (12:09 +0100)]
ARM: dts: sun6i: Add ir node

Add a node for the ir receiver found on the A31.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
[Maxime: Added a node label]
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun6i: Add ir_clk node
Hans de Goede [Wed, 17 Dec 2014 17:18:19 +0000 (18:18 +0100)]
ARM: dts: sun6i: Add ir_clk node

Add an ir_clk sub-node to the prcm node.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: sun4i: dt: cubieboard: Enable SPI0
Alexandru Gagniuc [Mon, 8 Dec 2014 10:14:02 +0000 (04:14 -0600)]
ARM: sun4i: dt: cubieboard: Enable SPI0

Only SPI0 is enabled, as the schematic denotes it as the only SPI bus,
while other pins are reserved for different peripherals.

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: sun4i: dt: Add pin muxing options for SPI
Alexandru Gagniuc [Mon, 8 Dec 2014 10:14:01 +0000 (04:14 -0600)]
ARM: sun4i: dt: Add pin muxing options for SPI

These are based on the available SPI configurations of Cubieboard,
Olimex LIME, and PcDuino. There is no pin group for SPI3, as all the
boards seem to use those pins for EMAC.

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun6i: hummingbird: Add ethernet phy reset gpio properties
Chen-Yu Tsai [Wed, 3 Dec 2014 07:19:13 +0000 (15:19 +0800)]
ARM: dts: sun6i: hummingbird: Add ethernet phy reset gpio properties

On the Hummingbird A31 board, the RTL8211E ethernet phy has its reset
line connect to a gpio pin, instead of floating like on other boards.
Add the stmmac properties for describing the reset gpio.

The reset delays were taken from the RTL8211E datasheet.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun6i: Add pinmux settings for the ir pins
Hans de Goede [Sun, 23 Nov 2014 13:38:14 +0000 (14:38 +0100)]
ARM: dts: sun6i: Add pinmux settings for the ir pins

Add pinmux settings for the ir receive pin of the A31.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: dts: sun4i: Add simplefb node with de_fe0-de_be0-lcd0-hdmi pipeline
Hans de Goede [Mon, 19 Jan 2015 13:01:17 +0000 (14:01 +0100)]
ARM: dts: sun4i: Add simplefb node with de_fe0-de_be0-lcd0-hdmi pipeline

Testing has shown that on sun4i the display backend engine does not have
deep enough fifo-s causing flickering / tearing in full-hd mode due to
fifo underruns. This can be avoided by letting the display frontend engine
do the dma from memory, and then letting it feed the data directly into
the backend unmodified, as the frontend does have deep enough fifo-s.

Note since u-boot-v2015.01 has been released using the de_be0-lcd0-hdmi
pipeline on sun4i, we need to keep that one around too (unfortunately).

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
9 years agoARM: BCM5301X: Add DT for Buffalo WZR-900DHP
Rafał Miłecki [Tue, 20 Jan 2015 21:42:16 +0000 (22:42 +0100)]
ARM: BCM5301X: Add DT for Buffalo WZR-900DHP

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
9 years agoARM: BCM5301X: Add LEDs for Buffalo devices
Rafał Miłecki [Wed, 14 Jan 2015 07:20:49 +0000 (08:20 +0100)]
ARM: BCM5301X: Add LEDs for Buffalo devices

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
9 years agoARM: BCM5301X: Drop unused poll-interval from gpio-keys
Rafał Miłecki [Wed, 14 Jan 2015 07:20:48 +0000 (08:20 +0100)]
ARM: BCM5301X: Drop unused poll-interval from gpio-keys

It was accidentally left (& copied & pasted all around) from our
experiments with gpio-keys-polled.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
9 years agoARM: BCM5301X: Add DT for Luxul XWC-1000
Dan Haab [Mon, 19 Jan 2015 19:45:37 +0000 (12:45 -0700)]
ARM: BCM5301X: Add DT for Luxul XWC-1000

Luxul XWC-1000 is a controller device based on BCM4708 SoC. The only
unusual thing in its DTS file is "ubi" partition on NAND flash.

Signed-off-by: Dan Haab <dhaab@luxul.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
9 years agoARM: dts: dra72-evm: Add qspi device
Mugunthan V N [Mon, 19 Jan 2015 09:49:28 +0000 (15:19 +0530)]
ARM: dts: dra72-evm: Add qspi device

These add device tree entry for qspi device on dra72-evm.

Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
9 years agoARM: mediatek: dts: Add uart to mt6592
Matthias Brugger [Wed, 14 Jan 2015 08:45:53 +0000 (09:45 +0100)]
ARM: mediatek: dts: Add uart to mt6592

This patch adds the uart ports and the uart clock to Mediateks
mt6592 SoC.

Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
9 years agoARM: dts: imx28-evk: remove duplicate property
Michael Heimpold [Tue, 7 Oct 2014 21:00:39 +0000 (23:00 +0200)]
ARM: dts: imx28-evk: remove duplicate property

Seems to be a left-over from an automatic merge.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Reviewed-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
9 years agoARM: vf610: use zero based naming for GPIO nodes
Stefan Agner [Fri, 16 Jan 2015 17:06:15 +0000 (18:06 +0100)]
ARM: vf610: use zero based naming for GPIO nodes

On Vybrid, all peripherals are numbered starting with zero,
including the GPIO and PORT module. However, the labels of the
corresponding device tree nodes start with one, which is confusing.
Fix that by renaming the labels of the gpio nodes in the device
tree.

Signed-off-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
9 years agoARM: dts: imx6q: enable dma for ecspi5
Anton Bondarenko [Tue, 13 Jan 2015 18:04:08 +0000 (19:04 +0100)]
ARM: dts: imx6q: enable dma for ecspi5

Enable dma support for ecspi5 controller

Signed-off-by: Anton Bondarenko <anton_bondarenko@mentor.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
9 years agoMerge tag 'renesas-dt-cleanups2-for-v3.20' of git://git.kernel.org/pub/scm/linux...
Olof Johansson [Tue, 20 Jan 2015 00:34:00 +0000 (16:34 -0800)]
Merge tag 'renesas-dt-cleanups2-for-v3.20' of git://git./linux/kernel/git/horms/renesas into next/dt

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

Second Round of Renesas ARM Based SoC DT Cleanups for v3.20

* Tidy up #sound-dai-cells settings
* Drop "renesas,rcar_sound" compatible value

* tag 'renesas-dt-cleanups2-for-v3.20' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
  ARM: shmobile: r8a7791: tidyup #sound-dai-cells settings
  ARM: shmobile: r8a7790: tidyup #sound-dai-cells settings
  ARM: shmobile: r8a7791 dtsi: Drop "renesas,rcar_sound" compatible value
  ARM: shmobile: r8a7790 dtsi: Drop "renesas,rcar_sound" compatible value

Signed-off-by: Olof Johansson <olof@lixom.net>
9 years agoARM: dts: move alphascale in makefile
Olof Johansson [Tue, 20 Jan 2015 00:32:42 +0000 (16:32 -0800)]
ARM: dts: move alphascale in makefile

The file is roughly sorted alphabetically (with some exceptions where
old options have been split in two), so alphascale should go at the
top instead of at the bottom.

Also linewrap like other entries have been lately.

Signed-off-by: Olof Johansson <olof@lixom.net>
9 years agoMerge branch 'asm/dt' into next/dt
Olof Johansson [Tue, 20 Jan 2015 00:30:48 +0000 (16:30 -0800)]
Merge branch 'asm/dt' into next/dt

* asm/dt:
  add Alphascale to vendor-prefixes.txt
  ARM: add alphascale,acc.txt bindings documentation
  ARM: dts: add DT for Alphascale ASM9260 SoC