GitHub/moto-9609/android_kernel_motorola_exynos9610.git
9 years agoARM: dts: zynq: Add devicetree entry for Xilinx Zynq reset controller.
Moritz Fischer [Fri, 31 Jul 2015 01:13:55 +0000 (18:13 -0700)]
ARM: dts: zynq: Add devicetree entry for Xilinx Zynq reset controller.

Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
9 years agoARM: dts: UniPhier: fix PPI interrupt CPU mask of timer nodes
Masahiro Yamada [Wed, 19 Aug 2015 05:49:26 +0000 (14:49 +0900)]
ARM: dts: UniPhier: fix PPI interrupt CPU mask of timer nodes

This SoC is integrated with 4 Cortex-A9 cores.  The GIC bindings
document says that the bits[15:8] of the 3rd cell of the interrupts
property represents PPI interrupt CPU mask.  Because the timer
interrupts are wired to all of the 4 cores, bits[15:8] should be set
to 0xf.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
9 years agoMerge tag 'omap-for-v4.3/dt-pt4-v2' of git://git.kernel.org/pub/scm/linux/kernel...
Olof Johansson [Tue, 18 Aug 2015 20:33:48 +0000 (13:33 -0700)]
Merge tag 'omap-for-v4.3/dt-pt4-v2' of git://git./linux/kernel/git/tmlind/linux-omap into next/dt

Fix up bogus RTC compatible change for am4372 and add missing
DPLL for am4372 cpsw Ethernet driver. Also add ARM global and
local timers for am4372.

* tag 'omap-for-v4.3/dt-pt4-v2' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
  arm: boot: dts: am4372: add ARM timers and SCU nodes
  ARM: dts: AM4372: Add the am4372-rtc compatible string
  ARM: dts: am4372: Set the default clock rate for dpll_clksel_mac_clk clock
  ARM: dts: AM437X: add dpll_clksel_mac_clk node

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

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

* Enable Clock Domain support of the Clock Pulse Generator (CPG)
  Module Stop (MSTP) Clocks driver.

* tag 'renesas-dt4-for-v4.3' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
  ARM: shmobile: r8a7794 dtsi: Add CPG/MSTP Clock Domain
  ARM: shmobile: r8a7793 dtsi: Add CPG/MSTP Clock Domain
  ARM: shmobile: r8a7791 dtsi: Add CPG/MSTP Clock Domain
  ARM: shmobile: r8a7790 dtsi: Add CPG/MSTP Clock Domain
  ARM: shmobile: r8a7779 dtsi: Add CPG/MSTP Clock Domain
  ARM: shmobile: r8a7778 dtsi: Add CPG/MSTP Clock Domain
  ARM: shmobile: r7s72100 dtsi: Add CPG/MSTP Clock Domain
  clk: shmobile: rz: Add CPG/MSTP Clock Domain support
  clk: shmobile: rcar-gen2: Add CPG/MSTP Clock Domain support
  clk: shmobile: r8a7779: Add CPG/MSTP Clock Domain support
  clk: shmobile: r8a7778: Add CPG/MSTP Clock Domain support
  clk: shmobile: Add CPG/MSTP Clock Domain support

Signed-off-by: Olof Johansson <olof@lixom.net>
9 years agoARM: dts: vexpress: Use assigned-clock-parents for sp810
Stephen Boyd [Wed, 12 Aug 2015 01:36:50 +0000 (18:36 -0700)]
ARM: dts: vexpress: Use assigned-clock-parents for sp810

The sp810 clk driver is calling the clk consumer APIs from
clk_prepare ops to change the parent to a 1 MHz fixed rate clock
for each of the clocks that the driver provides. Use
assigned-clock-parents for this instead of doing it in the driver
to avoid using the consumer API in provider code. This also
allows us to remove the usage of clk provider APIs that take a
struct clk as an argument from the sp810 driver.

Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Tested-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
9 years agoMerge tag 'imx-dt-4.3' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo...
Olof Johansson [Tue, 18 Aug 2015 20:14:39 +0000 (13:14 -0700)]
Merge tag 'imx-dt-4.3' of git://git./linux/kernel/git/shawnguo/linux into next/dt

The i.MX device tree updates for 4.3:
 - Add audio and eTSEC device support and update dspi node for LS1021A.
 - Add initial i.MX6UL and imx6ul-14x14-evk board support, and enable
   a bunch of device support for i.MX6UL, including RTC, power key, USB,
   QSPI, and dual FEC.
 - Enable HDMI and LVDS dual display support for a few imx6qdl boards.
 - Support of imx6sl-warp board rev1.12, the version which will be
   publicly available for the customers.
 - A few i.MX7D device additions, watchdog, cortex-a7 coresight
   components, RTC, power key, power off.
 - Some Vybrid updates: add device support for I2C, QSPI, eSDHC etc.,
   update ADC node, and define stdout-path property.
 - A few random updates for i.MX27 and i.MX53 devices.

* tag 'imx-dt-4.3' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux: (44 commits)
  ARM: dts: imx6ul: add snvs power key support
  ARM: dts: imx6ul: add RTC support
  ARM: dts: imx6ul: enable GPC as extended interrupt controller
  ARM: dts: imx6sx: correct property name for wakeup source
  ARM: dts: add property for maximum ADC clock frequencies
  ARM: dts: imx7d: enable snvs rtc, onoffkey and power off
  ARM: dts: imx6ul-14x14-evk: add fec1 and fec2 support
  ARM: dts: imx: add fec1 and fec2 nodes for SOC i.MX6UL
  ARM: dts: imx27: add support of internal rtc
  ARM: dts: vf-colibri: define stdout-path property
  ARM: dts: ls1021a: Enable the eTSEC ports on QDS and TWR
  ARM: dts: ls1021a: Add the eTSEC controller nodes
  ARM: dts: imx6ul: add qspi support
  ARM: dts: imx6ul: fix low case define in imx6ul-pinfunc.h
  ARM: dts: imx6ul: add usb host and function support
  ARM: dts: vfxxx: Add io-channel-cells property for ADC node
  ARM: dts: ls1021a: Add dts nodes for audio on LS1021A
  ARM: imx6qdl-sabreauto.dtsi: enable USB support
  ARM: dts: imx: update snvs to use syscon access register
  ARM: dts: imx: add imx6ul and imx6ul evk board support
  ...

Signed-off-by: Olof Johansson <olof@lixom.net>
9 years agoMerge tag 'rpi-dt-for-armsoc-4.3' of git://git.kernel.org/pub/scm/linux/kernel/git...
Olof Johansson [Thu, 13 Aug 2015 10:26:29 +0000 (12:26 +0200)]
Merge tag 'rpi-dt-for-armsoc-4.3' of git://git./linux/kernel/git/rpi/linux-rpi into next/dt

 - New Firmware node and accompanying binding document

* tag 'rpi-dt-for-armsoc-4.3' of git://git.kernel.org/pub/scm/linux/kernel/git/rpi/linux-rpi:
  dt/bindings: Add binding for the Raspberry Pi firmware driver
  ARM: bcm2835: Add the firmware driver information to the RPi DT

Signed-off-by: Olof Johansson <olof@lixom.net>
9 years agoMerge tag 'socfpga_dts_for_v4.3_part_2' of git://git.kernel.org/pub/scm/linux/kernel...
Olof Johansson [Thu, 13 Aug 2015 10:19:38 +0000 (12:19 +0200)]
Merge tag 'socfpga_dts_for_v4.3_part_2' of git://git./linux/kernel/git/dinguyen/linux into next/dt

SoCFPGA DTS updates for v4.3, take 2
- Add DTS property "altr,modrst-offset" for reset driver to
  use
- Add updated reset defines for the reset driver
- Add reset property for EMACs on Arria10

* tag 'socfpga_dts_for_v4.3_part_2' of git://git.kernel.org/pub/scm/linux/kernel/git/dinguyen/linux:
  ARM: socfpga: dts: Add resets for EMACs on Arria10
  ARM: socfpga: dts: add "altr,modrst-offset" property
  dt-bindings: Add reset manager offsets for Arria10

Signed-off-by: Olof Johansson <olof@lixom.net>
9 years agoMerge tag 'v4.3-rockchip32-dts2' of git://git.kernel.org/pub/scm/linux/kernel/git...
Olof Johansson [Thu, 13 Aug 2015 10:14:29 +0000 (12:14 +0200)]
Merge tag 'v4.3-rockchip32-dts2' of git://git./linux/kernel/git/mmind/linux-rockchip into next/dt

Some more devicetree changes, including usbphy support for the
Cortex-A9 SoCs and actually enabling usb on the rk3066-marsboard,
Two more veyron-devices - namely Speedy and Minnie and a fix for
the tsadc.
One slightly more interesting fix is the blocking of the last
16MB of memory on 4GB rk3288 devices. The rk3288 cannot use this
area for dma operations, so things like the mmc or usb controllers
regularly fail when trying to read data. This solution mimicks the
solution from the ChromeOS kernel, who also do not seem to have
found a better solution yet. Here it only moves to the devicetree.
As this issue is also present on the arm64 rk3368, any future
better solution to this problem would need to describe this in
the devicetree as well and could then remove this block.

* tag 'v4.3-rockchip32-dts2' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip:
  ARM: dts: rockchip: add veyron-minnie board
  ARM: dts: rockchip: reserve unusable memory region on rk3288
  ARM: dts: rockchip: enable usb controller on marsboard
  ARM: dts: rockchip: add usb phys to Cortex-A9 socs
  ARM: dts: rockchip: set correct dwc2 params for cortex-a9 socs
  ARM: dts: rockchip: Add veyron-speedy board
  ARM: dts: rockchip: Use correct dts properties for tsadc node on veyron

Signed-off-by: Olof Johansson <olof@lixom.net>
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 agoarm: boot: dts: am4372: add ARM timers and SCU nodes
Felipe Balbi [Wed, 12 Aug 2015 19:56:54 +0000 (14:56 -0500)]
arm: boot: dts: am4372: add ARM timers and SCU nodes

AM437x devices sport SCU, TWD and Global timers,
let's add them to DTS so they have a chance to
probe and be used by Linux.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
9 years agoARM: dts: AM4372: Add the am4372-rtc compatible string
Keerthy [Fri, 7 Aug 2015 05:07:19 +0000 (10:37 +0530)]
ARM: dts: AM4372: Add the am4372-rtc compatible string

am4372-rtc string was already part of dts, introduced to identify
the rtc specific to am4372 family of SoCs. It was removed in one of the
previous patches. Adding back the same with appropriate documentation.

Signed-off-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
9 years agoMerge branch 'for-4.3/ti-clk-dt' of https://github.com/t-kristo/linux-pm into omap...
Tony Lindgren [Wed, 12 Aug 2015 08:38:08 +0000 (01:38 -0700)]
Merge branch 'for-4.3/ti-clk-dt' of https://github.com/t-kristo/linux-pm into omap-for-v4.3/dt-v2

9 years agoARM: shmobile: r8a7794 dtsi: Add CPG/MSTP Clock Domain
Geert Uytterhoeven [Tue, 4 Aug 2015 12:28:13 +0000 (14:28 +0200)]
ARM: shmobile: r8a7794 dtsi: Add CPG/MSTP Clock Domain

Add an appropriate "#power-domain-cells" property to the cpg_clocks
device node, to create the CPG/MSTP Clock Domain.

Add "power-domains" properties to all device nodes for devices that are
part of the CPG/MSTP Clock Domain and can be power-managed through an
MSTP clock.  This applies to most on-SoC devices, which have a
one-to-one mapping from SoC device to DT device node.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
9 years agoARM: shmobile: r8a7793 dtsi: Add CPG/MSTP Clock Domain
Geert Uytterhoeven [Tue, 4 Aug 2015 12:28:12 +0000 (14:28 +0200)]
ARM: shmobile: r8a7793 dtsi: Add CPG/MSTP Clock Domain

Add an appropriate "#power-domain-cells" property to the cpg_clocks
device node, to create the CPG/MSTP Clock Domain.

Add "power-domains" properties to all device nodes for devices that are
part of the CPG/MSTP Clock Domain and can be power-managed through an
MSTP clock.  This applies to most on-SoC devices, which have a
one-to-one mapping from SoC device to DT device node.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
9 years agoARM: shmobile: r8a7791 dtsi: Add CPG/MSTP Clock Domain
Geert Uytterhoeven [Tue, 4 Aug 2015 12:28:11 +0000 (14:28 +0200)]
ARM: shmobile: r8a7791 dtsi: Add CPG/MSTP Clock Domain

Add an appropriate "#power-domain-cells" property to the cpg_clocks
device node, to create the CPG/MSTP Clock Domain.

Add "power-domains" properties to all device nodes for devices that are
part of the CPG/MSTP Clock Domain and can be power-managed through an
MSTP clock.  This applies to most on-SoC devices, which have a
one-to-one mapping from SoC device to DT device node.  Notable
exceptions are the "display" and "sound" nodes, which represent multiple
SoC devices, each having their own MSTP clocks.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
9 years agoARM: shmobile: r8a7790 dtsi: Add CPG/MSTP Clock Domain
Geert Uytterhoeven [Tue, 4 Aug 2015 12:28:10 +0000 (14:28 +0200)]
ARM: shmobile: r8a7790 dtsi: Add CPG/MSTP Clock Domain

Add an appropriate "#power-domain-cells" property to the cpg_clocks
device node, to create the CPG/MSTP Clock Domain.

Add "power-domains" properties to all device nodes for devices that are
part of the CPG/MSTP Clock Domain and can be power-managed through an
MSTP clock.  This applies to most on-SoC devices, which have a
one-to-one mapping from SoC device to DT device node.  Notable
exceptions are the "display" and "sound" nodes, which represent multiple
SoC devices, each having their own MSTP clocks.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
9 years agoARM: shmobile: r8a7779 dtsi: Add CPG/MSTP Clock Domain
Geert Uytterhoeven [Tue, 4 Aug 2015 12:28:09 +0000 (14:28 +0200)]
ARM: shmobile: r8a7779 dtsi: Add CPG/MSTP Clock Domain

Add an appropriate "#power-domain-cells" property to the cpg_clocks
device node, to create the CPG/MSTP Clock Domain.

Add "power-domains" properties to all device nodes for devices that are
part of the CPG/MSTP Clock Domain and can be power-managed through an
MSTP clock.  This applies to most on-SoC devices, which have a
one-to-one mapping from SoC device to DT device node.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
9 years agoARM: shmobile: r8a7778 dtsi: Add CPG/MSTP Clock Domain
Geert Uytterhoeven [Tue, 4 Aug 2015 12:28:08 +0000 (14:28 +0200)]
ARM: shmobile: r8a7778 dtsi: Add CPG/MSTP Clock Domain

Add an appropriate "#power-domain-cells" property to the cpg_clocks
device node, to create the CPG/MSTP Clock Domain.

Add "power-domains" properties to all device nodes for devices that are
part of the CPG/MSTP Clock Domain and can be power-managed through an
MSTP clock.  This applies to most on-SoC devices, which have a
one-to-one mapping from SoC device to DT device node.  A notable
exception is the "sound" node, which represents multiple SoC devices,
each having their own MSTP clocks.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
9 years agoARM: shmobile: r7s72100 dtsi: Add CPG/MSTP Clock Domain
Geert Uytterhoeven [Tue, 4 Aug 2015 12:28:07 +0000 (14:28 +0200)]
ARM: shmobile: r7s72100 dtsi: Add CPG/MSTP Clock Domain

Add an appropriate "#power-domain-cells" property to the cpg_clocks
device node, to create the CPG/MSTP Clock Domain.

Add "power-domains" properties to all device nodes for devices that are
part of the CPG/MSTP Clock Domain and can be power-managed through an
MSTP clock.  This applies to most on-SoC devices, which have a
one-to-one mapping from SoC device to DT device node.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
9 years agoMerge branch 'clk-for-v4.3' into dt-for-v4.3
Simon Horman [Wed, 12 Aug 2015 02:15:19 +0000 (11:15 +0900)]
Merge branch 'clk-for-v4.3' into dt-for-v4.3

9 years agoclk: shmobile: rz: Add CPG/MSTP Clock Domain support
Geert Uytterhoeven [Tue, 4 Aug 2015 12:28:06 +0000 (14:28 +0200)]
clk: shmobile: rz: Add CPG/MSTP Clock Domain support

Add Clock Domain support to the RZ Clock Pulse Generator (CPG) driver
using the generic PM Domain.  This allows to power-manage the module
clocks of SoC devices that are part of the CPG/MSTP Clock Domain using
Runtime PM, or for system suspend/resume.

SoC devices that are part of the CPG/MSTP Clock Domain and can be
power-managed through an MSTP clock should be tagged in DT with a proper
"power-domains" property.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
9 years agoclk: shmobile: rcar-gen2: Add CPG/MSTP Clock Domain support
Geert Uytterhoeven [Tue, 4 Aug 2015 12:28:05 +0000 (14:28 +0200)]
clk: shmobile: rcar-gen2: Add CPG/MSTP Clock Domain support

Add Clock Domain support to the R-Car Gen2 Clock Pulse Generator (CPG)
driver using the generic PM Domain.  This allows to power-manage the
module clocks of SoC devices that are part of the CPG/MSTP Clock Domain
using Runtime PM, or for system suspend/resume.

SoC devices that are part of the CPG/MSTP Clock Domain and can be
power-managed through an MSTP clock should be tagged in DT with a proper
"power-domains" property.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
9 years agoclk: shmobile: r8a7779: Add CPG/MSTP Clock Domain support
Geert Uytterhoeven [Tue, 4 Aug 2015 12:28:04 +0000 (14:28 +0200)]
clk: shmobile: r8a7779: Add CPG/MSTP Clock Domain support

Add Clock Domain support to the R-Car H1 Clock Pulse Generator (CPG)
driver using the generic PM Domain.  This allows to power-manage the
module clocks of SoC devices that are part of the CPG/MSTP Clock Domain
using Runtime PM, or for system suspend/resume.

SoC devices that are part of the CPG/MSTP Clock Domain and can be
power-managed through an MSTP clock should be tagged in DT with a proper
"power-domains" property.

Also update the reg property in the DT binding doc example to match the
actual dtsi, which uses #address-cells and #size-cells == 1, not 2.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
9 years agoclk: shmobile: r8a7778: Add CPG/MSTP Clock Domain support
Geert Uytterhoeven [Tue, 4 Aug 2015 12:28:03 +0000 (14:28 +0200)]
clk: shmobile: r8a7778: Add CPG/MSTP Clock Domain support

Add Clock Domain support to the R-Car M1A Clock Pulse Generator (CPG)
driver using the generic PM Domain.  This allows to power-manage the
module clocks of SoC devices that are part of the CPG/MSTP Clock Domain
using Runtime PM, or for system suspend/resume.

SoC devices that are part of the CPG/MSTP Clock Domain and can be
power-managed through an MSTP clock should be tagged in DT with a proper
"power-domains" property.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
9 years agoclk: shmobile: Add CPG/MSTP Clock Domain support
Geert Uytterhoeven [Tue, 4 Aug 2015 12:28:02 +0000 (14:28 +0200)]
clk: shmobile: Add CPG/MSTP Clock Domain support

Add Clock Domain support to the Clock Pulse Generator (CPG) Module Stop
(MSTP) Clocks driver using the generic PM Domain.  This allows to
power-manage the module clocks of SoC devices that are part of the
CPG/MSTP Clock Domain using Runtime PM, or for system suspend/resume.

SoC devices that are part of the CPG/MSTP Clock Domain and can be
power-managed through an MSTP clock should be tagged in DT with a
proper "power-domains" property.

The CPG/MSTP Clock Domain code will scan such devices for clocks that
are suitable for power-managing the device, by looking for a clock that
is compatible with "renesas,cpg-mstp-clocks".

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Reviewed-by: Kevin Hilman <khilman@linaro.org>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
9 years agodt/bindings: Add binding for the Raspberry Pi firmware driver
Eric Anholt [Thu, 4 Jun 2015 20:11:45 +0000 (13:11 -0700)]
dt/bindings: Add binding for the Raspberry Pi firmware driver

This driver will provide support for calls into the firmware that will
be used by other drivers like cpufreq and vc4.

Signed-off-by: Eric Anholt <eric@anholt.net>
Acked-by: Stephen Warren <swarren@wwwdotorg.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
9 years agoARM: bcm2835: Add the firmware driver information to the RPi DT
Eric Anholt [Thu, 4 Jun 2015 20:11:47 +0000 (13:11 -0700)]
ARM: bcm2835: Add the firmware driver information to the RPi DT

Signed-off-by: Eric Anholt <eric@anholt.net>
Acked-by: Stephen Warren <swarren@wwwdotorg.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
9 years agoARM: dts: imx6ul: add snvs power key support
Anson Huang [Thu, 6 Aug 2015 08:16:01 +0000 (16:16 +0800)]
ARM: dts: imx6ul: add snvs power key support

Add i.MX6UL SNVS power key support.

Signed-off-by: Anson Huang <b20788@freescale.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
9 years agoARM: dts: imx6ul: add RTC support
Anson Huang [Tue, 4 Aug 2015 15:54:58 +0000 (23:54 +0800)]
ARM: dts: imx6ul: add RTC support

Add RTC support for i.MX6UL.

Signed-off-by: Anson Huang <b20788@freescale.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
9 years agoARM: dts: imx6ul: enable GPC as extended interrupt controller
Anson Huang [Mon, 3 Aug 2015 17:12:12 +0000 (01:12 +0800)]
ARM: dts: imx6ul: enable GPC as extended interrupt controller

Enable GPC as extended interrupt controller of
GIC, as GPC needs to manage wakeup source for
low power modes.

Signed-off-by: Anson Huang <b20788@freescale.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
9 years agoARM: dts: imx6sx: correct property name for wakeup source
Anson Huang [Wed, 5 Aug 2015 13:57:55 +0000 (21:57 +0800)]
ARM: dts: imx6sx: correct property name for wakeup source

Commit(def56bb input: snvs_pwrkey: use "wakeup-source"
as deivce tree property name) replaces the property name
of "wakeup" with "wakeup-source", update this change
in i.MX6SX dtsi accordingly.

Signed-off-by: Anson Huang <b20788@freescale.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
9 years agoARM: dts: add property for maximum ADC clock frequencies
Stefan Agner [Wed, 27 May 2015 12:47:52 +0000 (14:47 +0200)]
ARM: dts: add property for maximum ADC clock frequencies

The ADC clock frequency is limited depending on modes used. Add
device tree property which allow to set the mode used and the
maximum frequency ratings for the instance. These allows to
set the ADC clock to a frequency which is within specification
according to the actual mode used.

Acked-by: Fugang Duan <B38611@freescale.com>
Signed-off-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
9 years agoARM: dts: imx7d: enable snvs rtc, onoffkey and power off
Frank Li [Tue, 28 Jul 2015 17:50:00 +0000 (01:50 +0800)]
ARM: dts: imx7d: enable snvs rtc, onoffkey and power off

Change SNVS rtc to syscon interface.
Enable onoff key and power off function.

Signed-off-by: Frank Li <Frank.Li@freescale.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
9 years agoARM: dts: imx6ul-14x14-evk: add fec1 and fec2 support
Fugang Duan [Tue, 28 Jul 2015 07:30:42 +0000 (15:30 +0800)]
ARM: dts: imx6ul-14x14-evk: add fec1 and fec2 support

Add ethernet fec1 and fec2 support for i.MX6ul 14x14 evk board.

Signed-off-by: Fugang Duan <B38611@freescale.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
9 years agoARM: dts: imx: add fec1 and fec2 nodes for SOC i.MX6UL
Fugang Duan [Tue, 28 Jul 2015 07:30:41 +0000 (15:30 +0800)]
ARM: dts: imx: add fec1 and fec2 nodes for SOC i.MX6UL

SOC i.MX6UL has two ethernet MACs, add fec1 and fec2 support for i.MX6UL.

Signed-off-by: Fugang Duan <B38611@freescale.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
9 years agoARM: dts: imx27: add support of internal rtc
Philippe Reynes [Sun, 26 Jul 2015 21:37:53 +0000 (23:37 +0200)]
ARM: dts: imx27: add support of internal rtc

Add support of internal rtc on imx27.

Signed-off-by: Philippe Reynes <tremyfr@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
9 years agoARM: dts: vf-colibri: define stdout-path property
Stefan Agner [Wed, 15 Jul 2015 14:50:17 +0000 (16:50 +0200)]
ARM: dts: vf-colibri: define stdout-path property

Define Vybrid's UART0, connected to the Colibri pinout UART_A, as
standard output.

Signed-off-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
9 years agoARM: dts: ls1021a: Enable the eTSEC ports on QDS and TWR
Claudiu Manoil [Tue, 28 Jul 2015 14:43:56 +0000 (17:43 +0300)]
ARM: dts: ls1021a: Enable the eTSEC ports on QDS and TWR

This enables the available eTSEC ethernet ports for the
ls1021aqds and ls1021atwr boards.
For the QDS, SGMII connections (via riser cards) are assumed
for the eTSEC0 and eTSEC1 ports as default configuration.

Signed-off-by: Alison Wang <alison.wang@freescale.com>
Signed-off-by: Claudiu Manoil <claudiu.manoil@freescale.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
9 years agoARM: dts: ls1021a: Add the eTSEC controller nodes
Claudiu Manoil [Tue, 28 Jul 2015 14:43:55 +0000 (17:43 +0300)]
ARM: dts: ls1021a: Add the eTSEC controller nodes

Add basic support for all the eTSEC controllers on the
ls1021a SoC.  Second interrupt group register blocks
and their corresponding Rx/Tx/Err interrupt sources are
included as well for each eTSEC node.

Signed-off-by: Alison Wang <alison.wang@freescale.com>
Signed-off-by: Claudiu Manoil <claudiu.manoil@freescale.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
9 years agoARM: dts: imx6ul: add qspi support
Frank Li [Mon, 20 Jul 2015 19:33:53 +0000 (03:33 +0800)]
ARM: dts: imx6ul: add qspi support

enable qspi support

Signed-off-by: Frank Li <Frank.Li@freescale.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
9 years agoARM: dts: imx6ul: fix low case define in imx6ul-pinfunc.h
Frank Li [Mon, 20 Jul 2015 19:33:52 +0000 (03:33 +0800)]
ARM: dts: imx6ul: fix low case define in imx6ul-pinfunc.h

some pin name should be capital "_B" instead of "_b"

Signed-off-by: Frank Li <Frank.Li@freescale.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
9 years agoARM: dts: imx6ul: add usb host and function support
Frank Li [Thu, 16 Jul 2015 20:03:16 +0000 (04:03 +0800)]
ARM: dts: imx6ul: add usb host and function support

Enable usb host and function driver

Signed-off-by: Frank Li <Frank.Li@freescale.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
9 years agoARM: dts: vfxxx: Add io-channel-cells property for ADC node
Sanchayan Maity [Thu, 16 Jul 2015 15:13:19 +0000 (20:43 +0530)]
ARM: dts: vfxxx: Add io-channel-cells property for ADC node

This commit adds io-channel-cells property to the ADC node. This
property is required in order for an IIO consumer driver to work.
Especially required for Colibri VF50, as the touchscreen driver
uses ADC channels with the ADC driver based on IIO framework.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
9 years agoARM: dts: ls1021a: Add dts nodes for audio on LS1021A
Alison Wang [Wed, 15 Jul 2015 08:02:46 +0000 (16:02 +0800)]
ARM: dts: ls1021a: Add dts nodes for audio on LS1021A

This patch adds dts nodes for audio on LS1021A.

Signed-off-by: Alison Wang <alison.wang@freescale.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
9 years agoARM: imx6qdl-sabreauto.dtsi: enable USB support
Peter Chen [Fri, 13 Mar 2015 06:21:43 +0000 (14:21 +0800)]
ARM: imx6qdl-sabreauto.dtsi: enable USB support

Add USBOTG and USB host 1 support

Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
9 years agoARM: dts: imx: update snvs to use syscon access register
Frank Li [Tue, 26 May 2015 16:25:59 +0000 (00:25 +0800)]
ARM: dts: imx: update snvs to use syscon access register

snvs is MFP device. Change dts to use syscon to allocate register resource.
snvs power off also switch to common syscon-poweroff

Signed-off-by: Frank Li <Frank.Li@freescale.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
9 years agoARM: dts: imx: add imx6ul and imx6ul evk board support
Frank Li [Thu, 9 Jul 2015 18:09:45 +0000 (02:09 +0800)]
ARM: dts: imx: add imx6ul and imx6ul evk board support

Add new SOC i.MX6UL dtb file support, including evk board
support

i.MX6 Ultralite processor include one ARM cortext-A7 core.
Offer high perfomance and lowest power consumption.

Main included:
- 4 MMC/SD/SDIO
- 2 USB 2.0 OTG
- 3 I2S/SAI/AC97
- 4 eCSPI
- 4 I2C
- 2 ENET
- 2 CAN
- 3 wdog
- ASRC
- 8 uart
- LCDIF
- PXP

Signed-off-by: Anson Huang <b20788@freescale.com>
Signed-off-by: Fugang Duan <B38611@freescale.com>
Signed-off-by: Fancy Fang <chen.fang@freescale.com>
Signed-off-by: Frank Li <Frank.Li@freescale.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
9 years agoARM: dts: add i.mx6ul pin function include file
Frank Li [Thu, 9 Jul 2015 18:09:44 +0000 (02:09 +0800)]
ARM: dts: add i.mx6ul pin function include file

add pin mux define file

Signed-off-by: Bai Ping <b51503@freescale.com>
Signed-off-by: Anson Huang <b20788@freescale.com>
Signed-off-by: Frank Li <Frank.Li@freescale.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
9 years agoDocument: dt: binding: imx: update document for imx6ul support
Frank Li [Thu, 9 Jul 2015 18:09:43 +0000 (02:09 +0800)]
Document: dt: binding: imx: update document for imx6ul support

This part just add necessary change to boot imx6ul.
Update clock and pinctrl for imx6ul

Signed-off-by: Frank Li <Frank.Li@freescale.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
9 years agoARM: dts: vfxxx: Include support for esdhc0 functionality.
Cory Tusar [Wed, 8 Jul 2015 20:51:06 +0000 (16:51 -0400)]
ARM: dts: vfxxx: Include support for esdhc0 functionality.

Extend the existing Vybrid eSDHC devicetree implementation to also
describe the esdhc0 functional block.

Tested on a custom VF610-based board with a Toshiba THGBM1G5D2EBAI7 eMMC
module attached to esdhc0.

Signed-off-by: Cory Tusar <cory.tusar@pid1solutions.com>
Acked-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
9 years agoARM: dts: imx6qdl-sabreauto: Allow HDMI and LVDS to work simultaneously
Fabio Estevam [Mon, 13 Jul 2015 16:03:05 +0000 (13:03 -0300)]
ARM: dts: imx6qdl-sabreauto: Allow HDMI and LVDS to work simultaneously

Currently it is not possible to have HDMI and LVDS working simultaneously,
because both ports try to use PLL5.

Move the LVDS clock parent to PLL3_USB_OTG, so that HDMI and LVDS can be
driven from independent sources.

With this change the LDB pixel clock goes to 68.57 MHz, which is still
within the valid range for the HSD100PXN1 LVDS panel.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
9 years agoARM: dts: vfxxx: Include support for qspi1 functionality.
Cory Tusar [Wed, 8 Jul 2015 20:21:16 +0000 (16:21 -0400)]
ARM: dts: vfxxx: Include support for qspi1 functionality.

This commit extends the existing Vybrid QSPI devicetree implementation
to also describe the qspi1 functional block.

Signed-off-by: Cory Tusar <cory.tusar@pid1solutions.com>
Reviewed-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
9 years agoARM: dts: vf610: Add missing QuadSPI register mapping and names.
Cory Tusar [Wed, 8 Jul 2015 20:21:15 +0000 (16:21 -0400)]
ARM: dts: vf610: Add missing QuadSPI register mapping and names.

Both 'reg' and 'reg-names' are required properties according to binding
documentation, and both should contain two items.

Signed-off-by: Cory Tusar <cory.tusar@pid1solutions.com>
Acked-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
9 years agoARM: dts: ls1021a: Update 'dspi' device node compatible string
Haikun Wang [Wed, 8 Jul 2015 02:43:40 +0000 (10:43 +0800)]
ARM: dts: ls1021a: Update 'dspi' device node compatible string

Freescale DSPI driver has been updated and supports TCF interrupt type now.
In the new driver we choose the interrupt type according the compatible
string of the device node.
This patch update the compatible string of DSPI device node of LS1021A in
order to use the correct interrupt type.

Signed-off-by: Haikun Wang <haikun.wang@freescale.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
9 years agoARM: dts: imx7d: add cortex-a7 coresight component
Frank Li [Tue, 30 Jun 2015 14:58:11 +0000 (22:58 +0800)]
ARM: dts: imx7d: add cortex-a7 coresight component

Added etm, etb, funnel and replicator

usage example:

    echo 1 >/sys/bus/coresight/devices/30086000.etr/enable_sink
    echo 1 >/sys/bus/coresight/devices/3007c000.etm/enable_source

        coresight-tmc 30086000.etr: TMC enabled
        coresight-replicator replicator.1: REPLICATOR enabled
        coresight-tmc 30084000.tmc: TMC enabled
        coresight-funnel 30083000.funnel: FUNNEL inport 0 enabled
        coresight-funnel 30041000.funnel: FUNNEL inport 0 enabled
        coresight-etm3x 3007c000.etm: ETM tracing enabled

    etm enable here.
    trace data save at /dev/30086000.etr

    cat /dev/30086000.etr > trace.data

        coresight-tmc 30086000.etr: TMC read start
        coresight-tmc 30086000.etr: TMC read end

    use ptm2human(https://github.com/hwangcc23/ptm2human) to show trace data

    ptm2human -i trace.data

Signed-off-by: Frank Li <Frank.Li@freescale.com>
Acked-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
9 years agoARM: dts: imx6qdl-nitrogen6x: Allow HDMI and LVDS to work simultaneously
Fabio Estevam [Mon, 29 Jun 2015 16:16:54 +0000 (13:16 -0300)]
ARM: dts: imx6qdl-nitrogen6x: Allow HDMI and LVDS to work simultaneously

Currently it is not possible to have HDMI and LVDS working simultaneously,
because both ports try to use PLL5.

Move the LVDS clock parent to PLL3_USB_OTG, so that HDMI and LVDS can be
driven from independent sources.

With this change the LDB pixel clock goes to 68.57 MHz, which is still
within the valid range for the HSD100PXN1 LVDS panel.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Tested-by: Gary Bisson <gary.bisson@boundarydevices.com>
Acked-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
9 years agoARM: dts: imx6qdl-sabrelite: Allow HDMI and LVDS to work simultaneously
Fabio Estevam [Mon, 29 Jun 2015 16:16:53 +0000 (13:16 -0300)]
ARM: dts: imx6qdl-sabrelite: Allow HDMI and LVDS to work simultaneously

Currently it is not possible to have HDMI and LVDS working simultaneously,
because both ports try to use PLL5.

Move the LVDS clock parent to PLL3_USB_OTG, so that HDMI and LVDS can be
driven from independent sources.

With this change the LDB pixel clock goes to 68.57 MHz, which is still
within the valid range for the HSD100PXN1 LVDS panel.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Tested-by: Gary Bisson <gary.bisson@boundarydevices.com>
Acked-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
9 years agoARM: dts: imx6sl-warp: Add changes for rev1.12
Fabio Estevam [Mon, 29 Jun 2015 13:05:42 +0000 (10:05 -0300)]
ARM: dts: imx6sl-warp: Add changes for rev1.12

Warp board rev1.12 is the version of the hardware that will be publicly
available for the customers.

It uses UART5 as the Bluetooth serial port as well as some
additional signals for HOSTWAKE on Wifi and Bluetooth.

Make the changes to support the rev1.12 hardware.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
9 years agoARM: dts: imx6qdl-sabresd: Allow HDMI and LVDS to work simultaneously
Fabio Estevam [Fri, 26 Jun 2015 17:10:53 +0000 (14:10 -0300)]
ARM: dts: imx6qdl-sabresd: Allow HDMI and LVDS to work simultaneously

Currently it is not possible to have HDMI and LVDS working simultaneously,
because both ports try to use PLL5.

Move the LVDS clock parent to PLL3_USB_OTG, so that HDMI and LVDS can be
driven from independent sources.

With this change the LDB pixel clock goes to 68.57 MHz, which is still
within the valid range for the HSD100PXN1 LVDS panel.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
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: socfpga: dts: Add resets for EMACs on Arria10
Dinh Nguyen [Fri, 24 Jul 2015 20:13:17 +0000 (15:13 -0500)]
ARM: socfpga: dts: Add resets for EMACs on Arria10

Add the reset property for the EMAC controllers on Arria10.

Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com>
9 years agoARM: socfpga: dts: add "altr,modrst-offset" property
Dinh Nguyen [Fri, 24 Jul 2015 19:05:06 +0000 (14:05 -0500)]
ARM: socfpga: dts: add "altr,modrst-offset" property

The "altr,modrst-offset" property represents the offset into the reset manager
that is the first register to be used by the driver to bring peripherals out
of reset.

Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com>
9 years agodt-bindings: Add reset manager offsets for Arria10
Dinh Nguyen [Fri, 24 Jul 2015 05:01:55 +0000 (00:01 -0500)]
dt-bindings: Add reset manager offsets for Arria10

The reset manager for is pretty similar to the one for SoCFPGA
cyclone5/arria5 except for a few offsets. This patch adds those offsets.

Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com>
9 years agoARM: dts: rockchip: add veyron-minnie board
Alexandru M Stan [Wed, 29 Jul 2015 18:57:20 +0000 (20:57 +0200)]
ARM: dts: rockchip: add veyron-minnie board

Also known as the Asus Chromebook Flip.

Signed-off-by: Alexandru M Stan <amstan@chromium.org>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
9 years agoARM: dts: rockchip: reserve unusable memory region on rk3288
Heiko Stuebner [Sat, 1 Aug 2015 11:00:49 +0000 (13:00 +0200)]
ARM: dts: rockchip: reserve unusable memory region on rk3288

The all current Rockchip SoCs supporting 4GB of ram have problems accessing
the memory region 0xfe000000~0xff000000. This also seems to includes the
rk3368 arm64 soc.

All current code handling dma memory oddities I could find, seem to involve
soc-specific code (zone-dma or so) while this issue is shared between arm32
and arm64 socs from Rockchip, which would need to have this described in
the soc devicetree on both socs.

Limiting the dma-zone alone also does not solve the issue and as the
dma-masks need to be a power-of-two in the kernel, the next lower dma-mask
brings memory usable for dma down to 2GB.

So as a stop-gap block off the affected region to prevent its use by
devices with 4GB of memory, like some recent Chromebooks.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
9 years agoARM: dts: rockchip: enable usb controller on marsboard
Heiko Stuebner [Sun, 2 Aug 2015 20:34:17 +0000 (22:34 +0200)]
ARM: dts: rockchip: enable usb controller on marsboard

This enables the previously disabled usb controllers on the marsboard
and makes it possible to for example mount usb mass storage devices.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
9 years agoARM: dts: rockchip: add usb phys to Cortex-A9 socs
Heiko Stuebner [Sat, 1 Aug 2015 18:28:36 +0000 (20:28 +0200)]
ARM: dts: rockchip: add usb phys to Cortex-A9 socs

This adds the usbphy nodes to rk3066 and rk3188, which share the usb hosts
in rk3xxx.dtsi and also enables it on boards based around these socs.

The usb-phy itself is the same as used on the rk3288 already.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
9 years agoARM: dts: rockchip: set correct dwc2 params for cortex-a9 socs
Heiko Stuebner [Sun, 2 Aug 2015 20:29:33 +0000 (22:29 +0200)]
ARM: dts: rockchip: set correct dwc2 params for cortex-a9 socs

According to the manual, the fifo sizes are the same as on later socs
like the rk3288 and this also fixes an error about "insufficient fifo
memory", as it seems the values read from the ip are wrong.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
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>