linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 01/34] ARM: shmobile: r8a7740 dtsi: Add missing INTCA clock for irqpin module
  2014-11-04  1:51 [GIT PULL] Renesas ARM Based SoC DT Updates for v3.19 Simon Horman
@ 2014-11-04  1:50 ` Simon Horman
  2014-11-04  1:50 ` [PATCH 02/34] ARM: shmobile: r8a7790: add USB PHY DT support Simon Horman
                   ` (33 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2014-11-04  1:50 UTC (permalink / raw)
  To: linux-arm-kernel

From: Geert Uytterhoeven <geert+renesas@glider.be>

This clock drives the INTCA irqpin controller modules.
Before, it was assumed enabled by the bootloader or reset state.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: devicetree at vger.kernel.org
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/boot/dts/r8a7740.dtsi            | 14 ++++++++++----
 include/dt-bindings/clock/r8a7740-clock.h |  1 +
 2 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/arch/arm/boot/dts/r8a7740.dtsi b/arch/arm/boot/dts/r8a7740.dtsi
index d46c213..502483f 100644
--- a/arch/arm/boot/dts/r8a7740.dtsi
+++ b/arch/arm/boot/dts/r8a7740.dtsi
@@ -71,6 +71,7 @@
 			      0 149 IRQ_TYPE_LEVEL_HIGH
 			      0 149 IRQ_TYPE_LEVEL_HIGH
 			      0 149 IRQ_TYPE_LEVEL_HIGH>;
+		clocks = <&mstp2_clks R8A7740_CLK_INTCA>;
 	};
 
 	/* irqpin1: IRQ8 - IRQ15 */
@@ -91,6 +92,7 @@
 			      0 149 IRQ_TYPE_LEVEL_HIGH
 			      0 149 IRQ_TYPE_LEVEL_HIGH
 			      0 149 IRQ_TYPE_LEVEL_HIGH>;
+		clocks = <&mstp2_clks R8A7740_CLK_INTCA>;
 	};
 
 	/* irqpin2: IRQ16 - IRQ23 */
@@ -111,6 +113,7 @@
 			      0 149 IRQ_TYPE_LEVEL_HIGH
 			      0 149 IRQ_TYPE_LEVEL_HIGH
 			      0 149 IRQ_TYPE_LEVEL_HIGH>;
+		clocks = <&mstp2_clks R8A7740_CLK_INTCA>;
 	};
 
 	/* irqpin3: IRQ24 - IRQ31 */
@@ -131,6 +134,7 @@
 			      0 149 IRQ_TYPE_LEVEL_HIGH
 			      0 149 IRQ_TYPE_LEVEL_HIGH
 			      0 149 IRQ_TYPE_LEVEL_HIGH>;
+		clocks = <&mstp2_clks R8A7740_CLK_INTCA>;
 	};
 
 	ether: ethernet at e9a00000 {
@@ -448,8 +452,8 @@
 		mstp2_clks: mstp2_clks at e6150138 {
 			compatible = "renesas,r8a7740-mstp-clocks", "renesas,cpg-mstp-clocks";
 			reg = <0xe6150138 4>, <0xe6150040 4>;
-			clocks = <&sub_clk>, <&sub_clk>,
-				 <&cpg_clocks R8A7740_CLK_HP>,
+			clocks = <&sub_clk>, <&cpg_clocks R8A7740_CLK_HP>,
+				 <&sub_clk>, <&cpg_clocks R8A7740_CLK_HP>,
 				 <&cpg_clocks R8A7740_CLK_HP>,
 				 <&cpg_clocks R8A7740_CLK_HP>,
 				 <&cpg_clocks R8A7740_CLK_HP>,
@@ -458,7 +462,8 @@
 				 <&sub_clk>;
 			#clock-cells = <1>;
 			renesas,clock-indices = <
-				R8A7740_CLK_SCIFA6 R8A7740_CLK_SCIFA7
+				R8A7740_CLK_SCIFA6 R8A7740_CLK_INTCA
+				R8A7740_CLK_SCIFA7
 				R8A7740_CLK_DMAC1 R8A7740_CLK_DMAC2
 				R8A7740_CLK_DMAC3 R8A7740_CLK_USBDMAC
 				R8A7740_CLK_SCIFA5 R8A7740_CLK_SCIFB
@@ -467,7 +472,8 @@
 				R8A7740_CLK_SCIFA4
 			>;
 			clock-output-names =
-				"scifa6", "scifa7", "dmac1", "dmac2", "dmac3",
+				"scifa6", "intca",
+				"scifa7", "dmac1", "dmac2", "dmac3",
 				"usbdmac", "scifa5", "scifb", "scifa0", "scifa1",
 				"scifa2", "scifa3", "scifa4";
 		};
diff --git a/include/dt-bindings/clock/r8a7740-clock.h b/include/dt-bindings/clock/r8a7740-clock.h
index f6b4b0f..476135d 100644
--- a/include/dt-bindings/clock/r8a7740-clock.h
+++ b/include/dt-bindings/clock/r8a7740-clock.h
@@ -40,6 +40,7 @@
 
 /* MSTP2 */
 #define R8A7740_CLK_SCIFA6	30
+#define R8A7740_CLK_INTCA	29
 #define R8A7740_CLK_SCIFA7	22
 #define R8A7740_CLK_DMAC1	18
 #define R8A7740_CLK_DMAC2	17
-- 
2.1.1

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [PATCH 02/34] ARM: shmobile: r8a7790: add USB PHY DT support
  2014-11-04  1:51 [GIT PULL] Renesas ARM Based SoC DT Updates for v3.19 Simon Horman
  2014-11-04  1:50 ` [PATCH 01/34] ARM: shmobile: r8a7740 dtsi: Add missing INTCA clock for irqpin module Simon Horman
@ 2014-11-04  1:50 ` Simon Horman
  2014-11-04  1:50 ` [PATCH 03/34] ARM: shmobile: lager: enable USB PHY Simon Horman
                   ` (32 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2014-11-04  1:50 UTC (permalink / raw)
  To: linux-arm-kernel

From: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>

Define the R8A7790 generic part of the USB PHY device node. It is up to the
board file to enable the device.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/boot/dts/r8a7790.dtsi | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7790.dtsi b/arch/arm/boot/dts/r8a7790.dtsi
index b7c59b7..12fb3fc 100644
--- a/arch/arm/boot/dts/r8a7790.dtsi
+++ b/arch/arm/boot/dts/r8a7790.dtsi
@@ -568,6 +568,25 @@
 		status = "disabled";
 	};
 
+	usbphy: usb-phy at e6590100 {
+		compatible = "renesas,usb-phy-r8a7790";
+		reg = <0 0xe6590100 0 0x100>;
+		#address-cells = <1>;
+		#size-cells = <0>;
+		clocks = <&mstp7_clks R8A7790_CLK_HSUSB>;
+		clock-names = "usbhs";
+		status = "disabled";
+
+		usb0: usb-channel at 0 {
+			reg = <0>;
+			#phy-cells = <1>;
+		};
+		usb2: usb-channel at 2 {
+			reg = <2>;
+			#phy-cells = <1>;
+		};
+	};
+
 	vin0: video at e6ef0000 {
 		compatible = "renesas,vin-r8a7790";
 		clocks = <&mstp8_clks R8A7790_CLK_VIN0>;
-- 
2.1.1

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [PATCH 03/34] ARM: shmobile: lager: enable USB PHY
  2014-11-04  1:51 [GIT PULL] Renesas ARM Based SoC DT Updates for v3.19 Simon Horman
  2014-11-04  1:50 ` [PATCH 01/34] ARM: shmobile: r8a7740 dtsi: Add missing INTCA clock for irqpin module Simon Horman
  2014-11-04  1:50 ` [PATCH 02/34] ARM: shmobile: r8a7790: add USB PHY DT support Simon Horman
@ 2014-11-04  1:50 ` Simon Horman
  2014-11-04  1:50 ` [PATCH 04/34] ARM: shmobile: r8a7791: add USB PHY DT support Simon Horman
                   ` (31 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2014-11-04  1:50 UTC (permalink / raw)
  To: linux-arm-kernel

From: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>

Enable USB PHY device for the Lager board.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/boot/dts/r8a7790-lager.dts | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7790-lager.dts b/arch/arm/boot/dts/r8a7790-lager.dts
index acab2e1..cd530de 100644
--- a/arch/arm/boot/dts/r8a7790-lager.dts
+++ b/arch/arm/boot/dts/r8a7790-lager.dts
@@ -472,6 +472,10 @@
 	pinctrl-names = "default";
 };
 
+&usbphy {
+	status = "okay";
+};
+
 /* composite video input */
 &vin1 {
 	pinctrl-0 = <&vin1_pins>;
-- 
2.1.1

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [PATCH 04/34] ARM: shmobile: r8a7791: add USB PHY DT support
  2014-11-04  1:51 [GIT PULL] Renesas ARM Based SoC DT Updates for v3.19 Simon Horman
                   ` (2 preceding siblings ...)
  2014-11-04  1:50 ` [PATCH 03/34] ARM: shmobile: lager: enable USB PHY Simon Horman
@ 2014-11-04  1:50 ` Simon Horman
  2014-11-04  1:50 ` [PATCH 05/34] ARM: shmobile: koelsch: enable USB PHY Simon Horman
                   ` (30 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2014-11-04  1:50 UTC (permalink / raw)
  To: linux-arm-kernel

From: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>

Define the R8A7791 generic part of the USB PHY device node. It is up to the
board file to enable the device.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/boot/dts/r8a7791.dtsi | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7791.dtsi b/arch/arm/boot/dts/r8a7791.dtsi
index e4a7170..49f6b99 100644
--- a/arch/arm/boot/dts/r8a7791.dtsi
+++ b/arch/arm/boot/dts/r8a7791.dtsi
@@ -613,6 +613,25 @@
 		status = "disabled";
 	};
 
+	usbphy: usb-phy at e6590100 {
+		compatible = "renesas,usb-phy-r8a7791";
+		reg = <0 0xe6590100 0 0x100>;
+		#address-cells = <1>;
+		#size-cells = <0>;
+		clocks = <&mstp7_clks R8A7791_CLK_HSUSB>;
+		clock-names = "usbhs";
+		status = "disabled";
+
+		usb0: usb-channel at 0 {
+			reg = <0>;
+			#phy-cells = <1>;
+		};
+		usb2: usb-channel at 2 {
+			reg = <2>;
+			#phy-cells = <1>;
+		};
+	};
+
 	vin0: video at e6ef0000 {
 		compatible = "renesas,vin-r8a7791";
 		clocks = <&mstp8_clks R8A7791_CLK_VIN0>;
-- 
2.1.1

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [PATCH 05/34] ARM: shmobile: koelsch: enable USB PHY
  2014-11-04  1:51 [GIT PULL] Renesas ARM Based SoC DT Updates for v3.19 Simon Horman
                   ` (3 preceding siblings ...)
  2014-11-04  1:50 ` [PATCH 04/34] ARM: shmobile: r8a7791: add USB PHY DT support Simon Horman
@ 2014-11-04  1:50 ` Simon Horman
  2014-11-04  1:50 ` [PATCH 06/34] ARM: shmobile: henninger: " Simon Horman
                   ` (29 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2014-11-04  1:50 UTC (permalink / raw)
  To: linux-arm-kernel

From: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>

Enable USB PHY device for the Koelsch board.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/boot/dts/r8a7791-koelsch.dts | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7791-koelsch.dts b/arch/arm/boot/dts/r8a7791-koelsch.dts
index 5e4d833..0402c49 100644
--- a/arch/arm/boot/dts/r8a7791-koelsch.dts
+++ b/arch/arm/boot/dts/r8a7791-koelsch.dts
@@ -474,6 +474,10 @@
 	pinctrl-names = "default";
 };
 
+&usbphy {
+	status = "okay";
+};
+
 &pcie_bus_clk {
 	status = "okay";
 };
-- 
2.1.1

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [PATCH 06/34] ARM: shmobile: henninger: enable USB PHY
  2014-11-04  1:51 [GIT PULL] Renesas ARM Based SoC DT Updates for v3.19 Simon Horman
                   ` (4 preceding siblings ...)
  2014-11-04  1:50 ` [PATCH 05/34] ARM: shmobile: koelsch: enable USB PHY Simon Horman
@ 2014-11-04  1:50 ` Simon Horman
  2014-11-04  1:50 ` [PATCH 07/34] ARM: shmobile: r8a7790: link PCI USB devices to " Simon Horman
                   ` (28 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2014-11-04  1:50 UTC (permalink / raw)
  To: linux-arm-kernel

From: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>

Enable USB PHY device for the Henninger board.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/boot/dts/r8a7791-henninger.dts | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7791-henninger.dts b/arch/arm/boot/dts/r8a7791-henninger.dts
index 0868899..ef2cb92 100644
--- a/arch/arm/boot/dts/r8a7791-henninger.dts
+++ b/arch/arm/boot/dts/r8a7791-henninger.dts
@@ -272,6 +272,10 @@
 	pinctrl-names = "default";
 };
 
+&usbphy {
+	status = "okay";
+};
+
 &pcie_bus_clk {
 	status = "okay";
 };
-- 
2.1.1

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [PATCH 07/34] ARM: shmobile: r8a7790: link PCI USB devices to USB PHY
  2014-11-04  1:51 [GIT PULL] Renesas ARM Based SoC DT Updates for v3.19 Simon Horman
                   ` (5 preceding siblings ...)
  2014-11-04  1:50 ` [PATCH 06/34] ARM: shmobile: henninger: " Simon Horman
@ 2014-11-04  1:50 ` Simon Horman
  2014-11-04  1:50 ` [PATCH 08/34] ARM: shmobile: r8a7791: " Simon Horman
                   ` (27 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2014-11-04  1:50 UTC (permalink / raw)
  To: linux-arm-kernel

From: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>

Describe the PCI USB devices that are behind the PCI bridges, adding necessary
links to the USB PHY device.

Based on the original work by Ben Dooks <ben.dooks@codethink.co.uk>.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/boot/dts/r8a7790.dtsi | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7790.dtsi b/arch/arm/boot/dts/r8a7790.dtsi
index 12fb3fc..7b42b25 100644
--- a/arch/arm/boot/dts/r8a7790.dtsi
+++ b/arch/arm/boot/dts/r8a7790.dtsi
@@ -1197,6 +1197,20 @@
 		interrupt-map = <0x0000 0 0 1 &gic 0 108 IRQ_TYPE_LEVEL_HIGH
 				 0x0800 0 0 1 &gic 0 108 IRQ_TYPE_LEVEL_HIGH
 				 0x1000 0 0 2 &gic 0 108 IRQ_TYPE_LEVEL_HIGH>;
+
+		usb at 0,1 {
+			reg = <0x800 0 0 0 0>;
+			device_type = "pci";
+			phys = <&usb0 0>;
+			phy-names = "usb";
+		};
+
+		usb at 0,2 {
+			reg = <0x1000 0 0 0 0>;
+			device_type = "pci";
+			phys = <&usb0 0>;
+			phy-names = "usb";
+		};
 	};
 
 	pci1: pci at ee0b0000 {
@@ -1237,6 +1251,20 @@
 		interrupt-map = <0x0000 0 0 1 &gic 0 113 IRQ_TYPE_LEVEL_HIGH
 				 0x0800 0 0 1 &gic 0 113 IRQ_TYPE_LEVEL_HIGH
 				 0x1000 0 0 2 &gic 0 113 IRQ_TYPE_LEVEL_HIGH>;
+
+		usb at 0,1 {
+			reg = <0x800 0 0 0 0>;
+			device_type = "pci";
+			phys = <&usb2 0>;
+			phy-names = "usb";
+		};
+
+		usb at 0,2 {
+			reg = <0x1000 0 0 0 0>;
+			device_type = "pci";
+			phys = <&usb2 0>;
+			phy-names = "usb";
+		};
 	};
 
 	pciec: pcie at fe000000 {
-- 
2.1.1

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [PATCH 08/34] ARM: shmobile: r8a7791: link PCI USB devices to USB PHY
  2014-11-04  1:51 [GIT PULL] Renesas ARM Based SoC DT Updates for v3.19 Simon Horman
                   ` (6 preceding siblings ...)
  2014-11-04  1:50 ` [PATCH 07/34] ARM: shmobile: r8a7790: link PCI USB devices to " Simon Horman
@ 2014-11-04  1:50 ` Simon Horman
  2014-11-04  1:50 ` [PATCH 09/34] ARM: shmobile: r8a7790: switch from scif to scifa Simon Horman
                   ` (26 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2014-11-04  1:50 UTC (permalink / raw)
  To: linux-arm-kernel

From: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>

Describe the PCI USB devices that are behind the PCI bridges, adding necessary
links to the USB PHY device.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/boot/dts/r8a7791.dtsi | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7791.dtsi b/arch/arm/boot/dts/r8a7791.dtsi
index 49f6b99..1c58ce0 100644
--- a/arch/arm/boot/dts/r8a7791.dtsi
+++ b/arch/arm/boot/dts/r8a7791.dtsi
@@ -1194,6 +1194,20 @@
 		interrupt-map = <0x0000 0 0 1 &gic 0 108 IRQ_TYPE_LEVEL_HIGH
 				 0x0800 0 0 1 &gic 0 108 IRQ_TYPE_LEVEL_HIGH
 				 0x1000 0 0 2 &gic 0 108 IRQ_TYPE_LEVEL_HIGH>;
+
+		usb at 0,1 {
+			reg = <0x800 0 0 0 0>;
+			device_type = "pci";
+			phys = <&usb0 0>;
+			phy-names = "usb";
+		};
+
+		usb at 0,2 {
+			reg = <0x1000 0 0 0 0>;
+			device_type = "pci";
+			phys = <&usb0 0>;
+			phy-names = "usb";
+		};
 	};
 
 	pci1: pci at ee0d0000 {
@@ -1214,6 +1228,20 @@
 		interrupt-map = <0x0000 0 0 1 &gic 0 113 IRQ_TYPE_LEVEL_HIGH
 				 0x0800 0 0 1 &gic 0 113 IRQ_TYPE_LEVEL_HIGH
 				 0x1000 0 0 2 &gic 0 113 IRQ_TYPE_LEVEL_HIGH>;
+
+		usb at 0,1 {
+			reg = <0x800 0 0 0 0>;
+			device_type = "pci";
+			phys = <&usb2 0>;
+			phy-names = "usb";
+		};
+
+		usb at 0,2 {
+			reg = <0x1000 0 0 0 0>;
+			device_type = "pci";
+			phys = <&usb2 0>;
+			phy-names = "usb";
+		};
 	};
 
 	pciec: pcie at fe000000 {
-- 
2.1.1

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [PATCH 09/34] ARM: shmobile: r8a7790: switch from scif to scifa
  2014-11-04  1:51 [GIT PULL] Renesas ARM Based SoC DT Updates for v3.19 Simon Horman
                   ` (7 preceding siblings ...)
  2014-11-04  1:50 ` [PATCH 08/34] ARM: shmobile: r8a7791: " Simon Horman
@ 2014-11-04  1:50 ` Simon Horman
  2014-11-04  1:50 ` [PATCH 10/34] ARM: shmobile: r8a7740 dtsi: Fix clock index for scifa2 Simon Horman
                   ` (25 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2014-11-04  1:50 UTC (permalink / raw)
  To: linux-arm-kernel

From: Wolfram Sang <wsa+renesas@sang-engineering.com>

SCIF and SCIFA can be plexed onto the same wires on Lager board. The
datasheet also describes the wires as SCIFA. So, to make use of the
bigger FIFOs switch to SCIFA instead.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/boot/dts/r8a7790-lager.dts | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/arch/arm/boot/dts/r8a7790-lager.dts b/arch/arm/boot/dts/r8a7790-lager.dts
index cd530de..e96f952 100644
--- a/arch/arm/boot/dts/r8a7790-lager.dts
+++ b/arch/arm/boot/dts/r8a7790-lager.dts
@@ -19,8 +19,8 @@
 	compatible = "renesas,lager", "renesas,r8a7790";
 
 	aliases {
-		serial6 = &scif0;
-		serial7 = &scif1;
+		serial6 = &scifa0;
+		serial7 = &scifa1;
 	};
 
 	chosen {
@@ -207,9 +207,9 @@
 		renesas,function = "du";
 	};
 
-	scif0_pins: serial0 {
-		renesas,groups = "scif0_data";
-		renesas,function = "scif0";
+	scifa0_pins: serial0 {
+		renesas,groups = "scifa0_data";
+		renesas,function = "scifa0";
 	};
 
 	ether_pins: ether {
@@ -222,9 +222,9 @@
 		renesas,function = "intc";
 	};
 
-	scif1_pins: serial1 {
-		renesas,groups = "scif1_data";
-		renesas,function = "scif1";
+	scifa1_pins: serial1 {
+		renesas,groups = "scifa1_data";
+		renesas,function = "scifa1";
 	};
 
 	sdhi0_pins: sd0 {
@@ -356,15 +356,15 @@
 	};
 };
 
-&scif0 {
-	pinctrl-0 = <&scif0_pins>;
+&scifa0 {
+	pinctrl-0 = <&scifa0_pins>;
 	pinctrl-names = "default";
 
 	status = "okay";
 };
 
-&scif1 {
-	pinctrl-0 = <&scif1_pins>;
+&scifa1 {
+	pinctrl-0 = <&scifa1_pins>;
 	pinctrl-names = "default";
 
 	status = "okay";
-- 
2.1.1

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [PATCH 10/34] ARM: shmobile: r8a7740 dtsi: Fix clock index for scifa2
  2014-11-04  1:51 [GIT PULL] Renesas ARM Based SoC DT Updates for v3.19 Simon Horman
                   ` (8 preceding siblings ...)
  2014-11-04  1:50 ` [PATCH 09/34] ARM: shmobile: r8a7790: switch from scif to scifa Simon Horman
@ 2014-11-04  1:50 ` Simon Horman
  2014-11-04  1:50 ` [PATCH 11/34] ARM: shmobile: r8a7790: Add RGX clock to device tree Simon Horman
                   ` (24 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2014-11-04  1:50 UTC (permalink / raw)
  To: linux-arm-kernel

From: Geert Uytterhoeven <geert+renesas@glider.be>

The clocks property for the scifa2 device node referred to the scifa0
clock index instead of the scifa2 clock index.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/boot/dts/r8a7740.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/r8a7740.dtsi b/arch/arm/boot/dts/r8a7740.dtsi
index 502483f..559bd39 100644
--- a/arch/arm/boot/dts/r8a7740.dtsi
+++ b/arch/arm/boot/dts/r8a7740.dtsi
@@ -197,7 +197,7 @@
 		compatible = "renesas,scifa-r8a7740", "renesas,scifa";
 		reg = <0xe6c60000 0x100>;
 		interrupts = <0 102 IRQ_TYPE_LEVEL_HIGH>;
-		clocks = <&mstp2_clks R8A7740_CLK_SCIFA0>;
+		clocks = <&mstp2_clks R8A7740_CLK_SCIFA2>;
 		clock-names = "sci_ick";
 		status = "disabled";
 	};
-- 
2.1.1

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [PATCH 11/34] ARM: shmobile: r8a7790: Add RGX clock to device tree
  2014-11-04  1:51 [GIT PULL] Renesas ARM Based SoC DT Updates for v3.19 Simon Horman
                   ` (9 preceding siblings ...)
  2014-11-04  1:50 ` [PATCH 10/34] ARM: shmobile: r8a7740 dtsi: Fix clock index for scifa2 Simon Horman
@ 2014-11-04  1:50 ` Simon Horman
  2014-11-04  1:50 ` [PATCH 12/34] ARM: shmobile: r8a7791: Add SGX " Simon Horman
                   ` (23 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2014-11-04  1:50 UTC (permalink / raw)
  To: linux-arm-kernel

From: Kouei Abe <kouei.abe.cp@renesas.com>

Signed-off-by: Kouei Abe <kouei.abe.cp@renesas.com>
Signed-off-by: Yoshihiro Kaneko <ykaneko0929@gmail.com>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/boot/dts/r8a7790.dtsi            | 9 +++++----
 include/dt-bindings/clock/r8a7790-clock.h | 1 +
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/arch/arm/boot/dts/r8a7790.dtsi b/arch/arm/boot/dts/r8a7790.dtsi
index 7b42b25..602a46a 100644
--- a/arch/arm/boot/dts/r8a7790.dtsi
+++ b/arch/arm/boot/dts/r8a7790.dtsi
@@ -977,18 +977,19 @@
 		mstp1_clks: mstp1_clks at e6150134 {
 			compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
 			reg = <0 0xe6150134 0 4>, <0 0xe6150038 0 4>;
-			clocks = <&m2_clk>, <&p_clk>, <&p_clk>, <&p_clk>, <&rclk_clk>,
+			clocks = <&m2_clk>, <&p_clk>, <&zg_clk>, <&p_clk>, <&p_clk>, <&rclk_clk>,
 				 <&cp_clk>, <&zs_clk>, <&zs_clk>, <&zs_clk>,
 				 <&zs_clk>;
 			#clock-cells = <1>;
 			renesas,clock-indices = <
-				R8A7790_CLK_JPU R8A7790_CLK_TMU1 R8A7790_CLK_TMU3 R8A7790_CLK_TMU2
+				R8A7790_CLK_JPU R8A7790_CLK_TMU1 R8A7790_CLK_3DG
+				R8A7790_CLK_TMU3 R8A7790_CLK_TMU2
 				R8A7790_CLK_CMT0 R8A7790_CLK_TMU0 R8A7790_CLK_VSP1_DU1
 				R8A7790_CLK_VSP1_DU0 R8A7790_CLK_VSP1_R R8A7790_CLK_VSP1_S
 			>;
 			clock-output-names =
-				"jpu", "tmu1", "tmu3", "tmu2", "cmt0", "tmu0", "vsp1-du1",
-				"vsp1-du0", "vsp1-rt", "vsp1-sy";
+				"jpu", "tmu1", "3dg", "tmu3", "tmu2", "cmt0", "tmu0",
+				"vsp1-du1", "vsp1-du0", "vsp1-rt", "vsp1-sy";
 		};
 		mstp2_clks: mstp2_clks at e6150138 {
 			compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
diff --git a/include/dt-bindings/clock/r8a7790-clock.h b/include/dt-bindings/clock/r8a7790-clock.h
index 8ea7ab0..14a3f12 100644
--- a/include/dt-bindings/clock/r8a7790-clock.h
+++ b/include/dt-bindings/clock/r8a7790-clock.h
@@ -28,6 +28,7 @@
 /* MSTP1 */
 #define R8A7790_CLK_JPU		6
 #define R8A7790_CLK_TMU1		11
+#define R8A7790_CLK_3DG			12
 #define R8A7790_CLK_TMU3		21
 #define R8A7790_CLK_TMU2		22
 #define R8A7790_CLK_CMT0		24
-- 
2.1.1

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [PATCH 12/34] ARM: shmobile: r8a7791: Add SGX clock to device tree
  2014-11-04  1:51 [GIT PULL] Renesas ARM Based SoC DT Updates for v3.19 Simon Horman
                   ` (10 preceding siblings ...)
  2014-11-04  1:50 ` [PATCH 11/34] ARM: shmobile: r8a7790: Add RGX clock to device tree Simon Horman
@ 2014-11-04  1:50 ` Simon Horman
  2014-11-04  1:50 ` [PATCH 13/34] ARM: shmobile: r8a7790: Add MMP " Simon Horman
                   ` (22 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2014-11-04  1:50 UTC (permalink / raw)
  To: linux-arm-kernel

From: Kouei Abe <kouei.abe.cp@renesas.com>

Signed-off-by: Kouei Abe <kouei.abe.cp@renesas.com>
Signed-off-by: Yoshihiro Kaneko <ykaneko0929@gmail.com>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/boot/dts/r8a7791.dtsi            | 11 ++++++-----
 include/dt-bindings/clock/r8a7791-clock.h |  1 +
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/arch/arm/boot/dts/r8a7791.dtsi b/arch/arm/boot/dts/r8a7791.dtsi
index 1c58ce0..98c1b8b 100644
--- a/arch/arm/boot/dts/r8a7791.dtsi
+++ b/arch/arm/boot/dts/r8a7791.dtsi
@@ -1,7 +1,7 @@
 /*
  * Device Tree Source for the r8a7791 SoC
  *
- * Copyright (C) 2013 Renesas Electronics Corporation
+ * Copyright (C) 2013-2014 Renesas Electronics Corporation
  * Copyright (C) 2013-2014 Renesas Solutions Corp.
  * Copyright (C) 2014 Cogent Embedded Inc.
  *
@@ -977,17 +977,18 @@
 		mstp1_clks: mstp1_clks at e6150134 {
 			compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks";
 			reg = <0 0xe6150134 0 4>, <0 0xe6150038 0 4>;
-			clocks = <&m2_clk>, <&p_clk>, <&p_clk>, <&p_clk>, <&rclk_clk>,
+			clocks = <&m2_clk>, <&p_clk>, <&zg_clk>, <&p_clk>, <&p_clk>, <&rclk_clk>,
 				 <&cp_clk>, <&zs_clk>, <&zs_clk>, <&zs_clk>;
 			#clock-cells = <1>;
 			renesas,clock-indices = <
-				R8A7791_CLK_JPU R8A7791_CLK_TMU1 R8A7791_CLK_TMU3 R8A7791_CLK_TMU2
+				R8A7791_CLK_JPU R8A7791_CLK_TMU1 R8A7791_CLK_3DG
+				R8A7791_CLK_TMU3 R8A7791_CLK_TMU2
 				R8A7791_CLK_CMT0 R8A7791_CLK_TMU0 R8A7791_CLK_VSP1_DU1
 				R8A7791_CLK_VSP1_DU0 R8A7791_CLK_VSP1_S
 			>;
 			clock-output-names =
-				"jpu", "tmu1", "tmu3", "tmu2", "cmt0", "tmu0", "vsp1-du1",
-				"vsp1-du0", "vsp1-sy";
+				"jpu", "tmu1", "3dg", "tmu3", "tmu2", "cmt0", "tmu0",
+				"vsp1-du1", "vsp1-du0", "vsp1-sy";
 		};
 		mstp2_clks: mstp2_clks at e6150138 {
 			compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks";
diff --git a/include/dt-bindings/clock/r8a7791-clock.h b/include/dt-bindings/clock/r8a7791-clock.h
index 58c3f49..9570b7c 100644
--- a/include/dt-bindings/clock/r8a7791-clock.h
+++ b/include/dt-bindings/clock/r8a7791-clock.h
@@ -27,6 +27,7 @@
 /* MSTP1 */
 #define R8A7791_CLK_JPU		6
 #define R8A7791_CLK_TMU1		11
+#define R8A7791_CLK_3DG			12
 #define R8A7791_CLK_TMU3		21
 #define R8A7791_CLK_TMU2		22
 #define R8A7791_CLK_CMT0		24
-- 
2.1.1

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [PATCH 13/34] ARM: shmobile: r8a7790: Add MMP clock to device tree
  2014-11-04  1:51 [GIT PULL] Renesas ARM Based SoC DT Updates for v3.19 Simon Horman
                   ` (11 preceding siblings ...)
  2014-11-04  1:50 ` [PATCH 12/34] ARM: shmobile: r8a7791: Add SGX " Simon Horman
@ 2014-11-04  1:50 ` Simon Horman
  2014-11-04  1:50 ` [PATCH 14/34] ARM: shmobile: r8a7791: " Simon Horman
                   ` (21 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2014-11-04  1:50 UTC (permalink / raw)
  To: linux-arm-kernel

From: Yoshifumi Hosoya <yoshifumi.hosoya.wj@renesas.com>

Signed-off-by: Yoshifumi Hosoya <yoshifumi.hosoya.wj@renesas.com>
Signed-off-by: Yoshihiro Kaneko <ykaneko0929@gmail.com>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/boot/dts/r8a7790.dtsi            | 22 ++++++++++++++--------
 include/dt-bindings/clock/r8a7790-clock.h | 11 ++++++++++-
 2 files changed, 24 insertions(+), 9 deletions(-)

diff --git a/arch/arm/boot/dts/r8a7790.dtsi b/arch/arm/boot/dts/r8a7790.dtsi
index 602a46a..050e608 100644
--- a/arch/arm/boot/dts/r8a7790.dtsi
+++ b/arch/arm/boot/dts/r8a7790.dtsi
@@ -977,18 +977,24 @@
 		mstp1_clks: mstp1_clks at e6150134 {
 			compatible = "renesas,r8a7790-mstp-clocks", "renesas,cpg-mstp-clocks";
 			reg = <0 0xe6150134 0 4>, <0 0xe6150038 0 4>;
-			clocks = <&m2_clk>, <&p_clk>, <&zg_clk>, <&p_clk>, <&p_clk>, <&rclk_clk>,
-				 <&cp_clk>, <&zs_clk>, <&zs_clk>, <&zs_clk>,
-				 <&zs_clk>;
+			clocks = <&zs_clk>, <&zs_clk>, <&zs_clk>, <&zs_clk>, <&m2_clk>,
+				 <&zs_clk>, <&p_clk>, <&zg_clk>, <&zs_clk>, <&zs_clk>,
+				 <&zs_clk>, <&zs_clk>, <&p_clk>, <&p_clk>, <&rclk_clk>,
+				 <&cp_clk>, <&zs_clk>, <&zs_clk>, <&zs_clk>, <&zs_clk>;
 			#clock-cells = <1>;
 			renesas,clock-indices = <
-				R8A7790_CLK_JPU R8A7790_CLK_TMU1 R8A7790_CLK_3DG
-				R8A7790_CLK_TMU3 R8A7790_CLK_TMU2
-				R8A7790_CLK_CMT0 R8A7790_CLK_TMU0 R8A7790_CLK_VSP1_DU1
-				R8A7790_CLK_VSP1_DU0 R8A7790_CLK_VSP1_R R8A7790_CLK_VSP1_S
+				R8A7790_CLK_VCP1 R8A7790_CLK_VCP0 R8A7790_CLK_VPC1
+				R8A7790_CLK_VPC0 R8A7790_CLK_JPU R8A7790_CLK_SSP1
+				R8A7790_CLK_TMU1 R8A7790_CLK_3DG R8A7790_CLK_2DDMAC
+				R8A7790_CLK_FDP1_2 R8A7790_CLK_FDP1_1 R8A7790_CLK_FDP1_0
+				R8A7790_CLK_TMU3 R8A7790_CLK_TMU2 R8A7790_CLK_CMT0
+				R8A7790_CLK_TMU0 R8A7790_CLK_VSP1_DU1 R8A7790_CLK_VSP1_DU0
+				R8A7790_CLK_VSP1_R R8A7790_CLK_VSP1_S
 			>;
 			clock-output-names =
-				"jpu", "tmu1", "3dg", "tmu3", "tmu2", "cmt0", "tmu0",
+				"vcp1", "vcp0", "vpc1", "vpc0", "jpu", "ssp1",
+				"tmu1", "3dg", "2ddmac", "fdp1-2", "fdp1-1",
+				"fdp1-0", "tmu3", "tmu2", "cmt0", "tmu0",
 				"vsp1-du1", "vsp1-du0", "vsp1-rt", "vsp1-sy";
 		};
 		mstp2_clks: mstp2_clks at e6150138 {
diff --git a/include/dt-bindings/clock/r8a7790-clock.h b/include/dt-bindings/clock/r8a7790-clock.h
index 14a3f12..e3a3fb8 100644
--- a/include/dt-bindings/clock/r8a7790-clock.h
+++ b/include/dt-bindings/clock/r8a7790-clock.h
@@ -26,9 +26,18 @@
 #define R8A7790_CLK_MSIOF0		0
 
 /* MSTP1 */
-#define R8A7790_CLK_JPU		6
+#define R8A7790_CLK_VCP1		0
+#define R8A7790_CLK_VCP0		1
+#define R8A7790_CLK_VPC1		2
+#define R8A7790_CLK_VPC0		3
+#define R8A7790_CLK_JPU			6
+#define R8A7790_CLK_SSP1		9
 #define R8A7790_CLK_TMU1		11
 #define R8A7790_CLK_3DG			12
+#define R8A7790_CLK_2DDMAC		15
+#define R8A7790_CLK_FDP1_2		17
+#define R8A7790_CLK_FDP1_1		18
+#define R8A7790_CLK_FDP1_0		19
 #define R8A7790_CLK_TMU3		21
 #define R8A7790_CLK_TMU2		22
 #define R8A7790_CLK_CMT0		24
-- 
2.1.1

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [PATCH 14/34] ARM: shmobile: r8a7791: Add MMP clock to device tree
  2014-11-04  1:51 [GIT PULL] Renesas ARM Based SoC DT Updates for v3.19 Simon Horman
                   ` (12 preceding siblings ...)
  2014-11-04  1:50 ` [PATCH 13/34] ARM: shmobile: r8a7790: Add MMP " Simon Horman
@ 2014-11-04  1:50 ` Simon Horman
  2014-11-04  1:50 ` [PATCH 15/34] ARM: shmobile: r8a7740 dtsi: Add TMU0 and TMU1 device nodes Simon Horman
                   ` (20 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2014-11-04  1:50 UTC (permalink / raw)
  To: linux-arm-kernel

From: Yoshifumi Hosoya <yoshifumi.hosoya.wj@renesas.com>

Signed-off-by: Yoshifumi Hosoya <yoshifumi.hosoya.wj@renesas.com>
Signed-off-by: Yoshihiro Kaneko <ykaneko0929@gmail.com>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/boot/dts/r8a7791.dtsi            | 21 +++++++++++++--------
 include/dt-bindings/clock/r8a7791-clock.h |  8 +++++++-
 2 files changed, 20 insertions(+), 9 deletions(-)

diff --git a/arch/arm/boot/dts/r8a7791.dtsi b/arch/arm/boot/dts/r8a7791.dtsi
index 98c1b8b..6ce7819 100644
--- a/arch/arm/boot/dts/r8a7791.dtsi
+++ b/arch/arm/boot/dts/r8a7791.dtsi
@@ -977,18 +977,23 @@
 		mstp1_clks: mstp1_clks at e6150134 {
 			compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks";
 			reg = <0 0xe6150134 0 4>, <0 0xe6150038 0 4>;
-			clocks = <&m2_clk>, <&p_clk>, <&zg_clk>, <&p_clk>, <&p_clk>, <&rclk_clk>,
-				 <&cp_clk>, <&zs_clk>, <&zs_clk>, <&zs_clk>;
+			clocks = <&zs_clk>, <&zs_clk>, <&m2_clk>, <&zs_clk>, <&p_clk>,
+				 <&zg_clk>, <&zs_clk>, <&zs_clk>, <&zs_clk>, <&p_clk>,
+				 <&p_clk>, <&rclk_clk>, <&cp_clk>, <&zs_clk>, <&zs_clk>,
+				 <&zs_clk>;
 			#clock-cells = <1>;
 			renesas,clock-indices = <
-				R8A7791_CLK_JPU R8A7791_CLK_TMU1 R8A7791_CLK_3DG
-				R8A7791_CLK_TMU3 R8A7791_CLK_TMU2
-				R8A7791_CLK_CMT0 R8A7791_CLK_TMU0 R8A7791_CLK_VSP1_DU1
-				R8A7791_CLK_VSP1_DU0 R8A7791_CLK_VSP1_S
+				R8A7791_CLK_VCP0 R8A7791_CLK_VPC0 R8A7791_CLK_JPU
+				R8A7791_CLK_SSP1 R8A7791_CLK_TMU1 R8A7791_CLK_3DG
+				R8A7791_CLK_2DDMAC R8A7791_CLK_FDP1_1 R8A7791_CLK_FDP1_0
+				R8A7791_CLK_TMU3 R8A7791_CLK_TMU2 R8A7791_CLK_CMT0
+				R8A7791_CLK_TMU0 R8A7791_CLK_VSP1_DU1 R8A7791_CLK_VSP1_DU0
+				R8A7791_CLK_VSP1_S
 			>;
 			clock-output-names =
-				"jpu", "tmu1", "3dg", "tmu3", "tmu2", "cmt0", "tmu0",
-				"vsp1-du1", "vsp1-du0", "vsp1-sy";
+				"vcp0", "vpc0", "jpu", "ssp1", "tmu1", "3dg",
+				"2ddmac", "fdp1-1", "fdp1-0", "tmu3", "tmu2", "cmt0",
+				"tmu0", "vsp1-du1", "vsp1-du0", "vsp1-sy";
 		};
 		mstp2_clks: mstp2_clks at e6150138 {
 			compatible = "renesas,r8a7791-mstp-clocks", "renesas,cpg-mstp-clocks";
diff --git a/include/dt-bindings/clock/r8a7791-clock.h b/include/dt-bindings/clock/r8a7791-clock.h
index 9570b7c..dcececd 100644
--- a/include/dt-bindings/clock/r8a7791-clock.h
+++ b/include/dt-bindings/clock/r8a7791-clock.h
@@ -25,9 +25,15 @@
 #define R8A7791_CLK_MSIOF0		0
 
 /* MSTP1 */
-#define R8A7791_CLK_JPU		6
+#define R8A7791_CLK_VCP0		1
+#define R8A7791_CLK_VPC0		3
+#define R8A7791_CLK_JPU			6
+#define R8A7791_CLK_SSP1		9
 #define R8A7791_CLK_TMU1		11
 #define R8A7791_CLK_3DG			12
+#define R8A7791_CLK_2DDMAC		15
+#define R8A7791_CLK_FDP1_1		18
+#define R8A7791_CLK_FDP1_0		19
 #define R8A7791_CLK_TMU3		21
 #define R8A7791_CLK_TMU2		22
 #define R8A7791_CLK_CMT0		24
-- 
2.1.1

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [PATCH 15/34] ARM: shmobile: r8a7740 dtsi: Add TMU0 and TMU1 device nodes
  2014-11-04  1:51 [GIT PULL] Renesas ARM Based SoC DT Updates for v3.19 Simon Horman
                   ` (13 preceding siblings ...)
  2014-11-04  1:50 ` [PATCH 14/34] ARM: shmobile: r8a7791: " Simon Horman
@ 2014-11-04  1:50 ` Simon Horman
  2014-11-04  1:50 ` [PATCH 16/34] ARM: shmobile: armadillo800eva dts: Enable TMU0 Simon Horman
                   ` (19 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2014-11-04  1:50 UTC (permalink / raw)
  To: linux-arm-kernel

From: Geert Uytterhoeven <geert+renesas@glider.be>

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/boot/dts/r8a7740.dtsi | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7740.dtsi b/arch/arm/boot/dts/r8a7740.dtsi
index 559bd39..aec8da8 100644
--- a/arch/arm/boot/dts/r8a7740.dtsi
+++ b/arch/arm/boot/dts/r8a7740.dtsi
@@ -335,6 +335,34 @@
 		status = "disabled";
 	};
 
+	tmu0: timer at fff80000 {
+		compatible = "renesas,tmu-r8a7740", "renesas,tmu";
+		reg = <0xfff80000 0x2c>;
+		interrupts = <0 198 IRQ_TYPE_LEVEL_HIGH>,
+			     <0 199 IRQ_TYPE_LEVEL_HIGH>,
+			     <0 200 IRQ_TYPE_LEVEL_HIGH>;
+		clocks = <&mstp1_clks R8A7740_CLK_TMU0>;
+		clock-names = "fck";
+
+		#renesas,channels = <3>;
+
+		status = "disabled";
+	};
+
+	tmu1: timer at fff90000 {
+		compatible = "renesas,tmu-r8a7740", "renesas,tmu";
+		reg = <0xfff90000 0x2c>;
+		interrupts = <0 170 IRQ_TYPE_LEVEL_HIGH>,
+			     <0 171 IRQ_TYPE_LEVEL_HIGH>,
+			     <0 172 IRQ_TYPE_LEVEL_HIGH>;
+		clocks = <&mstp1_clks R8A7740_CLK_TMU1>;
+		clock-names = "fck";
+
+		#renesas,channels = <3>;
+
+		status = "disabled";
+	};
+
 	clocks {
 		#address-cells = <1>;
 		#size-cells = <1>;
-- 
2.1.1

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [PATCH 16/34] ARM: shmobile: armadillo800eva dts: Enable TMU0
  2014-11-04  1:51 [GIT PULL] Renesas ARM Based SoC DT Updates for v3.19 Simon Horman
                   ` (14 preceding siblings ...)
  2014-11-04  1:50 ` [PATCH 15/34] ARM: shmobile: r8a7740 dtsi: Add TMU0 and TMU1 device nodes Simon Horman
@ 2014-11-04  1:50 ` Simon Horman
  2014-11-04  1:50 ` [PATCH 17/34] ARM: shmobile: r8a7778: Add TMU nodes Simon Horman
                   ` (18 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2014-11-04  1:50 UTC (permalink / raw)
  To: linux-arm-kernel

From: Geert Uytterhoeven <geert+renesas@glider.be>

ch0 will be used for clock events and for periodic clock events,
ch1 will be used as clock source.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/boot/dts/r8a7740-armadillo800eva.dts | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7740-armadillo800eva.dts b/arch/arm/boot/dts/r8a7740-armadillo800eva.dts
index 2703428..98504e0 100644
--- a/arch/arm/boot/dts/r8a7740-armadillo800eva.dts
+++ b/arch/arm/boot/dts/r8a7740-armadillo800eva.dts
@@ -299,3 +299,7 @@
 
 	status = "okay";
 };
+
+&tmu0 {
+	status = "okay";
+};
-- 
2.1.1

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [PATCH 17/34] ARM: shmobile: r8a7778: Add TMU nodes
  2014-11-04  1:51 [GIT PULL] Renesas ARM Based SoC DT Updates for v3.19 Simon Horman
                   ` (15 preceding siblings ...)
  2014-11-04  1:50 ` [PATCH 16/34] ARM: shmobile: armadillo800eva dts: Enable TMU0 Simon Horman
@ 2014-11-04  1:50 ` Simon Horman
  2014-11-04  1:50 ` [PATCH 18/34] ARM: shmobile: bockw-reference: Initialise TMU device using DT Simon Horman
                   ` (17 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2014-11-04  1:50 UTC (permalink / raw)
  To: linux-arm-kernel

This describes all of the TMU hardware of the r8a7778.
Each node is disabled and may be enabled as necessary
by board DTS files.

Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/boot/dts/r8a7778.dtsi | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7778.dtsi b/arch/arm/boot/dts/r8a7778.dtsi
index 315ec62..1e80e4c 100644
--- a/arch/arm/boot/dts/r8a7778.dtsi
+++ b/arch/arm/boot/dts/r8a7778.dtsi
@@ -162,6 +162,42 @@
 		status = "disabled";
 	};
 
+	tmu0: timer at ffd80000 {
+		compatible = "renesas,tmu";
+		reg = <0xffd80000 0x30>;
+		interrupts = <0 32 IRQ_TYPE_LEVEL_HIGH>,
+			     <0 33 IRQ_TYPE_LEVEL_HIGH>,
+			     <0 34 IRQ_TYPE_LEVEL_HIGH>;
+
+		#renesas,channels = <3>;
+
+		status = "disabled";
+	};
+
+	tmu1: timer at ffd81000 {
+		compatible = "renesas,tmu";
+		reg = <0xffd81000 0x30>;
+		interrupts = <0 36 IRQ_TYPE_LEVEL_HIGH>,
+			     <0 37 IRQ_TYPE_LEVEL_HIGH>,
+			     <0 38 IRQ_TYPE_LEVEL_HIGH>;
+
+		#renesas,channels = <3>;
+
+		status = "disabled";
+	};
+
+	tmu2: timer at ffd82000 {
+		compatible = "renesas,tmu";
+		reg = <0xffd82000 0x30>;
+		interrupts = <0 40 IRQ_TYPE_LEVEL_HIGH>,
+			     <0 41 IRQ_TYPE_LEVEL_HIGH>,
+			     <0 42 IRQ_TYPE_LEVEL_HIGH>;
+
+		#renesas,channels = <3>;
+
+		status = "disabled";
+	};
+
 	scif0: serial at ffe40000 {
 		compatible = "renesas,scif-r8a7778", "renesas,scif";
 		reg = <0xffe40000 0x100>;
-- 
2.1.1

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [PATCH 18/34] ARM: shmobile: bockw-reference: Initialise TMU device using DT
  2014-11-04  1:51 [GIT PULL] Renesas ARM Based SoC DT Updates for v3.19 Simon Horman
                   ` (16 preceding siblings ...)
  2014-11-04  1:50 ` [PATCH 17/34] ARM: shmobile: r8a7778: Add TMU nodes Simon Horman
@ 2014-11-04  1:50 ` Simon Horman
  2014-11-04  1:50 ` [PATCH 19/34] ARM: shmobile: r8a7794: Add arch_timer to device tree Simon Horman
                   ` (16 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2014-11-04  1:50 UTC (permalink / raw)
  To: linux-arm-kernel

Initialise TMU device using DT when booting bockw
using DT-reference.

Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/boot/dts/r8a7778-bockw-reference.dts | 4 ++++
 arch/arm/mach-shmobile/setup-r8a7778.c        | 3 +--
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/r8a7778-bockw-reference.dts b/arch/arm/boot/dts/r8a7778-bockw-reference.dts
index fba2949..04c0c37 100644
--- a/arch/arm/boot/dts/r8a7778-bockw-reference.dts
+++ b/arch/arm/boot/dts/r8a7778-bockw-reference.dts
@@ -74,6 +74,10 @@
 	status = "okay";
 };
 
+&tmu0 {
+	status = "okay";
+};
+
 &pfc {
 	scif0_pins: serial0 {
 		renesas,groups = "scif0_data_a", "scif0_ctrl";
diff --git a/arch/arm/mach-shmobile/setup-r8a7778.c b/arch/arm/mach-shmobile/setup-r8a7778.c
index 8ec784f..7c7223d 100644
--- a/arch/arm/mach-shmobile/setup-r8a7778.c
+++ b/arch/arm/mach-shmobile/setup-r8a7778.c
@@ -288,8 +288,6 @@ void __init r8a7778_add_dt_devices(void)
 		l2x0_init(base, 0x00400000, 0xc20f0fff);
 	}
 #endif
-
-	r8a7778_register_tmu(0);
 }
 
 /* HPB-DMA */
@@ -497,6 +495,7 @@ static void __init r8a7778_register_hpb_dmae(void)
 void __init r8a7778_add_standard_devices(void)
 {
 	r8a7778_add_dt_devices();
+	r8a7778_register_tmu(0);
 	r8a7778_register_scif(0);
 	r8a7778_register_scif(1);
 	r8a7778_register_scif(2);
-- 
2.1.1

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [PATCH 19/34] ARM: shmobile: r8a7794: Add arch_timer to device tree
  2014-11-04  1:51 [GIT PULL] Renesas ARM Based SoC DT Updates for v3.19 Simon Horman
                   ` (17 preceding siblings ...)
  2014-11-04  1:50 ` [PATCH 18/34] ARM: shmobile: bockw-reference: Initialise TMU device using DT Simon Horman
@ 2014-11-04  1:50 ` Simon Horman
  2014-11-04  1:50 ` [PATCH 20/34] ARM: shmobile: r8a7790: add USB3.0 device node Simon Horman
                   ` (15 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2014-11-04  1:50 UTC (permalink / raw)
  To: linux-arm-kernel

From: Hisashi Nakamura <hisashi.nakamura.ak@renesas.com>

Signed-off-by: Hisashi Nakamura <hisashi.nakamura.ak@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/boot/dts/r8a7794.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7794.dtsi b/arch/arm/boot/dts/r8a7794.dtsi
index d4e8bce..088e79c 100644
--- a/arch/arm/boot/dts/r8a7794.dtsi
+++ b/arch/arm/boot/dts/r8a7794.dtsi
@@ -82,6 +82,14 @@
 		status = "disabled";
 	};
 
+	timer {
+		compatible = "arm,armv7-timer";
+		interrupts = <1 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
+			     <1 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
+			     <1 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
+			     <1 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
+	};
+
 	irqc0: interrupt-controller at e61c0000 {
 		compatible = "renesas,irqc-r8a7794", "renesas,irqc";
 		#interrupt-cells = <2>;
-- 
2.1.1

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [PATCH 20/34] ARM: shmobile: r8a7790: add USB3.0 device node
  2014-11-04  1:51 [GIT PULL] Renesas ARM Based SoC DT Updates for v3.19 Simon Horman
                   ` (18 preceding siblings ...)
  2014-11-04  1:50 ` [PATCH 19/34] ARM: shmobile: r8a7794: Add arch_timer to device tree Simon Horman
@ 2014-11-04  1:50 ` Simon Horman
  2014-11-04  1:50 ` [PATCH 21/34] ARM: shmobile: lager: enable USB3.0 Simon Horman
                   ` (14 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2014-11-04  1:50 UTC (permalink / raw)
  To: linux-arm-kernel

From: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/boot/dts/r8a7790.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7790.dtsi b/arch/arm/boot/dts/r8a7790.dtsi
index 050e608..ad5df80 100644
--- a/arch/arm/boot/dts/r8a7790.dtsi
+++ b/arch/arm/boot/dts/r8a7790.dtsi
@@ -1186,6 +1186,16 @@
 		status = "disabled";
 	};
 
+	xhci: usb at ee000000 {
+		compatible = "renesas,xhci-r8a7790";
+		reg = <0 0xee000000 0 0xc00>;
+		interrupts = <0 101 IRQ_TYPE_LEVEL_HIGH>;
+		clocks = <&mstp3_clks R8A7790_CLK_SSUSB>;
+		phys = <&usb2 1>;
+		phy-names = "usb";
+		status = "disabled";
+	};
+
 	pci0: pci at ee090000 {
 		compatible = "renesas,pci-r8a7790";
 		device_type = "pci";
-- 
2.1.1

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [PATCH 21/34] ARM: shmobile: lager: enable USB3.0
  2014-11-04  1:51 [GIT PULL] Renesas ARM Based SoC DT Updates for v3.19 Simon Horman
                   ` (19 preceding siblings ...)
  2014-11-04  1:50 ` [PATCH 20/34] ARM: shmobile: r8a7790: add USB3.0 device node Simon Horman
@ 2014-11-04  1:50 ` Simon Horman
  2014-11-04  1:50 ` [PATCH 22/34] ARM: shmobile: r8a7791: add USB3.0 device node Simon Horman
                   ` (13 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2014-11-04  1:50 UTC (permalink / raw)
  To: linux-arm-kernel

From: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>

Since the PHY of USB3.0 and EHCI/OHCI ch2 are the same, the USB3.0
driver cannot use the phy driver when the EHCI/OHCI ch2 already used it:

phy phy-e6590100.usb-phy.3: phy init failed --> -16
xhci-hcd: probe of ee000000.usb failed with error -16

If so, we have to unbind the EHCI/OHCI ch2, and then we have to bind
the USB3.0 driver as the following:

  echo 0000:02:02.0 > /sys/bus/pci/drivers/ehci-pci/unbind
  echo 0000:02:01.0 > /sys/bus/pci/drivers/ohci-pci/unbind
  echo ee000000.usb > /sys/bus/platform/drivers/xhci-hcd/bind

Note that there will be pinctrl-related error messages if both
internal PCI and USB3.0 are enabled but they should be just ignored:

sh-pfc e6060000.pfc: pin GP_5_22 already requested by ee0d0000.pci; cannot claim for ee000000.usb
sh-pfc e6060000.pfc: pin-182 (ee000000.usb) status -22
ata1: SATA link down (SStatus 0 SControl 300)
sh-pfc e6060000.pfc: could not request pin 182 (GP_5_22) from group usb2  on device sh-pfc

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/boot/dts/r8a7790-lager.dts | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7790-lager.dts b/arch/arm/boot/dts/r8a7790-lager.dts
index e96f952..d869f2a 100644
--- a/arch/arm/boot/dts/r8a7790-lager.dts
+++ b/arch/arm/boot/dts/r8a7790-lager.dts
@@ -466,6 +466,12 @@
 	pinctrl-names = "default";
 };
 
+&xhci {
+	status = "okay";
+	pinctrl-0 = <&usb2_pins>;
+	pinctrl-names = "default";
+};
+
 &pci2 {
 	status = "okay";
 	pinctrl-0 = <&usb2_pins>;
-- 
2.1.1

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [PATCH 22/34] ARM: shmobile: r8a7791: add USB3.0 device node
  2014-11-04  1:51 [GIT PULL] Renesas ARM Based SoC DT Updates for v3.19 Simon Horman
                   ` (20 preceding siblings ...)
  2014-11-04  1:50 ` [PATCH 21/34] ARM: shmobile: lager: enable USB3.0 Simon Horman
@ 2014-11-04  1:50 ` Simon Horman
  2014-11-04  1:50 ` [PATCH 23/34] ARM: shmobile: r8a7790: add HS-USB " Simon Horman
                   ` (12 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2014-11-04  1:50 UTC (permalink / raw)
  To: linux-arm-kernel

From: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/boot/dts/r8a7791.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7791.dtsi b/arch/arm/boot/dts/r8a7791.dtsi
index 6ce7819..d55335e 100644
--- a/arch/arm/boot/dts/r8a7791.dtsi
+++ b/arch/arm/boot/dts/r8a7791.dtsi
@@ -1182,6 +1182,16 @@
 		status = "disabled";
 	};
 
+	xhci: usb at ee000000 {
+		compatible = "renesas,xhci-r8a7791";
+		reg = <0 0xee000000 0 0xc00>;
+		interrupts = <0 101 IRQ_TYPE_LEVEL_HIGH>;
+		clocks = <&mstp3_clks R8A7791_CLK_SSUSB>;
+		phys = <&usb2 1>;
+		phy-names = "usb";
+		status = "disabled";
+	};
+
 	pci0: pci at ee090000 {
 		compatible = "renesas,pci-r8a7791";
 		device_type = "pci";
-- 
2.1.1

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [PATCH 23/34] ARM: shmobile: r8a7790: add HS-USB device node
  2014-11-04  1:51 [GIT PULL] Renesas ARM Based SoC DT Updates for v3.19 Simon Horman
                   ` (21 preceding siblings ...)
  2014-11-04  1:50 ` [PATCH 22/34] ARM: shmobile: r8a7791: add USB3.0 device node Simon Horman
@ 2014-11-04  1:50 ` Simon Horman
  2014-11-04  1:50 ` [PATCH 24/34] ARM: shmobile: lager: enable HS-USB Simon Horman
                   ` (11 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2014-11-04  1:50 UTC (permalink / raw)
  To: linux-arm-kernel

From: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>

Define the R8A7790 generic part of the HS-USB device node.
It is up to the board file to enable the device.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
[Sergei: fixed summary, added changelog]
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/boot/dts/r8a7790.dtsi | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7790.dtsi b/arch/arm/boot/dts/r8a7790.dtsi
index ad5df80..a2f2c7f 100644
--- a/arch/arm/boot/dts/r8a7790.dtsi
+++ b/arch/arm/boot/dts/r8a7790.dtsi
@@ -568,6 +568,17 @@
 		status = "disabled";
 	};
 
+	hsusb: usb at e6590000 {
+		compatible = "renesas,usbhs-r8a7790";
+		reg = <0 0xe6590000 0 0x100>;
+		interrupts = <0 107 IRQ_TYPE_LEVEL_HIGH>;
+		clocks = <&mstp7_clks R8A7790_CLK_HSUSB>;
+		renesas,buswait = <4>;
+		phys = <&usb0 1>;
+		phy-names = "usb";
+		status = "disabled";
+	};
+
 	usbphy: usb-phy at e6590100 {
 		compatible = "renesas,usb-phy-r8a7790";
 		reg = <0 0xe6590100 0 0x100>;
-- 
2.1.1

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [PATCH 24/34] ARM: shmobile: lager: enable HS-USB
  2014-11-04  1:51 [GIT PULL] Renesas ARM Based SoC DT Updates for v3.19 Simon Horman
                   ` (22 preceding siblings ...)
  2014-11-04  1:50 ` [PATCH 23/34] ARM: shmobile: r8a7790: add HS-USB " Simon Horman
@ 2014-11-04  1:50 ` Simon Horman
  2014-11-04  1:50 ` [PATCH 25/34] ARM: shmobile: r8a7791: add HS-USB device node Simon Horman
                   ` (10 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2014-11-04  1:50 UTC (permalink / raw)
  To: linux-arm-kernel

From: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>

Enable HS-USB device for the Lager board, defining the GPIO that the driver
should check when probing. Since this board doesn't have the OTG ID pin, we
assume that GP5_18 (USB0_PWEN) is an ID pin because it is 1 when the SW5 is
in position 2-3 (meaning USB function) and 0 in other positions.

Note that there will be pinctrl-related error messages if both internal PCI
and HS-USB drivers are enabled but they should be just ignored.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
[Sergei: added pin node and prop, moved device node, fixed summary, supplemented
changelog]
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/boot/dts/r8a7790-lager.dts | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7790-lager.dts b/arch/arm/boot/dts/r8a7790-lager.dts
index d869f2a..830f2e8 100644
--- a/arch/arm/boot/dts/r8a7790-lager.dts
+++ b/arch/arm/boot/dts/r8a7790-lager.dts
@@ -268,6 +268,11 @@
 		renesas,function = "iic3";
 	};
 
+	hsusb_pins: hsusb {
+		renesas,groups = "usb0_ovc_vbus";
+		renesas,function = "usb0";
+	};
+
 	usb0_pins: usb0 {
 		renesas,groups = "usb0";
 		renesas,function = "usb0";
@@ -478,6 +483,13 @@
 	pinctrl-names = "default";
 };
 
+&hsusb {
+	status = "okay";
+	pinctrl-0 = <&hsusb_pins>;
+	pinctrl-names = "default";
+	renesas,enable-gpio = <&gpio5 18 GPIO_ACTIVE_HIGH>;
+};
+
 &usbphy {
 	status = "okay";
 };
-- 
2.1.1

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [PATCH 25/34] ARM: shmobile: r8a7791: add HS-USB device node
  2014-11-04  1:51 [GIT PULL] Renesas ARM Based SoC DT Updates for v3.19 Simon Horman
                   ` (23 preceding siblings ...)
  2014-11-04  1:50 ` [PATCH 24/34] ARM: shmobile: lager: enable HS-USB Simon Horman
@ 2014-11-04  1:50 ` Simon Horman
  2014-11-04  1:50 ` [PATCH 26/34] ARM: shmobile: koelsch: enable HS-USB Simon Horman
                   ` (9 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2014-11-04  1:50 UTC (permalink / raw)
  To: linux-arm-kernel

From: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>

Define the R8A7791 generic part of the HS-USB device node. It is up to the board
file to enable the device.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
[Sergei: fixed summary, added changelog]
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/boot/dts/r8a7791.dtsi | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7791.dtsi b/arch/arm/boot/dts/r8a7791.dtsi
index d55335e..c815313 100644
--- a/arch/arm/boot/dts/r8a7791.dtsi
+++ b/arch/arm/boot/dts/r8a7791.dtsi
@@ -613,6 +613,17 @@
 		status = "disabled";
 	};
 
+	hsusb: usb at e6590000 {
+		compatible = "renesas,usbhs-r8a7791";
+		reg = <0 0xe6590000 0 0x100>;
+		interrupts = <0 107 IRQ_TYPE_LEVEL_HIGH>;
+		clocks = <&mstp7_clks R8A7791_CLK_HSUSB>;
+		renesas,buswait = <4>;
+		phys = <&usb0 1>;
+		phy-names = "usb";
+		status = "disabled";
+	};
+
 	usbphy: usb-phy at e6590100 {
 		compatible = "renesas,usb-phy-r8a7791";
 		reg = <0 0xe6590100 0 0x100>;
-- 
2.1.1

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [PATCH 26/34] ARM: shmobile: koelsch: enable HS-USB
  2014-11-04  1:51 [GIT PULL] Renesas ARM Based SoC DT Updates for v3.19 Simon Horman
                   ` (24 preceding siblings ...)
  2014-11-04  1:50 ` [PATCH 25/34] ARM: shmobile: r8a7791: add HS-USB device node Simon Horman
@ 2014-11-04  1:50 ` Simon Horman
  2014-11-04  1:50 ` [PATCH 27/34] ARM: shmobile: henninger: " Simon Horman
                   ` (8 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2014-11-04  1:50 UTC (permalink / raw)
  To: linux-arm-kernel

From: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>

Enable HS-USB device for the Koelsch board, defining the GPIO that the driver
should check when probing (which is the ID output from MAX3355 OTG chip).

Note that there will be pinctrl-related error messages if both internal PCI
and HS-USB drivers are enabled but they should be just ignored.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
[Sergei: added pin function/group and prop, moved device node, fixed summary,
added changelog]
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/boot/dts/r8a7791-koelsch.dts | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7791-koelsch.dts b/arch/arm/boot/dts/r8a7791-koelsch.dts
index 0402c49..191f32b 100644
--- a/arch/arm/boot/dts/r8a7791-koelsch.dts
+++ b/arch/arm/boot/dts/r8a7791-koelsch.dts
@@ -474,6 +474,13 @@
 	pinctrl-names = "default";
 };
 
+&hsusb {
+	status = "okay";
+	pinctrl-0 = <&usb0_pins>;
+	pinctrl-names = "default";
+	renesas,enable-gpio = <&gpio5 31 GPIO_ACTIVE_HIGH>;
+};
+
 &usbphy {
 	status = "okay";
 };
-- 
2.1.1

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [PATCH 27/34] ARM: shmobile: henninger: enable HS-USB
  2014-11-04  1:51 [GIT PULL] Renesas ARM Based SoC DT Updates for v3.19 Simon Horman
                   ` (25 preceding siblings ...)
  2014-11-04  1:50 ` [PATCH 26/34] ARM: shmobile: koelsch: enable HS-USB Simon Horman
@ 2014-11-04  1:50 ` Simon Horman
  2014-11-04  1:50 ` [PATCH 28/34] ARM: shmobile: r8a73a4: Add SoC-specific CMT compatible property Simon Horman
                   ` (7 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2014-11-04  1:50 UTC (permalink / raw)
  To: linux-arm-kernel

From: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>

Enable HS-USB device for the Henninger board, defining the GPIO that the driver
should check when probing (which is the ID output from MAX3355 OTG chip).

Note that there will be pinctrl-related error messages if both internal PCI
and HS-USB drivers are enabled but they should be just ignored.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
[Sergei: added pin function/group and prop, moved device node, fixed summary,
added changelog]
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/boot/dts/r8a7791-henninger.dts | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7791-henninger.dts b/arch/arm/boot/dts/r8a7791-henninger.dts
index ef2cb92..740e386 100644
--- a/arch/arm/boot/dts/r8a7791-henninger.dts
+++ b/arch/arm/boot/dts/r8a7791-henninger.dts
@@ -272,6 +272,13 @@
 	pinctrl-names = "default";
 };
 
+&hsusb {
+	status = "okay";
+	pinctrl-0 = <&usb0_pins>;
+	pinctrl-names = "default";
+	renesas,enable-gpio = <&gpio5 31 GPIO_ACTIVE_HIGH>;
+};
+
 &usbphy {
 	status = "okay";
 };
-- 
2.1.1

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [PATCH 28/34] ARM: shmobile: r8a73a4: Add SoC-specific CMT compatible property
  2014-11-04  1:51 [GIT PULL] Renesas ARM Based SoC DT Updates for v3.19 Simon Horman
                   ` (26 preceding siblings ...)
  2014-11-04  1:50 ` [PATCH 27/34] ARM: shmobile: henninger: " Simon Horman
@ 2014-11-04  1:50 ` Simon Horman
  2014-11-04  1:50 ` [PATCH 29/34] ARM: shmobile: r8a7778: Add SoC-specific TMU " Simon Horman
                   ` (6 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2014-11-04  1:50 UTC (permalink / raw)
  To: linux-arm-kernel

From: Geert Uytterhoeven <geert+renesas@glider.be>

The CMT1 timer used the generic compatible property only.
Add the SoC-specific one, which is already documented, to make it future
proof.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/boot/dts/r8a73a4.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/r8a73a4.dtsi b/arch/arm/boot/dts/r8a73a4.dtsi
index 8093967..b5ead84 100644
--- a/arch/arm/boot/dts/r8a73a4.dtsi
+++ b/arch/arm/boot/dts/r8a73a4.dtsi
@@ -114,7 +114,7 @@
 	};
 
 	cmt1: timer at e6130000 {
-		compatible = "renesas,cmt-48-gen2";
+		compatible = "renesas,cmt-48-r8a73a4", "renesas,cmt-48-gen2";
 		reg = <0 0xe6130000 0 0x1004>;
 		interrupts = <0 120 IRQ_TYPE_LEVEL_HIGH>;
 
-- 
2.1.1

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [PATCH 29/34] ARM: shmobile: r8a7778: Add SoC-specific TMU compatible property
  2014-11-04  1:51 [GIT PULL] Renesas ARM Based SoC DT Updates for v3.19 Simon Horman
                   ` (27 preceding siblings ...)
  2014-11-04  1:50 ` [PATCH 28/34] ARM: shmobile: r8a73a4: Add SoC-specific CMT compatible property Simon Horman
@ 2014-11-04  1:50 ` Simon Horman
  2014-11-04  1:51 ` [PATCH 30/34] ARM: shmobile: r8a7790: Rename mmcif node to mmc Simon Horman
                   ` (5 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2014-11-04  1:50 UTC (permalink / raw)
  To: linux-arm-kernel

From: Geert Uytterhoeven <geert+renesas@glider.be>

The TMU timers 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>
---
 arch/arm/boot/dts/r8a7778.dtsi | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/arm/boot/dts/r8a7778.dtsi b/arch/arm/boot/dts/r8a7778.dtsi
index 1e80e4c..96297f6 100644
--- a/arch/arm/boot/dts/r8a7778.dtsi
+++ b/arch/arm/boot/dts/r8a7778.dtsi
@@ -163,7 +163,7 @@
 	};
 
 	tmu0: timer at ffd80000 {
-		compatible = "renesas,tmu";
+		compatible = "renesas,tmu-r8a7778", "renesas,tmu";
 		reg = <0xffd80000 0x30>;
 		interrupts = <0 32 IRQ_TYPE_LEVEL_HIGH>,
 			     <0 33 IRQ_TYPE_LEVEL_HIGH>,
@@ -175,7 +175,7 @@
 	};
 
 	tmu1: timer at ffd81000 {
-		compatible = "renesas,tmu";
+		compatible = "renesas,tmu-r8a7778", "renesas,tmu";
 		reg = <0xffd81000 0x30>;
 		interrupts = <0 36 IRQ_TYPE_LEVEL_HIGH>,
 			     <0 37 IRQ_TYPE_LEVEL_HIGH>,
@@ -187,7 +187,7 @@
 	};
 
 	tmu2: timer at ffd82000 {
-		compatible = "renesas,tmu";
+		compatible = "renesas,tmu-r8a7778", "renesas,tmu";
 		reg = <0xffd82000 0x30>;
 		interrupts = <0 40 IRQ_TYPE_LEVEL_HIGH>,
 			     <0 41 IRQ_TYPE_LEVEL_HIGH>,
-- 
2.1.1

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [GIT PULL] Renesas ARM Based SoC DT Updates for v3.19
@ 2014-11-04  1:51 Simon Horman
  2014-11-04  1:50 ` [PATCH 01/34] ARM: shmobile: r8a7740 dtsi: Add missing INTCA clock for irqpin module Simon Horman
                   ` (34 more replies)
  0 siblings, 35 replies; 36+ messages in thread
From: Simon Horman @ 2014-11-04  1:51 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Olof, Hi Kevin, Hi Arnd,

Please consider these Renesas ARM based SoC DT updates for v3.19.


This pull request is based on a merge of:

* "Renesas ARM Based SoC DT DU Updates for v3.19",
  tagged as renesas-dt-du-for-v3.19.

* "Renesas ARM Based SoC r8a73a4 DT Timers Updates for v3.19",
  tagged as renesas-r8a73a4-dt-timers-for-v3.19.

Both of which I have also sent a pull-request for.


The following changes since commit 4df49d9e1f2592338b5e8d0b5ce9f2485e295cc0:

  Merge tag 'renesas-r8a73a4-dt-timers-for-v3.19' into dt-for-v3.19.base (2014-10-30 09:54:13 +0900)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git tags/renesas-dt-for-v3.19

for you to fetch changes up to 25af9c83151822eb6d413b4d15d5f89804606ac7:

  ARM: shmobile: r8a7779 dtsi: Add SoC-specific SATA compatible property (2014-10-30 10:01:37 +0900)

----------------------------------------------------------------
Renesas ARM Based SoC DT Updates for v3.19

* Add Add SoC-specific SATA compatible property to r8a7779
* Enable DMA for MMCIF on r8a7791 and r8a7790
* Enable USB-PHY, HS-USB and USB3.0 on r8a7791 and r8a7790
* Enable TMU timer via DT on r8a7778
* Enable CMT timer via DT on r8a73a4
* Add MMP and {SR}GX clocks to  r8a7791 and r8a7790
* Correct scifa2 clock index on r8a7740
* Add missing INTCA for irqpin on r8a7740

----------------------------------------------------------------
Geert Uytterhoeven (7):
      ARM: shmobile: r8a7740 dtsi: Add missing INTCA clock for irqpin module
      ARM: shmobile: r8a7740 dtsi: Fix clock index for scifa2
      ARM: shmobile: r8a7740 dtsi: Add TMU0 and TMU1 device nodes
      ARM: shmobile: armadillo800eva dts: Enable TMU0
      ARM: shmobile: r8a73a4: Add SoC-specific CMT compatible property
      ARM: shmobile: r8a7778: Add SoC-specific TMU compatible property
      ARM: shmobile: r8a7779 dtsi: Add SoC-specific SATA compatible property

Hisashi Nakamura (1):
      ARM: shmobile: r8a7794: Add arch_timer to device tree

Kouei Abe (2):
      ARM: shmobile: r8a7790: Add RGX clock to device tree
      ARM: shmobile: r8a7791: Add SGX clock to device tree

Laurent Pinchart (4):
      ARM: shmobile: r8a7790: Rename mmcif node to mmc
      ARM: shmobile: r8a7791: Add MMCIF0 DT node
      ARM: shmobile: r8a7790: Reference DMA channels in MMCIF DT nodes
      ARM: shmobile: r8a7791: Reference DMA channels in MMCIF DT node

Sergei Shtylyov (7):
      ARM: shmobile: r8a7790: add USB PHY DT support
      ARM: shmobile: lager: enable USB PHY
      ARM: shmobile: r8a7791: add USB PHY DT support
      ARM: shmobile: koelsch: enable USB PHY
      ARM: shmobile: henninger: enable USB PHY
      ARM: shmobile: r8a7790: link PCI USB devices to USB PHY
      ARM: shmobile: r8a7791: link PCI USB devices to USB PHY

Simon Horman (2):
      ARM: shmobile: r8a7778: Add TMU nodes
      ARM: shmobile: bockw-reference: Initialise TMU device using DT

Wolfram Sang (1):
      ARM: shmobile: r8a7790: switch from scif to scifa

Yoshifumi Hosoya (2):
      ARM: shmobile: r8a7790: Add MMP clock to device tree
      ARM: shmobile: r8a7791: Add MMP clock to device tree

Yoshihiro Shimoda (8):
      ARM: shmobile: r8a7790: add USB3.0 device node
      ARM: shmobile: lager: enable USB3.0
      ARM: shmobile: r8a7791: add USB3.0 device node
      ARM: shmobile: r8a7790: add HS-USB device node
      ARM: shmobile: lager: enable HS-USB
      ARM: shmobile: r8a7791: add HS-USB device node
      ARM: shmobile: koelsch: enable HS-USB
      ARM: shmobile: henninger: enable HS-USB

 arch/arm/boot/dts/r8a73a4.dtsi                |   2 +-
 arch/arm/boot/dts/r8a7740-armadillo800eva.dts |   4 +
 arch/arm/boot/dts/r8a7740.dtsi                |  44 +++++++++--
 arch/arm/boot/dts/r8a7778-bockw-reference.dts |   4 +
 arch/arm/boot/dts/r8a7778.dtsi                |  36 +++++++++
 arch/arm/boot/dts/r8a7779.dtsi                |   2 +-
 arch/arm/boot/dts/r8a7790-lager.dts           |  46 +++++++++---
 arch/arm/boot/dts/r8a7790.dtsi                |  97 ++++++++++++++++++++++---
 arch/arm/boot/dts/r8a7791-henninger.dts       |  11 +++
 arch/arm/boot/dts/r8a7791-koelsch.dts         |  11 +++
 arch/arm/boot/dts/r8a7791.dtsi                | 101 ++++++++++++++++++++++++--
 arch/arm/boot/dts/r8a7794.dtsi                |   8 ++
 arch/arm/mach-shmobile/setup-r8a7778.c        |   3 +-
 include/dt-bindings/clock/r8a7740-clock.h     |   1 +
 include/dt-bindings/clock/r8a7790-clock.h     |  12 ++-
 include/dt-bindings/clock/r8a7791-clock.h     |   9 ++-
 16 files changed, 351 insertions(+), 40 deletions(-)

^ permalink raw reply	[flat|nested] 36+ messages in thread

* [PATCH 30/34] ARM: shmobile: r8a7790: Rename mmcif node to mmc
  2014-11-04  1:51 [GIT PULL] Renesas ARM Based SoC DT Updates for v3.19 Simon Horman
                   ` (28 preceding siblings ...)
  2014-11-04  1:50 ` [PATCH 29/34] ARM: shmobile: r8a7778: Add SoC-specific TMU " Simon Horman
@ 2014-11-04  1:51 ` Simon Horman
  2014-11-04  1:51 ` [PATCH 31/34] ARM: shmobile: r8a7791: Add MMCIF0 DT node Simon Horman
                   ` (4 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2014-11-04  1:51 UTC (permalink / raw)
  To: linux-arm-kernel

From: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>

Node names should describe the function of the device, not its IP core
name.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tested-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/boot/dts/r8a7790.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/r8a7790.dtsi b/arch/arm/boot/dts/r8a7790.dtsi
index a2f2c7f..63922a1 100644
--- a/arch/arm/boot/dts/r8a7790.dtsi
+++ b/arch/arm/boot/dts/r8a7790.dtsi
@@ -392,7 +392,7 @@
 		status = "disabled";
 	};
 
-	mmcif0: mmcif at ee200000 {
+	mmcif0: mmc at ee200000 {
 		compatible = "renesas,mmcif-r8a7790", "renesas,sh-mmcif";
 		reg = <0 0xee200000 0 0x80>;
 		interrupts = <0 169 IRQ_TYPE_LEVEL_HIGH>;
-- 
2.1.1

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [PATCH 31/34] ARM: shmobile: r8a7791: Add MMCIF0 DT node
  2014-11-04  1:51 [GIT PULL] Renesas ARM Based SoC DT Updates for v3.19 Simon Horman
                   ` (29 preceding siblings ...)
  2014-11-04  1:51 ` [PATCH 30/34] ARM: shmobile: r8a7790: Rename mmcif node to mmc Simon Horman
@ 2014-11-04  1:51 ` Simon Horman
  2014-11-04  1:51 ` [PATCH 32/34] ARM: shmobile: r8a7790: Reference DMA channels in MMCIF DT nodes Simon Horman
                   ` (3 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2014-11-04  1:51 UTC (permalink / raw)
  To: linux-arm-kernel

From: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>

Add the MMCIF0 device to the r8a7791 device tree.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tested-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/boot/dts/r8a7791.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7791.dtsi b/arch/arm/boot/dts/r8a7791.dtsi
index c815313..8459fe6 100644
--- a/arch/arm/boot/dts/r8a7791.dtsi
+++ b/arch/arm/boot/dts/r8a7791.dtsi
@@ -400,6 +400,15 @@
 		#gpio-range-cells = <3>;
 	};
 
+	mmcif0: mmc at ee200000 {
+		compatible = "renesas,mmcif-r8a7791", "renesas,sh-mmcif";
+		reg = <0 0xee200000 0 0x80>;
+		interrupts = <0 169 IRQ_TYPE_LEVEL_HIGH>;
+		clocks = <&mstp3_clks R8A7791_CLK_MMCIF0>;
+		reg-io-width = <4>;
+		status = "disabled";
+	};
+
 	sdhi0: sd at ee100000 {
 		compatible = "renesas,sdhi-r8a7791";
 		reg = <0 0xee100000 0 0x200>;
-- 
2.1.1

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [PATCH 32/34] ARM: shmobile: r8a7790: Reference DMA channels in MMCIF DT nodes
  2014-11-04  1:51 [GIT PULL] Renesas ARM Based SoC DT Updates for v3.19 Simon Horman
                   ` (30 preceding siblings ...)
  2014-11-04  1:51 ` [PATCH 31/34] ARM: shmobile: r8a7791: Add MMCIF0 DT node Simon Horman
@ 2014-11-04  1:51 ` Simon Horman
  2014-11-04  1:51 ` [PATCH 33/34] ARM: shmobile: r8a7791: Reference DMA channels in MMCIF DT node Simon Horman
                   ` (2 subsequent siblings)
  34 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2014-11-04  1:51 UTC (permalink / raw)
  To: linux-arm-kernel

From: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>

Add references to the transmit and receive DMA channels in the two
MMCIF nodes.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Tested-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/boot/dts/r8a7790.dtsi | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7790.dtsi b/arch/arm/boot/dts/r8a7790.dtsi
index 63922a1..52c2156 100644
--- a/arch/arm/boot/dts/r8a7790.dtsi
+++ b/arch/arm/boot/dts/r8a7790.dtsi
@@ -397,6 +397,8 @@
 		reg = <0 0xee200000 0 0x80>;
 		interrupts = <0 169 IRQ_TYPE_LEVEL_HIGH>;
 		clocks = <&mstp3_clks R8A7790_CLK_MMCIF0>;
+		dmas = <&dmac0 0xd1>, <&dmac0 0xd2>;
+		dma-names = "tx", "rx";
 		reg-io-width = <4>;
 		status = "disabled";
 	};
@@ -406,6 +408,8 @@
 		reg = <0 0xee220000 0 0x80>;
 		interrupts = <0 170 IRQ_TYPE_LEVEL_HIGH>;
 		clocks = <&mstp3_clks R8A7790_CLK_MMCIF1>;
+		dmas = <&dmac0 0xe1>, <&dmac0 0xe2>;
+		dma-names = "tx", "rx";
 		reg-io-width = <4>;
 		status = "disabled";
 	};
-- 
2.1.1

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [PATCH 33/34] ARM: shmobile: r8a7791: Reference DMA channels in MMCIF DT node
  2014-11-04  1:51 [GIT PULL] Renesas ARM Based SoC DT Updates for v3.19 Simon Horman
                   ` (31 preceding siblings ...)
  2014-11-04  1:51 ` [PATCH 32/34] ARM: shmobile: r8a7790: Reference DMA channels in MMCIF DT nodes Simon Horman
@ 2014-11-04  1:51 ` Simon Horman
  2014-11-04  1:51 ` [PATCH 34/34] ARM: shmobile: r8a7779 dtsi: Add SoC-specific SATA compatible property Simon Horman
  2014-11-19 21:47 ` [GIT PULL] Renesas ARM Based SoC DT Updates for v3.19 Arnd Bergmann
  34 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2014-11-04  1:51 UTC (permalink / raw)
  To: linux-arm-kernel

From: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>

Add references to the transmit and receive DMA channels in the MMCIF
node.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Tested-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/boot/dts/r8a7791.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7791.dtsi b/arch/arm/boot/dts/r8a7791.dtsi
index 8459fe6..a862243 100644
--- a/arch/arm/boot/dts/r8a7791.dtsi
+++ b/arch/arm/boot/dts/r8a7791.dtsi
@@ -405,6 +405,8 @@
 		reg = <0 0xee200000 0 0x80>;
 		interrupts = <0 169 IRQ_TYPE_LEVEL_HIGH>;
 		clocks = <&mstp3_clks R8A7791_CLK_MMCIF0>;
+		dmas = <&dmac0 0xd1>, <&dmac0 0xd2>;
+		dma-names = "tx", "rx";
 		reg-io-width = <4>;
 		status = "disabled";
 	};
-- 
2.1.1

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [PATCH 34/34] ARM: shmobile: r8a7779 dtsi: Add SoC-specific SATA compatible property
  2014-11-04  1:51 [GIT PULL] Renesas ARM Based SoC DT Updates for v3.19 Simon Horman
                   ` (32 preceding siblings ...)
  2014-11-04  1:51 ` [PATCH 33/34] ARM: shmobile: r8a7791: Reference DMA channels in MMCIF DT node Simon Horman
@ 2014-11-04  1:51 ` Simon Horman
  2014-11-19 21:47 ` [GIT PULL] Renesas ARM Based SoC DT Updates for v3.19 Arnd Bergmann
  34 siblings, 0 replies; 36+ messages in thread
From: Simon Horman @ 2014-11-04  1:51 UTC (permalink / raw)
  To: linux-arm-kernel

From: Geert Uytterhoeven <geert+renesas@glider.be>

The SATA node used the generic compatible property only, which was
deprecated by commit e67adb4e669db834 ("sata_rcar: Add R-Car Gen2 SATA
PHY support"). Add the SoC-specific one introduced by that commit.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/boot/dts/r8a7779.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/r8a7779.dtsi b/arch/arm/boot/dts/r8a7779.dtsi
index fda814e..a884532 100644
--- a/arch/arm/boot/dts/r8a7779.dtsi
+++ b/arch/arm/boot/dts/r8a7779.dtsi
@@ -303,7 +303,7 @@
 	};
 
 	sata: sata at fc600000 {
-		compatible = "renesas,rcar-sata";
+		compatible = "renesas,sata-r8a7779", "renesas,rcar-sata";
 		reg = <0xfc600000 0x2000>;
 		interrupts = <0 100 IRQ_TYPE_LEVEL_HIGH>;
 		clocks = <&mstp1_clks R8A7779_CLK_SATA>;
-- 
2.1.1

^ permalink raw reply related	[flat|nested] 36+ messages in thread

* [GIT PULL] Renesas ARM Based SoC DT Updates for v3.19
  2014-11-04  1:51 [GIT PULL] Renesas ARM Based SoC DT Updates for v3.19 Simon Horman
                   ` (33 preceding siblings ...)
  2014-11-04  1:51 ` [PATCH 34/34] ARM: shmobile: r8a7779 dtsi: Add SoC-specific SATA compatible property Simon Horman
@ 2014-11-19 21:47 ` Arnd Bergmann
  34 siblings, 0 replies; 36+ messages in thread
From: Arnd Bergmann @ 2014-11-19 21:47 UTC (permalink / raw)
  To: linux-arm-kernel

On Tuesday 04 November 2014, Simon Horman wrote:
> Hi Olof, Hi Kevin, Hi Arnd,
> 
> Please consider these Renesas ARM based SoC DT updates for v3.19.
> 
> 
> This pull request is based on a merge of:
> 
> * "Renesas ARM Based SoC DT DU Updates for v3.19",
>   tagged as renesas-dt-du-for-v3.19.
> 
> * "Renesas ARM Based SoC r8a73a4 DT Timers Updates for v3.19",
>   tagged as renesas-r8a73a4-dt-timers-for-v3.19.
> 
> Both of which I have also sent a pull-request for.
> 
> 
> The following changes since commit 4df49d9e1f2592338b5e8d0b5ce9f2485e295cc0:
> 
>   Merge tag 'renesas-r8a73a4-dt-timers-for-v3.19' into dt-for-v3.19.base (2014-10-30 09:54:13 +0900)
> 
> are available in the git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git tags/renesas-dt-for-v3.19
> 
> for you to fetch changes up to 25af9c83151822eb6d413b4d15d5f89804606ac7:
> 
>   ARM: shmobile: r8a7779 dtsi: Add SoC-specific SATA compatible property (2014-10-30 10:01:37 +0900)
> 
> ----------------------------------------------------------------
> Renesas ARM Based SoC DT Updates for v3.19
> 
> * Add Add SoC-specific SATA compatible property to r8a7779
> * Enable DMA for MMCIF on r8a7791 and r8a7790
> * Enable USB-PHY, HS-USB and USB3.0 on r8a7791 and r8a7790
> * Enable TMU timer via DT on r8a7778
> * Enable CMT timer via DT on r8a73a4
> * Add MMP and {SR}GX clocks to  r8a7791 and r8a7790
> * Correct scifa2 clock index on r8a7740
> * Add missing INTCA for irqpin on r8a7740

Pulled into next/dt, thanks!

	Arnd

^ permalink raw reply	[flat|nested] 36+ messages in thread

end of thread, other threads:[~2014-11-19 21:47 UTC | newest]

Thread overview: 36+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-04  1:51 [GIT PULL] Renesas ARM Based SoC DT Updates for v3.19 Simon Horman
2014-11-04  1:50 ` [PATCH 01/34] ARM: shmobile: r8a7740 dtsi: Add missing INTCA clock for irqpin module Simon Horman
2014-11-04  1:50 ` [PATCH 02/34] ARM: shmobile: r8a7790: add USB PHY DT support Simon Horman
2014-11-04  1:50 ` [PATCH 03/34] ARM: shmobile: lager: enable USB PHY Simon Horman
2014-11-04  1:50 ` [PATCH 04/34] ARM: shmobile: r8a7791: add USB PHY DT support Simon Horman
2014-11-04  1:50 ` [PATCH 05/34] ARM: shmobile: koelsch: enable USB PHY Simon Horman
2014-11-04  1:50 ` [PATCH 06/34] ARM: shmobile: henninger: " Simon Horman
2014-11-04  1:50 ` [PATCH 07/34] ARM: shmobile: r8a7790: link PCI USB devices to " Simon Horman
2014-11-04  1:50 ` [PATCH 08/34] ARM: shmobile: r8a7791: " Simon Horman
2014-11-04  1:50 ` [PATCH 09/34] ARM: shmobile: r8a7790: switch from scif to scifa Simon Horman
2014-11-04  1:50 ` [PATCH 10/34] ARM: shmobile: r8a7740 dtsi: Fix clock index for scifa2 Simon Horman
2014-11-04  1:50 ` [PATCH 11/34] ARM: shmobile: r8a7790: Add RGX clock to device tree Simon Horman
2014-11-04  1:50 ` [PATCH 12/34] ARM: shmobile: r8a7791: Add SGX " Simon Horman
2014-11-04  1:50 ` [PATCH 13/34] ARM: shmobile: r8a7790: Add MMP " Simon Horman
2014-11-04  1:50 ` [PATCH 14/34] ARM: shmobile: r8a7791: " Simon Horman
2014-11-04  1:50 ` [PATCH 15/34] ARM: shmobile: r8a7740 dtsi: Add TMU0 and TMU1 device nodes Simon Horman
2014-11-04  1:50 ` [PATCH 16/34] ARM: shmobile: armadillo800eva dts: Enable TMU0 Simon Horman
2014-11-04  1:50 ` [PATCH 17/34] ARM: shmobile: r8a7778: Add TMU nodes Simon Horman
2014-11-04  1:50 ` [PATCH 18/34] ARM: shmobile: bockw-reference: Initialise TMU device using DT Simon Horman
2014-11-04  1:50 ` [PATCH 19/34] ARM: shmobile: r8a7794: Add arch_timer to device tree Simon Horman
2014-11-04  1:50 ` [PATCH 20/34] ARM: shmobile: r8a7790: add USB3.0 device node Simon Horman
2014-11-04  1:50 ` [PATCH 21/34] ARM: shmobile: lager: enable USB3.0 Simon Horman
2014-11-04  1:50 ` [PATCH 22/34] ARM: shmobile: r8a7791: add USB3.0 device node Simon Horman
2014-11-04  1:50 ` [PATCH 23/34] ARM: shmobile: r8a7790: add HS-USB " Simon Horman
2014-11-04  1:50 ` [PATCH 24/34] ARM: shmobile: lager: enable HS-USB Simon Horman
2014-11-04  1:50 ` [PATCH 25/34] ARM: shmobile: r8a7791: add HS-USB device node Simon Horman
2014-11-04  1:50 ` [PATCH 26/34] ARM: shmobile: koelsch: enable HS-USB Simon Horman
2014-11-04  1:50 ` [PATCH 27/34] ARM: shmobile: henninger: " Simon Horman
2014-11-04  1:50 ` [PATCH 28/34] ARM: shmobile: r8a73a4: Add SoC-specific CMT compatible property Simon Horman
2014-11-04  1:50 ` [PATCH 29/34] ARM: shmobile: r8a7778: Add SoC-specific TMU " Simon Horman
2014-11-04  1:51 ` [PATCH 30/34] ARM: shmobile: r8a7790: Rename mmcif node to mmc Simon Horman
2014-11-04  1:51 ` [PATCH 31/34] ARM: shmobile: r8a7791: Add MMCIF0 DT node Simon Horman
2014-11-04  1:51 ` [PATCH 32/34] ARM: shmobile: r8a7790: Reference DMA channels in MMCIF DT nodes Simon Horman
2014-11-04  1:51 ` [PATCH 33/34] ARM: shmobile: r8a7791: Reference DMA channels in MMCIF DT node Simon Horman
2014-11-04  1:51 ` [PATCH 34/34] ARM: shmobile: r8a7779 dtsi: Add SoC-specific SATA compatible property Simon Horman
2014-11-19 21:47 ` [GIT PULL] Renesas ARM Based SoC DT Updates for v3.19 Arnd Bergmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).