deliverable/linux.git
8 years agoMerge branches 'fixes-for-v4.8', 'arm64-defconfig-for-v4.9', 'arm64-dt-for-v4.9'...
Simon Horman [Thu, 8 Sep 2016 07:36:49 +0000 (09:36 +0200)] 
Merge branches 'fixes-for-v4.8', 'arm64-defconfig-for-v4.9', 'arm64-dt-for-v4.9', 'defconfig-for-v4.9', 'dt-for-v4.9' and 'soc-for-v4.9' into next

8 years agoarm64: dts: r8a7796: Add GPIO device nodes
Takeshi Kihara [Wed, 17 Aug 2016 09:13:51 +0000 (11:13 +0200)] 
arm64: dts: r8a7796: Add GPIO device nodes

Add GPIO device nodes to the DT of the r8a7796 SoC.

Signed-off-by: Takeshi Kihara <takeshi.kihara.df@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
8 years agoarm64: dts: r8a7796: salvator-x: add serial console pins
Ulrich Hecht [Thu, 18 Aug 2016 13:12:35 +0000 (15:12 +0200)] 
arm64: dts: r8a7796: salvator-x: add serial console pins

Adds pin control for SCIF2.

Signed-off-by: Ulrich Hecht <ulrich.hecht+renesas@gmail.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoarm64: dts: r8a7796: Add pinctrl device node
Takeshi Kihara [Thu, 18 Aug 2016 13:12:34 +0000 (15:12 +0200)] 
arm64: dts: r8a7796: Add pinctrl device node

This patch adds pinctrl device node for R8A7796 SoC.

Signed-off-by: Takeshi Kihara <takeshi.kihara.df@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoarm64: dts: r8a7795: salvator-x: Configure pins for the DU RGB output
Laurent Pinchart [Fri, 12 Aug 2016 09:18:55 +0000 (12:18 +0300)] 
arm64: dts: r8a7795: salvator-x: Configure pins for the DU RGB output

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoarm64: dts: h3ulcb: enable GPIO leds
Vladimir Barinov [Mon, 5 Sep 2016 12:40:21 +0000 (15:40 +0300)] 
arm64: dts: h3ulcb: enable GPIO leds

This supports GPIO leds on H3ULCB board

Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoarm64: dts: h3ulcb: Sound SSI support
Vladimir Barinov [Fri, 2 Sep 2016 16:25:29 +0000 (19:25 +0300)] 
arm64: dts: h3ulcb: Sound SSI support

This supports SSI sound for H3ULCB board.
SSI DMA mode used. CS2000 used as AUDIO_CLK_B.

Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoarm64: dts: h3ulcb: enable SDHI0
Vladimir Barinov [Fri, 2 Sep 2016 16:25:08 +0000 (19:25 +0300)] 
arm64: dts: h3ulcb: enable SDHI0

This supports SDHI0 on H3ULCB board SD card slot

Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoarm64: dts: h3ulcb: enable GPIO keys
Vladimir Barinov [Fri, 2 Sep 2016 16:24:58 +0000 (19:24 +0300)] 
arm64: dts: h3ulcb: enable GPIO keys

This supports GPIO keys on H3ULCB board

Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoarm64: dts: r8a7795: remove unnecessary cap-mmc-highspeed property
Simon Horman [Tue, 30 Aug 2016 21:09:55 +0000 (23:09 +0200)] 
arm64: dts: r8a7795: remove unnecessary cap-mmc-highspeed property

Remove cap-mmc-highspeed property from SDHI2 and SDHI3.

This property is unnecessary as the driver automatically sets
the highspeed capability. Furthermore its use is inconsistent with SDHI0
and SDHI1 which are also highspeed capable but do not have this property
present.

Found by inspection.

Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoarm64: dts: h3ulcb: enable USB2.0 Host channel 1
Vladimir Barinov [Wed, 31 Aug 2016 10:04:03 +0000 (13:04 +0300)] 
arm64: dts: h3ulcb: enable USB2.0 Host channel 1

This supports USB2.0 Host channel 1 on H3ULCB board

Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoARM: dts: wheat: add support for tactile switches
Sergei Shtylyov [Mon, 5 Sep 2016 21:33:05 +0000 (00:33 +0300)] 
ARM: dts: wheat: add support for tactile switches

Add  support for the  tactile switches  SW2/3 (on the debug board) as a
virtual keyboard like it  was done with the Blanche board).

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoARM: dts: wheat: add QSPI support
Sergei Shtylyov [Fri, 2 Sep 2016 22:09:26 +0000 (01:09 +0300)] 
ARM: dts: wheat: add QSPI support

Define the Wheat board dependent part of the QSPI device node.
Add device nodes for Spansion S25FL512S SPI flash and MTD partitions on it.

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

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoarm64: dts: h3ulcb: enable USB2 PHY of channel 1
Vladimir Barinov [Wed, 31 Aug 2016 10:03:56 +0000 (13:03 +0300)] 
arm64: dts: h3ulcb: enable USB2 PHY of channel 1

This supports USB2 PHY channel #1 on H3ULCB board

Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoarm64: dts: h3ulcb: enable WDT
Vladimir Barinov [Wed, 31 Aug 2016 10:03:48 +0000 (13:03 +0300)] 
arm64: dts: h3ulcb: enable WDT

This supports watchdog timer for H3ULCB board

Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoarm64: dts: h3ulcb: enable EXTALR clk
Vladimir Barinov [Wed, 31 Aug 2016 10:03:36 +0000 (13:03 +0300)] 
arm64: dts: h3ulcb: enable EXTALR clk

This enables EXTALR clock that can be used for the watchdog.

Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoarm64: dts: h3ulcb: enable I2C2
Vladimir Barinov [Wed, 31 Aug 2016 10:03:29 +0000 (13:03 +0300)] 
arm64: dts: h3ulcb: enable I2C2

This supports I2C2 bus on H3ULCB board

Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoarm64: dts: h3ulcb: enable EthernetAVB
Vladimir Barinov [Wed, 31 Aug 2016 10:02:59 +0000 (13:02 +0300)] 
arm64: dts: h3ulcb: enable EthernetAVB

This supports Ethernet AVB on H3ULCB board

Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoarm64: dts: h3ulcb: enable SCIF clk and pins
Vladimir Barinov [Wed, 31 Aug 2016 10:02:49 +0000 (13:02 +0300)] 
arm64: dts: h3ulcb: enable SCIF clk and pins

This enables the external crystal for the SCIF_CLK and its pinctrl, to
be used by the Baud Rate Generator for External Clock (BRG) on (H)SCIF.

Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoarm64: dts: h3ulcb: initial device tree
Vladimir Barinov [Wed, 31 Aug 2016 10:02:39 +0000 (13:02 +0300)] 
arm64: dts: h3ulcb: initial device tree

Add the initial device tree for the R8A7795 SoC based H3ULCB low cost
board.

This commit supports the following peripherals:
- SCIF (console)

Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoarm64: dts: h3ulcb: add H3ULCB board DT bindings
Vladimir Barinov [Wed, 31 Aug 2016 10:02:21 +0000 (13:02 +0300)] 
arm64: dts: h3ulcb: add H3ULCB board DT bindings

Add H3ULCB Device tree bindings Documentation, listing it as a supported
board.

Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
Acked-by: Rob Herring <robh@kernel.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoarm64: dts: r8a7795: Add SoC-specific compatible property to audio-dmac nodes
Geert Uytterhoeven [Wed, 31 Aug 2016 09:31:55 +0000 (11:31 +0200)] 
arm64: dts: r8a7795: Add SoC-specific compatible property to audio-dmac nodes

The audio-dmac nodes used the generic compatible property only.
Add the SoC-specific one, to make it future proof.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoarm64: dts: r8a7795: renesas: salvator-x: Enable DU
Laurent Pinchart [Tue, 9 Aug 2016 12:29:12 +0000 (15:29 +0300)] 
arm64: dts: r8a7795: renesas: salvator-x: Enable DU

Only the VGA output is supported for now.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoarm64: dts: renesas: r8a7795: Add DU device to DT
Laurent Pinchart [Tue, 9 Aug 2016 12:29:11 +0000 (15:29 +0300)] 
arm64: dts: renesas: r8a7795: Add DU device to DT

Add the DU device to r8a7795.dtsi in a disabled state.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoarm64: dts: renesas: r8a7795: Add VSP instances
Laurent Pinchart [Tue, 9 Aug 2016 12:29:10 +0000 (15:29 +0300)] 
arm64: dts: renesas: r8a7795: Add VSP instances

The r8a7795 has 9 VSP instances.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoarm64: dts: renesas: r8a7795: Add FCPV nodes
Laurent Pinchart [Tue, 9 Aug 2016 12:29:09 +0000 (15:29 +0300)] 
arm64: dts: renesas: r8a7795: Add FCPV nodes

The FCPs handle the interface between various IP cores and memory. Add
the instances related to the VSP2s.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoarm64: dts: r8a7795: salvator-x: enable HSUSB
Yoshihiro Shimoda [Thu, 21 Jul 2016 10:47:00 +0000 (19:47 +0900)] 
arm64: dts: r8a7795: salvator-x: enable HSUSB

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoarm64: dts: r8a7795: salvator-x: enable USB 2.0 Host channel 0
Yoshihiro Shimoda [Thu, 21 Jul 2016 10:46:59 +0000 (19:46 +0900)] 
arm64: dts: r8a7795: salvator-x: enable USB 2.0 Host channel 0

We have to set SW15 to pin 2-3 side on the board before we use CN9
as USB host or peripheral.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoarm64: dts: r8a7795: salvator-x: enable usb2_phy of channel 0
Yoshihiro Shimoda [Thu, 21 Jul 2016 10:46:58 +0000 (19:46 +0900)] 
arm64: dts: r8a7795: salvator-x: enable usb2_phy of channel 0

This patch also adds a regulator node for USB2.0 to handle VBUS on/off
by the phy-rcar-gen3-usb2 driver.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoarm64: dts: r8a7795: Add HSUSB device node
Yoshihiro Shimoda [Thu, 21 Jul 2016 10:46:57 +0000 (19:46 +0900)] 
arm64: dts: r8a7795: Add HSUSB device node

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoarm64: dts: r8a7795: set maximum frequency for SDHI clocks
Wolfram Sang [Thu, 21 Jul 2016 17:01:44 +0000 (19:01 +0200)] 
arm64: dts: r8a7795: set maximum frequency for SDHI clocks

Define the upper limit otherwise the driver cannot utilize max speeds.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoarm64: dts: r8a7795: add FDP1 device nodes
Kieran Bingham [Thu, 30 Jun 2016 13:32:43 +0000 (14:32 +0100)] 
arm64: dts: r8a7795: add FDP1 device nodes

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran@bingham.xyz>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoarm64: dts: r8a7795: add FCPF device nodes
Kieran Bingham [Thu, 30 Jun 2016 13:32:42 +0000 (14:32 +0100)] 
arm64: dts: r8a7795: add FCPF device nodes

Provide nodes for the FCP devices dedicated to the FDP device channels.

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Kieran Bingham <kieran@bingham.xyz>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoARM: dts: r8a7792: add QSPI support
Sergei Shtylyov [Fri, 2 Sep 2016 22:08:45 +0000 (01:08 +0300)] 
ARM: dts: r8a7792: add QSPI support

Define the generic R8A7792 part of the QSPI device node.

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

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoARM: dts: r8a7792: add QSPI clock
Sergei Shtylyov [Fri, 2 Sep 2016 22:07:28 +0000 (01:07 +0300)] 
ARM: dts: r8a7792: add QSPI clock

Describe the QSPI clock in the R8A7792 device tree.

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

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoARM: dts: wheat: add SDHI0 support
Sergei Shtylyov [Tue, 30 Aug 2016 22:24:41 +0000 (01:24 +0300)] 
ARM: dts: wheat: add SDHI0 support

Define the Wheat board dependent  part of  the SDHI0 (connected to the
micro-SD slot)  device node along with the necessary voltage regulator.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoARM: dts: wheat: add CAN support
Sergei Shtylyov [Mon, 29 Aug 2016 20:11:26 +0000 (23:11 +0300)] 
ARM: dts: wheat: add CAN support

Define the Wheat board dependent part of the CAN0/1 device nodes...

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

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoARM: dts: r8a7794: fix PWM clock parent
Sergei Shtylyov [Sun, 4 Sep 2016 19:55:37 +0000 (22:55 +0300)] 
ARM: dts: r8a7794: fix PWM clock parent

When removing the non-existing thermal clock I forgot to remove its
parent from the node's "clocks" property  -- this led to a wrong PWM
clock's parent clock.

Fixes: 2a29f9d6fea8 ("ARM: dts: r8a7794: add MSTP5 clocks")
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoARM: dts: rskrza1: add ethernet DT support
Chris Brandt [Fri, 2 Sep 2016 01:40:12 +0000 (21:40 -0400)] 
ARM: dts: rskrza1: add ethernet DT support

Signed-off-by: Chris Brandt <chris.brandt@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoARM: dts: r7s72100: add ethernet to device tree
Chris Brandt [Fri, 2 Sep 2016 01:40:11 +0000 (21:40 -0400)] 
ARM: dts: r7s72100: add ethernet to device tree

Signed-off-by: Chris Brandt <chris.brandt@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoARM: dts: r7s72100: add ethernet clock to device tree
Chris Brandt [Fri, 2 Sep 2016 01:40:10 +0000 (21:40 -0400)] 
ARM: dts: r7s72100: add ethernet clock to device tree

Signed-off-by: Chris Brandt <chris.brandt@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoARM: dts: rskrza1: initial device tree
Chris Brandt [Mon, 29 Aug 2016 18:13:22 +0000 (14:13 -0400)] 
ARM: dts: rskrza1: initial device tree

Add the initial device tree for the RZ/A1 based development board (RSK).

Signed-off-by: Chris Brandt <chris.brandt@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoARM: dts: Add RSKRZA1 DT bindings documentation
Chris Brandt [Mon, 29 Aug 2016 18:14:29 +0000 (14:14 -0400)] 
ARM: dts: Add RSKRZA1 DT bindings documentation

Add RSKRZA1 Device tree bindings Documentation, listing it as a supported
board.

This allows to use checkpatch to validate DTSes referring to the RSKRZA1
board.

Signed-off-by: Chris Brandt <chris.brandt@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoARM: dts: wheat: add Ethernet support
Sergei Shtylyov [Fri, 26 Aug 2016 20:23:13 +0000 (23:23 +0300)] 
ARM: dts: wheat: add Ethernet support

R8A7792  SoC  doesn't have the  EtherMAC core, so SMSC LAN89218 Ethernet
chip was used instead on the Wheat debug board; this chip is compatible
with SMSC LAN9115 for which  there's a (device  tree aware)  driver.
Describe the chip  in the Wheat device tree unconditionally (the driver
should fail the probe if the debug board isn't connected); enable DHCP and
NFS root in the command line for the kernel boot...

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

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoARM: dts: wheat: initial device tree
Sergei Shtylyov [Fri, 26 Aug 2016 20:21:42 +0000 (23:21 +0300)] 
ARM: dts: wheat: initial device tree

Add the initial device tree for the R8A7792  SoC based Wheat board.
The Wheat board itself has  no serial ports  wired up, the USB serial chips
are situated on a separate  debug board and  one of them is connected to
SCFI0  -- include unconditional support for  it, so that the serial console
can work.

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

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoARM: dts: document Wheat board
Sergei Shtylyov [Fri, 26 Aug 2016 20:20:05 +0000 (23:20 +0300)] 
ARM: dts: document Wheat board

Document the Wheat device tree bindings, listing it as a supported board.

This allows to use checkpatch.pl to validate .dts files referring to the
Wheat board.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoARM: shmobile: fix regulator quirk for Gen2
Wolfram Sang [Tue, 30 Aug 2016 19:50:22 +0000 (21:50 +0200)] 
ARM: shmobile: fix regulator quirk for Gen2

The current implementation only works if the da9xxx devices are added
before their drivers are registered. Only then it can apply the fixes to
both devices. Otherwise, the driver for the first device gets probed
before the fix for the second device can be applied. This is what
fails when using the IP core switcher or when having the i2c master
driver as a module.

So, we need to disable both da9xxx once we detected one of them. We now
use i2c_transfer with hardcoded i2c_messages and device addresses, so we
don't need the da9xxx client devices to be instantiated. Because the
fixup is used on specific boards only, the addresses are not going to
change.

Fixes: 663fbb52159cca ("ARM: shmobile: R-Car Gen2: Add da9063/da9210 regulator quirk")
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Tested-by: Geert Uytterhoeven <geert+renesas@glider.be> (r8a7791/koelsch)
Tested-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoarm64: defconfig: Enable SDHI and GPIO_REGULATOR
Simon Horman [Tue, 30 Aug 2016 21:09:59 +0000 (23:09 +0200)] 
arm64: defconfig: Enable SDHI and GPIO_REGULATOR

This allows use of the SDHI SD/SDIO controller present on R-Car Gen3 SoCs
and already enabled in the DT of the r8a7795/salvator-x (H3).

Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoARM: dts: blanche: add support for general purpose LEDs
Sergei Shtylyov [Wed, 24 Aug 2016 19:22:22 +0000 (22:22 +0300)] 
ARM: dts: blanche: add support for general purpose LEDs

Add support for the general purpose LEDs on the Blanche board.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoARM: shmobile: r8a7791: only use smp_init when SMP is selected
Wolfram Sang [Fri, 12 Aug 2016 16:45:10 +0000 (18:45 +0200)] 
ARM: shmobile: r8a7791: only use smp_init when SMP is selected

We use the helper function which populates the smp_init pointer only in
case of SMP.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoARM: shmobile: r8a7790: only use smp_init when SMP is selected
Wolfram Sang [Fri, 12 Aug 2016 16:45:09 +0000 (18:45 +0200)] 
ARM: shmobile: r8a7790: only use smp_init when SMP is selected

We use the helper function which populates the smp_init pointer only in
case of SMP.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoARM: dts: r8a7792: add VSP1V support
Sergei Shtylyov [Fri, 19 Aug 2016 22:19:48 +0000 (01:19 +0300)] 
ARM: dts: r8a7792: add VSP1V support

Describe  3 instances (VSPS, VSPD0, and VSPD1) of the VSP1V in the R8A7792
device tree.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoARM: dts: r8a7792: add VSP1V clocks
Sergei Shtylyov [Fri, 19 Aug 2016 22:18:54 +0000 (01:18 +0300)] 
ARM: dts: r8a7792: add VSP1V clocks

Describe the VSP1V clocks in the R8A7792 device tree.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoARM: dts: blanche: add DU support
Sergei Shtylyov [Fri, 19 Aug 2016 20:42:54 +0000 (23:42 +0300)] 
ARM: dts: blanche: add DU support

Define  the  Blanche board dependent part of the DU device node.
Add the device nodes for the  Analog Devices ADV7511W  HDMI transmitter
(connected to DU0) and ADV7123 video DAC (connected to DU1).  Add the
necessary subnodes to interconnect DU, HDMI/VDAC devices, and HDMI/VGA
connectors.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoARM: dts: blanche: add SDHI0 support
Sergei Shtylyov [Thu, 18 Aug 2016 18:31:54 +0000 (21:31 +0300)] 
ARM: dts: blanche: add SDHI0 support

Define the Blanche board dependent part of the SDHI0 (connected to the
micro-SD slot) device node along with  the necessary voltage regulator.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoARM: dts: blanche: add support for general purpose switches
Sergei Shtylyov [Wed, 17 Aug 2016 19:03:06 +0000 (22:03 +0300)] 
ARM: dts: blanche: add support for general purpose switches

Add support  for the  general purpose  software switches  SW2 and tactile
switches SW24/25 as a virtual keyboard (like it was done with the Lager/
Koelsch boards).

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agopinctrl: sh-pfc: r8a7796: Add SDHI pins, groups and functions
Takeshi Kihara [Wed, 17 Aug 2016 11:31:52 +0000 (13:31 +0200)] 
pinctrl: sh-pfc: r8a7796: Add SDHI pins, groups and functions

This patch adds SDHI pins, groups and functions to R8A7796 SoC.

Signed-off-by: Takeshi Kihara <takeshi.kihara.df@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
8 years agopinctrl: sh-pfc: r8a7796: Add SCIF pins, groups and functions
Takeshi Kihara [Thu, 18 Aug 2016 13:12:33 +0000 (15:12 +0200)] 
pinctrl: sh-pfc: r8a7796: Add SCIF pins, groups and functions

This patch adds SCIF{0,1,2,3,4,5} pins, groups and functions to R8A7796
SoC.

Signed-off-by: Takeshi Kihara <takeshi.kihara.df@renesas.com>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
8 years agopinctrl: sh-pfc: Initial R8A7796 PFC support
Takeshi Kihara [Thu, 18 Aug 2016 13:12:32 +0000 (15:12 +0200)] 
pinctrl: sh-pfc: Initial R8A7796 PFC support

This patch adds initial pinctrl driver to support for the R8A7796 SoC.

Signed-off-by: Takeshi Kihara <takeshi.kihara.df@renesas.com>
[uli: rebased on top of renesas-drivers]
Signed-off-by: Ulrich Hecht <ulrich.hecht+renesas@gmail.com>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
8 years agoARM: dts: r8a7791: Remove obsolete vsp1 properties
Geert Uytterhoeven [Tue, 16 Aug 2016 14:56:32 +0000 (16:56 +0200)] 
ARM: dts: r8a7791: Remove obsolete vsp1 properties

As of commit 5aa2eb3c86d4fd16 ("[media] v4l: vsp1: Configure device
based on IP version"), the DT properties to identify the exact VSP
device instance features are no longer used. Hence remove them.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoARM: dts: r8a7790: Remove obsolete vsp1 properties
Geert Uytterhoeven [Tue, 16 Aug 2016 14:56:31 +0000 (16:56 +0200)] 
ARM: dts: r8a7790: Remove obsolete vsp1 properties

As of commit 5aa2eb3c86d4fd16 ("[media] v4l: vsp1: Configure device
based on IP version"), the DT properties to identify the exact VSP
device instance features are no longer used. Hence remove them.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoARM: dts: alt: add MMCIF support
Simon Horman [Tue, 9 Aug 2016 12:19:04 +0000 (14:19 +0200)] 
ARM: dts: alt: add MMCIF support

Define the Alt board dependent part of the MMCIF device node.

Like the Silk the board has eMMC chip along with the  necessary voltage
regulator (note that the Vcc/Vccq regulator is dummy -- it's required by
the MMCIF driver but doesn't actually exist on the board).

Based on work for the Silk board by Vladimir Barinov and Sergei Shtylyov.

Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoARM: dts: alt: add SDHI0 and 1 support
Simon Horman [Tue, 9 Aug 2016 12:19:03 +0000 (14:19 +0200)] 
ARM: dts: alt: add SDHI0 and 1 support

Define the Alt board dependent part of the SDHI0 and 1
device nodes along with the necessary voltage regulators.

Based on work by the original patch by Vladimir Barinov and
Sergei Shtylyov for the Silk board.

Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoARM: debug-ll: Add support for r8a7992
Geert Uytterhoeven [Tue, 16 Aug 2016 13:42:20 +0000 (15:42 +0200)] 
ARM: debug-ll: Add support for r8a7992

Enable low-level debugging support for R-Car V2H (r8a7792).
V2H uses SCIF0 for the debug console, like most other R-Car Gen2 SoCs.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoARM: dts: r8a7794: add VSP1 support
Sergei Shtylyov [Mon, 15 Aug 2016 21:52:58 +0000 (00:52 +0300)] 
ARM: dts: r8a7794: add VSP1 support

Describe two instances (VSPS and VSPD0) of the VSP1 in the R8A7794 device
tree.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agopinctrl: sh-pfc: r8a7795: Add DU support
Laurent Pinchart [Fri, 12 Aug 2016 09:14:28 +0000 (12:14 +0300)] 
pinctrl: sh-pfc: r8a7795: Add DU support

Only the DU parallel RGB output signals are included, HDMI and TCON pins
will be added in separate groups.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
8 years agoARM: shmobile: defconfig: Enable CONFIG_CGROUPS
Niklas Söderlund [Wed, 10 Aug 2016 13:17:56 +0000 (15:17 +0200)] 
ARM: shmobile: defconfig: Enable CONFIG_CGROUPS

Enable support for CONFIG_CGROUPS in shmobile_defconfig.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoarm64: defconfig: Add Renesas R-Car HSUSB driver support as module
Yoshihiro Shimoda [Thu, 21 Jul 2016 10:47:01 +0000 (19:47 +0900)] 
arm64: defconfig: Add Renesas R-Car HSUSB driver support as module

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoARM: dts: r8a7792: add DU support
Sergei Shtylyov [Fri, 5 Aug 2016 18:26:25 +0000 (21:26 +0300)] 
ARM: dts: r8a7792: add DU support

Define the generic R8A7792 part of the DU device node.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoARM: dts: r8a7792: add DU clocks
Sergei Shtylyov [Fri, 5 Aug 2016 18:25:47 +0000 (21:25 +0300)] 
ARM: dts: r8a7792: add DU clocks

Describe the DU0/1 clocks and their parent, ZX clock in the R8A7792 device
tree.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoARM: dts: r8a7792: fix misindented line
Sergei Shtylyov [Fri, 5 Aug 2016 21:52:39 +0000 (00:52 +0300)] 
ARM: dts: r8a7792: fix misindented line

Commit 2a0900655d5e (ARM: dts: r8a7792: add I2C support) had a wrongly
indented line at the end of the "aliases" subnode -- fix it.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoARM: dts: silk: add sound support
Sergei Shtylyov [Wed, 27 Jul 2016 21:05:58 +0000 (00:05 +0300)] 
ARM: dts: silk: add sound support

Define the SILK board dependent part of the R8A7794 sound  device node.
Add device node for Asahi Kasei AK4643 stereo codec to the I2C1 bus.
Add the "simple-audio-card" device node to interconnect the SoC sound
device  and the codec.

This patch is based on the commit 493b4da7c10c ("ARM: dts: porter: add
sound support").

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoARM: dts: r8a7794: add sound support
Sergei Shtylyov [Wed, 27 Jul 2016 21:03:10 +0000 (00:03 +0300)] 
ARM: dts: r8a7794: add sound support

Define the generic R8A7794 part of  the sound device node.
This sound device  is a complex one and comprises the Audio Clock Generator
(ADG), Sampling Rate Converter Unit (SCU), Serial Sound Interface [Unit]
(SSI[U]), and Audio DMAC-Peripheral-Peripheral.
It is up  to the board file to enable the device.

This patch is based on the R8A7791 sound work by Kuninori Morimoto.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoARM: dts: r8a7794: add Audio-DMAC support
Sergei Shtylyov [Wed, 27 Jul 2016 21:02:18 +0000 (00:02 +0300)] 
ARM: dts: r8a7794: add Audio-DMAC support

Describe Audio-DMAC in the R8A7794 device tree.

This patch is loosely based on the commit 8994fff67761 ("ARM: shmobile:
r8a7791: Add Audio DMAC devices to DT").

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoARM: dts: r8a7794: add MSTP10 clocks
Sergei Shtylyov [Wed, 27 Jul 2016 21:01:01 +0000 (14:01 -0700)] 
ARM: dts: r8a7794: add MSTP10 clocks

Add MSTP10 clocks to the R8A7794 device tree.

This patch is based on the commit ee9141522dcf ("ARM: shmobile: r8a7791:
add MSTP10 support on DTSI").

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoARM: dts: r8a7794: add MSTP5 clocks
Sergei Shtylyov [Wed, 27 Jul 2016 20:59:59 +0000 (23:59 +0300)] 
ARM: dts: r8a7794: add MSTP5 clocks

Add some MSTP5 clocks to the R8A7794 device tree.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoARM: dts: r8a7794: add audio clocks
Sergei Shtylyov [Wed, 27 Jul 2016 20:59:18 +0000 (23:59 +0300)] 
ARM: dts: r8a7794: add audio clocks

Describe  the external audio clocks (signals AUDIO_CLK[ABC]) required by
the sound driver.  Boards that provide audio clocks need to  override the
clock frequencies.

This patch is based on the commit 0d3dbde84a45 ("ARM: shmobile: r8a7791:
add  audio clock on DTSI").

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoARM: dts: r8a7792: add VIN support
Sergei Shtylyov [Sat, 23 Jul 2016 19:17:42 +0000 (22:17 +0300)] 
ARM: dts: r8a7792: add VIN support

Define the generic R8A7792 parts of the VIN[0-5] device nodes.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoARM: dts: r8a7792: add VIN clocks
Sergei Shtylyov [Sat, 23 Jul 2016 19:16:38 +0000 (22:16 +0300)] 
ARM: dts: r8a7792: add VIN clocks

Describe the VIN[0-5] clocks and their parent, ZG clock in the R8A7792
device  tree.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoARM: dts: r8a7792: add I2C support
Sergei Shtylyov [Sat, 23 Jul 2016 18:49:12 +0000 (21:49 +0300)] 
ARM: dts: r8a7792: add I2C support

Define the generic R8A7792 parts of the I2C[0-5] device nodes.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoARM: dts: r8a7792: add I2C clocks
Sergei Shtylyov [Sat, 23 Jul 2016 18:48:33 +0000 (21:48 +0300)] 
ARM: dts: r8a7792: add I2C clocks

Describe the I2C[0-5] clocks in the R8A7792 device tree.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoARM: dts: r8a7792: add SDHI support
Sergei Shtylyov [Sat, 23 Jul 2016 18:11:26 +0000 (21:11 +0300)] 
ARM: dts: r8a7792: add SDHI support

Define the generic R8A7792 part of the SDHI0 device node.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoARM: dts: r8a7792: add SD clocks
Sergei Shtylyov [Sat, 23 Jul 2016 18:10:31 +0000 (21:10 +0300)] 
ARM: dts: r8a7792: add SD clocks

Describe the SDHI0 clock and its parent, SD clock in the R8A7792 device tree.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agopinctrl: sh-pfc: r8a7792: Add DU pin groups
Sergei Shtylyov [Fri, 5 Aug 2016 20:54:20 +0000 (23:54 +0300)] 
pinctrl: sh-pfc: r8a7792: Add DU pin groups

Add DU pin groups to the R8A7792 PFC driver.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
8 years agopinctrl: sh-pfc: r8a7792: Add VIN pin groups
Sergei Shtylyov [Fri, 5 Aug 2016 20:52:32 +0000 (23:52 +0300)] 
pinctrl: sh-pfc: r8a7792: Add VIN pin groups

Add VIN[0-5] pin groups to the R8A7792 PFC driver.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
[geert: Fix VI1_D14_G6_Y6 and VI1_D15_G7_Y7 pins]
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
8 years agopinctrl: sh-pfc: r8a7795: Correct header from R-Car Gen3 to R8A7795
Geert Uytterhoeven [Tue, 28 Jun 2016 14:12:41 +0000 (16:12 +0200)] 
pinctrl: sh-pfc: r8a7795: Correct header from R-Car Gen3 to R8A7795

This source file handles r8a7795 only, which is not the sole member of
the R-Car Gen3 family.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
8 years agoARM: dts: r8a7794: Correct SDHI register size
Simon Horman [Wed, 20 Jul 2016 23:44:08 +0000 (08:44 +0900)] 
ARM: dts: r8a7794: Correct SDHI register size

r8a7794 SDHI ch0 has SD_DMACR which is located in 0x324.
This patch updates register size

Based on work for the r8a7790 by Kuninori Morimoto.

Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
8 years agoARM: dts: blanche: add CAN0 support
Sergei Shtylyov [Thu, 14 Jul 2016 20:21:15 +0000 (23:21 +0300)] 
ARM: dts: blanche: add CAN0 support

Define the Blanche board dependent part of the CAN0 device node along with
the CAN_CLK crystal.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoARM: dts: r8a7792: add CAN support
Sergei Shtylyov [Thu, 14 Jul 2016 20:20:35 +0000 (23:20 +0300)] 
ARM: dts: r8a7792: add CAN support

Define the generic R8A7792 parts of the CAN0/1 device nodes.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoARM: dts: r8a7792: add CAN clocks
Sergei Shtylyov [Thu, 14 Jul 2016 20:19:44 +0000 (23:19 +0300)] 
ARM: dts: r8a7792: add CAN clocks

The R-Car CAN controllers can derive  the CAN  bus  clock not only from
their peripheral  clock input (clkp1) but also from the other internal
clock (clkp2) and the external clock fed on the CAN_CLK pin.  Describe
those  clocks in  the R8A7792 device tree.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoARM: dts: r8a7792: add EtherAVB support
Sergei Shtylyov [Mon, 4 Jul 2016 21:23:30 +0000 (00:23 +0300)] 
ARM: dts: r8a7792: add EtherAVB support

Define the generic R8A7792 part of the EtherAVB device node.

Based on the commit 89aac8af1a60 ("ARM: dts: r8a7794: add EtherAVB support").

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoARM: dts: r8a7792: add EtherAVB clocks
Sergei Shtylyov [Mon, 4 Jul 2016 21:22:38 +0000 (00:22 +0300)] 
ARM: dts: r8a7792: add EtherAVB clocks

Add the EtherAVB clock and its parent, HP clock to the R8A7792 device tree.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoARM: dts: r8a7792: add GPIO support
Sergei Shtylyov [Tue, 5 Jul 2016 22:02:20 +0000 (01:02 +0300)] 
ARM: dts: r8a7792: add GPIO support

Describe all 12 GPIO controllers in the R8A7792 device tree.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoARM: dts: r8a7792: add GPIO clocks
Sergei Shtylyov [Tue, 5 Jul 2016 22:01:22 +0000 (01:01 +0300)] 
ARM: dts: r8a7792: add GPIO clocks

Describe the GPIO clocks in the R8A7792 device tree.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoARM: dts: blanche: add Ethernet pins
Sergei Shtylyov [Thu, 14 Jul 2016 21:02:01 +0000 (14:02 -0700)] 
ARM: dts: blanche: add Ethernet pins

Add the (previously omitted) pin data for the SMSC LAN89218 Ethernet chip
to  the Blanche board's device tree:  the chip's IRQ output is connected to
the SoC's IRQ0 pin and its nCS input is connected to the SoC's EX_CS0# pin.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoARM: dts: blanche: add SCIF0/3 pins
Sergei Shtylyov [Thu, 14 Jul 2016 21:00:56 +0000 (00:00 +0300)] 
ARM: dts: blanche: add SCIF0/3 pins

Add the (previously omitted) SCIF0/3 pin data to the Blanche board's
device tree.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agoARM: dts: r8a7792: add PFC support
Sergei Shtylyov [Thu, 14 Jul 2016 21:00:05 +0000 (00:00 +0300)] 
ARM: dts: r8a7792: add PFC support

Define the generic R8A7792 part of the PFC device node.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
8 years agopinctrl: sh-pfc: r8a7792: Add CAN pin groups
Sergei Shtylyov [Thu, 14 Jul 2016 19:51:40 +0000 (22:51 +0300)] 
pinctrl: sh-pfc: r8a7792: Add CAN pin groups

Add CAN0/1 data/clock pin groups to R8A7792 PFC driver.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
8 years agopinctrl: sh-pfc: r8a7792: Add SDHI pin groups
Sergei Shtylyov [Tue, 12 Jul 2016 21:40:03 +0000 (00:40 +0300)] 
pinctrl: sh-pfc: r8a7792: Add SDHI pin groups

Add SDHI0 pin groups to the R8A7792 PFC driver.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
8 years agopinctrl: sh-pfc: r8a7792: Add EtherAVB pin groups
Sergei Shtylyov [Tue, 12 Jul 2016 21:38:44 +0000 (00:38 +0300)] 
pinctrl: sh-pfc: r8a7792: Add EtherAVB pin groups

Add the EtherAVB pin groups to the R8A7792 PFC driver.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
This page took 0.043669 seconds and 5 git commands to generate.