All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/3] Add R8A7791/Koelsch/Henninger board PCI DT support
@ 2014-06-24 18:07 ` Sergei Shtylyov
  0 siblings, 0 replies; 21+ messages in thread
From: Sergei Shtylyov @ 2014-06-24 18:07 UTC (permalink / raw)
  To: linux-arm-kernel

Hello.

   Here's the set of 3 patches against Simon Horman's 'renesas.git' repo,
'renesas-devel-v3.16-rc2-20140623' tag. Here we add PCI USB device tree support
for the R8A7791-based Koelsch and Henninger boards. As the 'pci-rcar-gen2'
driver device tree support has been merged for 3.16, this patchset can now be
merged too... 

[1/3] ARM: shmobile: r8a7791: add internal PCI bridge nodes
[2/3] ARM: shmobile: koelsch: enable internal PCI
[3/3] ARM: shmobile: henninger: enable internal PCI

WBR, Sergei

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

* [PATCH v4 0/3] Add R8A7791/Koelsch/Henninger board PCI DT support
@ 2014-06-24 18:07 ` Sergei Shtylyov
  0 siblings, 0 replies; 21+ messages in thread
From: Sergei Shtylyov @ 2014-06-24 18:07 UTC (permalink / raw)
  To: horms, linux-sh, robh+dt, pawel.moll, mark.rutland,
	ijc+devicetree, galak, devicetree
  Cc: magnus.damm, linux, linux-arm-kernel

Hello.

   Here's the set of 3 patches against Simon Horman's 'renesas.git' repo,
'renesas-devel-v3.16-rc2-20140623' tag. Here we add PCI USB device tree support
for the R8A7791-based Koelsch and Henninger boards. As the 'pci-rcar-gen2'
driver device tree support has been merged for 3.16, this patchset can now be
merged too... 

[1/3] ARM: shmobile: r8a7791: add internal PCI bridge nodes
[2/3] ARM: shmobile: koelsch: enable internal PCI
[3/3] ARM: shmobile: henninger: enable internal PCI

WBR, Sergei

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

* [PATCH v4 0/3] Add R8A7791/Koelsch/Henninger board PCI DT support
@ 2014-06-24 18:07 ` Sergei Shtylyov
  0 siblings, 0 replies; 21+ messages in thread
From: Sergei Shtylyov @ 2014-06-24 18:07 UTC (permalink / raw)
  To: linux-arm-kernel

Hello.

   Here's the set of 3 patches against Simon Horman's 'renesas.git' repo,
'renesas-devel-v3.16-rc2-20140623' tag. Here we add PCI USB device tree support
for the R8A7791-based Koelsch and Henninger boards. As the 'pci-rcar-gen2'
driver device tree support has been merged for 3.16, this patchset can now be
merged too... 

[1/3] ARM: shmobile: r8a7791: add internal PCI bridge nodes
[2/3] ARM: shmobile: koelsch: enable internal PCI
[3/3] ARM: shmobile: henninger: enable internal PCI

WBR, Sergei

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

* [PATCH v4 1/3] ARM: shmobile: r8a7791: add internal PCI bridge nodes
  2014-06-24 18:07 ` Sergei Shtylyov
  (?)
@ 2014-06-24 18:10   ` Sergei Shtylyov
  -1 siblings, 0 replies; 21+ messages in thread
From: Sergei Shtylyov @ 2014-06-24 18:10 UTC (permalink / raw)
  To: linux-arm-kernel

Add device nodes for the R8A7791 internal PCI bridge devices.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>

---
Changes in version 4:
- added "device_type" and "ranges" properties to the PCI bridge nodes;
- removed "0x" prefix from zero values in the "reg" properties.

Changes in version 3:
- refreshed the patch.

Changes in version 2:
- added interrupt-related properties to the PCI device nodes;
- refreshed the patch.

 arch/arm/boot/dts/r8a7791.dtsi |   40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

Index: renesas/arch/arm/boot/dts/r8a7791.dtsi
=================================--- renesas.orig/arch/arm/boot/dts/r8a7791.dtsi
+++ renesas/arch/arm/boot/dts/r8a7791.dtsi
@@ -961,6 +961,46 @@
 		status = "disabled";
 	};
 
+	pci0: pci@ee090000 {
+		compatible = "renesas,pci-r8a7791";
+		device_type = "pci";
+		clocks = <&mstp7_clks R8A7791_CLK_EHCI>;
+		reg = <0 0xee090000 0 0xc00>,
+		      <0 0xee080000 0 0x1100>;
+		interrupts = <0 108 IRQ_TYPE_LEVEL_HIGH>;
+		status = "disabled";
+
+		bus-range = <0 0>;
+		#address-cells = <3>;
+		#size-cells = <2>;
+		#interrupt-cells = <1>;
+		ranges = <0x02000000 0 0xee080000 0 0xee080000 0 0x00010000>;
+		interrupt-map-mask = <0xff00 0 0 0x7>;
+		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>;
+	};
+
+	pci1: pci@ee0d0000 {
+		compatible = "renesas,pci-r8a7791";
+		device_type = "pci";
+		clocks = <&mstp7_clks R8A7791_CLK_EHCI>;
+		reg = <0 0xee0d0000 0 0xc00>,
+		      <0 0xee0c0000 0 0x1100>;
+		interrupts = <0 113 IRQ_TYPE_LEVEL_HIGH>;
+		status = "disabled";
+
+		bus-range = <1 1>;
+		#address-cells = <3>;
+		#size-cells = <2>;
+		#interrupt-cells = <1>;
+		ranges = <0x02000000 0 0xee0c0000 0 0xee0c0000 0 0x00010000>;
+		interrupt-map-mask = <0xff00 0 0 0x7>;
+		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>;
+	};
+
 	pciec: pcie@fe000000 {
 		compatible = "renesas,pcie-r8a7791";
 		reg = <0 0xfe000000 0 0x80000>;

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

* [PATCH v4 1/3] ARM: shmobile: r8a7791: add internal PCI bridge nodes
@ 2014-06-24 18:10   ` Sergei Shtylyov
  0 siblings, 0 replies; 21+ messages in thread
From: Sergei Shtylyov @ 2014-06-24 18:10 UTC (permalink / raw)
  To: horms, linux-sh, robh+dt, pawel.moll, mark.rutland,
	ijc+devicetree, galak, devicetree
  Cc: magnus.damm, linux, linux-arm-kernel

Add device nodes for the R8A7791 internal PCI bridge devices.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>

---
Changes in version 4:
- added "device_type" and "ranges" properties to the PCI bridge nodes;
- removed "0x" prefix from zero values in the "reg" properties.

Changes in version 3:
- refreshed the patch.

Changes in version 2:
- added interrupt-related properties to the PCI device nodes;
- refreshed the patch.

 arch/arm/boot/dts/r8a7791.dtsi |   40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

Index: renesas/arch/arm/boot/dts/r8a7791.dtsi
===================================================================
--- renesas.orig/arch/arm/boot/dts/r8a7791.dtsi
+++ renesas/arch/arm/boot/dts/r8a7791.dtsi
@@ -961,6 +961,46 @@
 		status = "disabled";
 	};
 
+	pci0: pci@ee090000 {
+		compatible = "renesas,pci-r8a7791";
+		device_type = "pci";
+		clocks = <&mstp7_clks R8A7791_CLK_EHCI>;
+		reg = <0 0xee090000 0 0xc00>,
+		      <0 0xee080000 0 0x1100>;
+		interrupts = <0 108 IRQ_TYPE_LEVEL_HIGH>;
+		status = "disabled";
+
+		bus-range = <0 0>;
+		#address-cells = <3>;
+		#size-cells = <2>;
+		#interrupt-cells = <1>;
+		ranges = <0x02000000 0 0xee080000 0 0xee080000 0 0x00010000>;
+		interrupt-map-mask = <0xff00 0 0 0x7>;
+		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>;
+	};
+
+	pci1: pci@ee0d0000 {
+		compatible = "renesas,pci-r8a7791";
+		device_type = "pci";
+		clocks = <&mstp7_clks R8A7791_CLK_EHCI>;
+		reg = <0 0xee0d0000 0 0xc00>,
+		      <0 0xee0c0000 0 0x1100>;
+		interrupts = <0 113 IRQ_TYPE_LEVEL_HIGH>;
+		status = "disabled";
+
+		bus-range = <1 1>;
+		#address-cells = <3>;
+		#size-cells = <2>;
+		#interrupt-cells = <1>;
+		ranges = <0x02000000 0 0xee0c0000 0 0xee0c0000 0 0x00010000>;
+		interrupt-map-mask = <0xff00 0 0 0x7>;
+		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>;
+	};
+
 	pciec: pcie@fe000000 {
 		compatible = "renesas,pcie-r8a7791";
 		reg = <0 0xfe000000 0 0x80000>;

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

* [PATCH v4 1/3] ARM: shmobile: r8a7791: add internal PCI bridge nodes
@ 2014-06-24 18:10   ` Sergei Shtylyov
  0 siblings, 0 replies; 21+ messages in thread
From: Sergei Shtylyov @ 2014-06-24 18:10 UTC (permalink / raw)
  To: linux-arm-kernel

Add device nodes for the R8A7791 internal PCI bridge devices.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>

---
Changes in version 4:
- added "device_type" and "ranges" properties to the PCI bridge nodes;
- removed "0x" prefix from zero values in the "reg" properties.

Changes in version 3:
- refreshed the patch.

Changes in version 2:
- added interrupt-related properties to the PCI device nodes;
- refreshed the patch.

 arch/arm/boot/dts/r8a7791.dtsi |   40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

Index: renesas/arch/arm/boot/dts/r8a7791.dtsi
===================================================================
--- renesas.orig/arch/arm/boot/dts/r8a7791.dtsi
+++ renesas/arch/arm/boot/dts/r8a7791.dtsi
@@ -961,6 +961,46 @@
 		status = "disabled";
 	};
 
+	pci0: pci at ee090000 {
+		compatible = "renesas,pci-r8a7791";
+		device_type = "pci";
+		clocks = <&mstp7_clks R8A7791_CLK_EHCI>;
+		reg = <0 0xee090000 0 0xc00>,
+		      <0 0xee080000 0 0x1100>;
+		interrupts = <0 108 IRQ_TYPE_LEVEL_HIGH>;
+		status = "disabled";
+
+		bus-range = <0 0>;
+		#address-cells = <3>;
+		#size-cells = <2>;
+		#interrupt-cells = <1>;
+		ranges = <0x02000000 0 0xee080000 0 0xee080000 0 0x00010000>;
+		interrupt-map-mask = <0xff00 0 0 0x7>;
+		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>;
+	};
+
+	pci1: pci at ee0d0000 {
+		compatible = "renesas,pci-r8a7791";
+		device_type = "pci";
+		clocks = <&mstp7_clks R8A7791_CLK_EHCI>;
+		reg = <0 0xee0d0000 0 0xc00>,
+		      <0 0xee0c0000 0 0x1100>;
+		interrupts = <0 113 IRQ_TYPE_LEVEL_HIGH>;
+		status = "disabled";
+
+		bus-range = <1 1>;
+		#address-cells = <3>;
+		#size-cells = <2>;
+		#interrupt-cells = <1>;
+		ranges = <0x02000000 0 0xee0c0000 0 0xee0c0000 0 0x00010000>;
+		interrupt-map-mask = <0xff00 0 0 0x7>;
+		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>;
+	};
+
 	pciec: pcie at fe000000 {
 		compatible = "renesas,pcie-r8a7791";
 		reg = <0 0xfe000000 0 0x80000>;

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

* [PATCH v4 2/3] ARM: shmobile: koelsch: enable internal PCI
@ 2014-06-24 18:11   ` Sergei Shtylyov
  0 siblings, 0 replies; 21+ messages in thread
From: Sergei Shtylyov @ 2014-06-24 18:11 UTC (permalink / raw)
  To: linux-arm-kernel

Enable internal AHB-PCI bridges for the USB EHCI/OHCI controllers attached to
them.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>

---
Changes in version 3:
- refreshed the patch.

Changes in version 2:
- refreshed the patch.

 arch/arm/boot/dts/r8a7791-koelsch.dts |   22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

Index: renesas/arch/arm/boot/dts/r8a7791-koelsch.dts
=================================--- renesas.orig/arch/arm/boot/dts/r8a7791-koelsch.dts
+++ renesas/arch/arm/boot/dts/r8a7791-koelsch.dts
@@ -279,6 +279,16 @@
 		renesas,groups = "i2c6";
 		renesas,function = "i2c6";
 	};
+
+	usb0_pins: usb0 {
+		renesas,groups = "usb0";
+		renesas,function = "usb0";
+	};
+
+	usb1_pins: usb1 {
+		renesas,groups = "usb1";
+		renesas,function = "usb1";
+	};
 };
 
 &ether {
@@ -426,6 +436,18 @@
 	};
 };
 
+&pci0 {
+	status = "okay";
+	pinctrl-0 = <&usb0_pins>;
+	pinctrl-names = "default";
+};
+
+&pci1 {
+	status = "okay";
+	pinctrl-0 = <&usb1_pins>;
+	pinctrl-names = "default";
+};
+
 &pcie_bus_clk {
 	status = "okay";
 };

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

* [PATCH v4 2/3] ARM: shmobile: koelsch: enable internal PCI
@ 2014-06-24 18:11   ` Sergei Shtylyov
  0 siblings, 0 replies; 21+ messages in thread
From: Sergei Shtylyov @ 2014-06-24 18:11 UTC (permalink / raw)
  To: horms-/R6kz+dDXgpPR4JQBCEnsQ, linux-sh-u79uwXL29TY76Z2rM5mHXA,
	robh+dt-DgEjT+Ai2ygdnm+yROfE0A, pawel.moll-5wv7dgnIgG8,
	mark.rutland-5wv7dgnIgG8, ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg,
	galak-sgV2jX0FEOL9JmXXK+q4OQ, devicetree-u79uwXL29TY76Z2rM5mHXA
  Cc: magnus.damm-Re5JQEeQqe8AvxtiuMwx3w, linux-lFZ/pmaqli7XmaaqVzeoHQ,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r

Enable internal AHB-PCI bridges for the USB EHCI/OHCI controllers attached to
them.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>

---
Changes in version 3:
- refreshed the patch.

Changes in version 2:
- refreshed the patch.

 arch/arm/boot/dts/r8a7791-koelsch.dts |   22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

Index: renesas/arch/arm/boot/dts/r8a7791-koelsch.dts
===================================================================
--- renesas.orig/arch/arm/boot/dts/r8a7791-koelsch.dts
+++ renesas/arch/arm/boot/dts/r8a7791-koelsch.dts
@@ -279,6 +279,16 @@
 		renesas,groups = "i2c6";
 		renesas,function = "i2c6";
 	};
+
+	usb0_pins: usb0 {
+		renesas,groups = "usb0";
+		renesas,function = "usb0";
+	};
+
+	usb1_pins: usb1 {
+		renesas,groups = "usb1";
+		renesas,function = "usb1";
+	};
 };
 
 &ether {
@@ -426,6 +436,18 @@
 	};
 };
 
+&pci0 {
+	status = "okay";
+	pinctrl-0 = <&usb0_pins>;
+	pinctrl-names = "default";
+};
+
+&pci1 {
+	status = "okay";
+	pinctrl-0 = <&usb1_pins>;
+	pinctrl-names = "default";
+};
+
 &pcie_bus_clk {
 	status = "okay";
 };
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* [PATCH v4 2/3] ARM: shmobile: koelsch: enable internal PCI
@ 2014-06-24 18:11   ` Sergei Shtylyov
  0 siblings, 0 replies; 21+ messages in thread
From: Sergei Shtylyov @ 2014-06-24 18:11 UTC (permalink / raw)
  To: linux-arm-kernel

Enable internal AHB-PCI bridges for the USB EHCI/OHCI controllers attached to
them.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>

---
Changes in version 3:
- refreshed the patch.

Changes in version 2:
- refreshed the patch.

 arch/arm/boot/dts/r8a7791-koelsch.dts |   22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

Index: renesas/arch/arm/boot/dts/r8a7791-koelsch.dts
===================================================================
--- renesas.orig/arch/arm/boot/dts/r8a7791-koelsch.dts
+++ renesas/arch/arm/boot/dts/r8a7791-koelsch.dts
@@ -279,6 +279,16 @@
 		renesas,groups = "i2c6";
 		renesas,function = "i2c6";
 	};
+
+	usb0_pins: usb0 {
+		renesas,groups = "usb0";
+		renesas,function = "usb0";
+	};
+
+	usb1_pins: usb1 {
+		renesas,groups = "usb1";
+		renesas,function = "usb1";
+	};
 };
 
 &ether {
@@ -426,6 +436,18 @@
 	};
 };
 
+&pci0 {
+	status = "okay";
+	pinctrl-0 = <&usb0_pins>;
+	pinctrl-names = "default";
+};
+
+&pci1 {
+	status = "okay";
+	pinctrl-0 = <&usb1_pins>;
+	pinctrl-names = "default";
+};
+
 &pcie_bus_clk {
 	status = "okay";
 };

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

* [PATCH v4 3/3] ARM: shmobile: henninger: enable internal PCI
  2014-06-24 18:07 ` Sergei Shtylyov
  (?)
@ 2014-06-24 18:13   ` Sergei Shtylyov
  -1 siblings, 0 replies; 21+ messages in thread
From: Sergei Shtylyov @ 2014-06-24 18:13 UTC (permalink / raw)
  To: linux-arm-kernel

Enable internal AHB-PCI bridges for the USB EHCI/OHCI controllers attached to
them.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>

---
Changes in version 4:
- moved the PCI bridge nodes before PCIe clock/bridge nodes.

Changes in version 3:
- refreshed the patch.

 arch/arm/boot/dts/r8a7791-henninger.dts |   22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

Index: renesas/arch/arm/boot/dts/r8a7791-henninger.dts
=================================--- renesas.orig/arch/arm/boot/dts/r8a7791-henninger.dts
+++ renesas/arch/arm/boot/dts/r8a7791-henninger.dts
@@ -125,6 +125,16 @@
 				 "msiof0_tx";
 		renesas,function = "msiof0";
 	};
+
+	usb0_pins: usb0 {
+		renesas,groups = "usb0";
+		renesas,function = "usb0";
+	};
+
+	usb1_pins: usb1 {
+		renesas,groups = "usb1";
+		renesas,function = "usb1";
+	};
 };
 
 &scif0 {
@@ -231,6 +241,18 @@
 	};
 };
 
+&pci0 {
+	status = "okay";
+	pinctrl-0 = <&usb0_pins>;
+	pinctrl-names = "default";
+};
+
+&pci1 {
+	status = "okay";
+	pinctrl-0 = <&usb1_pins>;
+	pinctrl-names = "default";
+};
+
 &pcie_bus_clk {
 	status = "okay";
 };

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

* [PATCH v4 3/3] ARM: shmobile: henninger: enable internal PCI
@ 2014-06-24 18:13   ` Sergei Shtylyov
  0 siblings, 0 replies; 21+ messages in thread
From: Sergei Shtylyov @ 2014-06-24 18:13 UTC (permalink / raw)
  To: horms, linux-sh, robh+dt, pawel.moll, mark.rutland,
	ijc+devicetree, galak, devicetree
  Cc: magnus.damm, linux, linux-arm-kernel

Enable internal AHB-PCI bridges for the USB EHCI/OHCI controllers attached to
them.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>

---
Changes in version 4:
- moved the PCI bridge nodes before PCIe clock/bridge nodes.

Changes in version 3:
- refreshed the patch.

 arch/arm/boot/dts/r8a7791-henninger.dts |   22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

Index: renesas/arch/arm/boot/dts/r8a7791-henninger.dts
===================================================================
--- renesas.orig/arch/arm/boot/dts/r8a7791-henninger.dts
+++ renesas/arch/arm/boot/dts/r8a7791-henninger.dts
@@ -125,6 +125,16 @@
 				 "msiof0_tx";
 		renesas,function = "msiof0";
 	};
+
+	usb0_pins: usb0 {
+		renesas,groups = "usb0";
+		renesas,function = "usb0";
+	};
+
+	usb1_pins: usb1 {
+		renesas,groups = "usb1";
+		renesas,function = "usb1";
+	};
 };
 
 &scif0 {
@@ -231,6 +241,18 @@
 	};
 };
 
+&pci0 {
+	status = "okay";
+	pinctrl-0 = <&usb0_pins>;
+	pinctrl-names = "default";
+};
+
+&pci1 {
+	status = "okay";
+	pinctrl-0 = <&usb1_pins>;
+	pinctrl-names = "default";
+};
+
 &pcie_bus_clk {
 	status = "okay";
 };

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

* [PATCH v4 3/3] ARM: shmobile: henninger: enable internal PCI
@ 2014-06-24 18:13   ` Sergei Shtylyov
  0 siblings, 0 replies; 21+ messages in thread
From: Sergei Shtylyov @ 2014-06-24 18:13 UTC (permalink / raw)
  To: linux-arm-kernel

Enable internal AHB-PCI bridges for the USB EHCI/OHCI controllers attached to
them.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>

---
Changes in version 4:
- moved the PCI bridge nodes before PCIe clock/bridge nodes.

Changes in version 3:
- refreshed the patch.

 arch/arm/boot/dts/r8a7791-henninger.dts |   22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

Index: renesas/arch/arm/boot/dts/r8a7791-henninger.dts
===================================================================
--- renesas.orig/arch/arm/boot/dts/r8a7791-henninger.dts
+++ renesas/arch/arm/boot/dts/r8a7791-henninger.dts
@@ -125,6 +125,16 @@
 				 "msiof0_tx";
 		renesas,function = "msiof0";
 	};
+
+	usb0_pins: usb0 {
+		renesas,groups = "usb0";
+		renesas,function = "usb0";
+	};
+
+	usb1_pins: usb1 {
+		renesas,groups = "usb1";
+		renesas,function = "usb1";
+	};
 };
 
 &scif0 {
@@ -231,6 +241,18 @@
 	};
 };
 
+&pci0 {
+	status = "okay";
+	pinctrl-0 = <&usb0_pins>;
+	pinctrl-names = "default";
+};
+
+&pci1 {
+	status = "okay";
+	pinctrl-0 = <&usb1_pins>;
+	pinctrl-names = "default";
+};
+
 &pcie_bus_clk {
 	status = "okay";
 };

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

* Re: [PATCH v4 0/3] Add R8A7791/Koelsch/Henninger board PCI DT support
  2014-06-24 18:07 ` Sergei Shtylyov
  (?)
@ 2014-06-24 18:22   ` Arnd Bergmann
  -1 siblings, 0 replies; 21+ messages in thread
From: Arnd Bergmann @ 2014-06-24 18:22 UTC (permalink / raw)
  To: linux-arm-kernel

On Tuesday 24 June 2014 22:07:31 Sergei Shtylyov wrote:
> 
>    Here's the set of 3 patches against Simon Horman's 'renesas.git' repo,
> 'renesas-devel-v3.16-rc2-20140623' tag. Here we add PCI USB device tree support
> for the R8A7791-based Koelsch and Henninger boards. As the 'pci-rcar-gen2'
> driver device tree support has been merged for 3.16, this patchset can now be
> merged too... 
> 
> [1/3] ARM: shmobile: r8a7791: add internal PCI bridge nodes
> [2/3] ARM: shmobile: koelsch: enable internal PCI
> [3/3] ARM: shmobile: henninger: enable internal PCI
> 

Acked-by: Arnd Bergmann <arnd@arndb.de>

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

* Re: [PATCH v4 0/3] Add R8A7791/Koelsch/Henninger board PCI DT support
@ 2014-06-24 18:22   ` Arnd Bergmann
  0 siblings, 0 replies; 21+ messages in thread
From: Arnd Bergmann @ 2014-06-24 18:22 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: Sergei Shtylyov, horms, linux-sh, robh+dt, pawel.moll,
	mark.rutland, ijc+devicetree, galak, devicetree, linux,
	magnus.damm

On Tuesday 24 June 2014 22:07:31 Sergei Shtylyov wrote:
> 
>    Here's the set of 3 patches against Simon Horman's 'renesas.git' repo,
> 'renesas-devel-v3.16-rc2-20140623' tag. Here we add PCI USB device tree support
> for the R8A7791-based Koelsch and Henninger boards. As the 'pci-rcar-gen2'
> driver device tree support has been merged for 3.16, this patchset can now be
> merged too... 
> 
> [1/3] ARM: shmobile: r8a7791: add internal PCI bridge nodes
> [2/3] ARM: shmobile: koelsch: enable internal PCI
> [3/3] ARM: shmobile: henninger: enable internal PCI
> 

Acked-by: Arnd Bergmann <arnd@arndb.de>

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

* [PATCH v4 0/3] Add R8A7791/Koelsch/Henninger board PCI DT support
@ 2014-06-24 18:22   ` Arnd Bergmann
  0 siblings, 0 replies; 21+ messages in thread
From: Arnd Bergmann @ 2014-06-24 18:22 UTC (permalink / raw)
  To: linux-arm-kernel

On Tuesday 24 June 2014 22:07:31 Sergei Shtylyov wrote:
> 
>    Here's the set of 3 patches against Simon Horman's 'renesas.git' repo,
> 'renesas-devel-v3.16-rc2-20140623' tag. Here we add PCI USB device tree support
> for the R8A7791-based Koelsch and Henninger boards. As the 'pci-rcar-gen2'
> driver device tree support has been merged for 3.16, this patchset can now be
> merged too... 
> 
> [1/3] ARM: shmobile: r8a7791: add internal PCI bridge nodes
> [2/3] ARM: shmobile: koelsch: enable internal PCI
> [3/3] ARM: shmobile: henninger: enable internal PCI
> 

Acked-by: Arnd Bergmann <arnd@arndb.de>

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

* Re: [PATCH v4 0/3] Add R8A7791/Koelsch/Henninger board PCI DT support
  2014-06-24 18:22   ` Arnd Bergmann
  (?)
@ 2014-07-07 21:21     ` Sergei Shtylyov
  -1 siblings, 0 replies; 21+ messages in thread
From: Sergei Shtylyov @ 2014-07-07 21:21 UTC (permalink / raw)
  To: linux-arm-kernel

Hello.

On 06/24/2014 10:22 PM, Arnd Bergmann wrote:

>>     Here's the set of 3 patches against Simon Horman's 'renesas.git' repo,
>> 'renesas-devel-v3.16-rc2-20140623' tag. Here we add PCI USB device tree support
>> for the R8A7791-based Koelsch and Henninger boards. As the 'pci-rcar-gen2'
>> driver device tree support has been merged for 3.16, this patchset can now be
>> merged too...

>> [1/3] ARM: shmobile: r8a7791: add internal PCI bridge nodes
>> [2/3] ARM: shmobile: koelsch: enable internal PCI
>> [3/3] ARM: shmobile: henninger: enable internal PCI

> Acked-by: Arnd Bergmann <arnd@arndb.de>

    Simon, what's up with this series? You've merged analogous series for 
R8A7790 but not this one. You followed up to an older version of it, asking me 
to re-post when the driver patch gets merged but it already had been merged 
already (and this version posted), and I got no reply from you then...

WBR, Sergei


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

* Re: [PATCH v4 0/3] Add R8A7791/Koelsch/Henninger board PCI DT support
@ 2014-07-07 21:21     ` Sergei Shtylyov
  0 siblings, 0 replies; 21+ messages in thread
From: Sergei Shtylyov @ 2014-07-07 21:21 UTC (permalink / raw)
  To: linux-arm-kernel, horms
  Cc: Arnd Bergmann, linux-sh, robh+dt, pawel.moll, mark.rutland,
	ijc+devicetree, galak, devicetree, linux, magnus.damm

Hello.

On 06/24/2014 10:22 PM, Arnd Bergmann wrote:

>>     Here's the set of 3 patches against Simon Horman's 'renesas.git' repo,
>> 'renesas-devel-v3.16-rc2-20140623' tag. Here we add PCI USB device tree support
>> for the R8A7791-based Koelsch and Henninger boards. As the 'pci-rcar-gen2'
>> driver device tree support has been merged for 3.16, this patchset can now be
>> merged too...

>> [1/3] ARM: shmobile: r8a7791: add internal PCI bridge nodes
>> [2/3] ARM: shmobile: koelsch: enable internal PCI
>> [3/3] ARM: shmobile: henninger: enable internal PCI

> Acked-by: Arnd Bergmann <arnd@arndb.de>

    Simon, what's up with this series? You've merged analogous series for 
R8A7790 but not this one. You followed up to an older version of it, asking me 
to re-post when the driver patch gets merged but it already had been merged 
already (and this version posted), and I got no reply from you then...

WBR, Sergei


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

* [PATCH v4 0/3] Add R8A7791/Koelsch/Henninger board PCI DT support
@ 2014-07-07 21:21     ` Sergei Shtylyov
  0 siblings, 0 replies; 21+ messages in thread
From: Sergei Shtylyov @ 2014-07-07 21:21 UTC (permalink / raw)
  To: linux-arm-kernel

Hello.

On 06/24/2014 10:22 PM, Arnd Bergmann wrote:

>>     Here's the set of 3 patches against Simon Horman's 'renesas.git' repo,
>> 'renesas-devel-v3.16-rc2-20140623' tag. Here we add PCI USB device tree support
>> for the R8A7791-based Koelsch and Henninger boards. As the 'pci-rcar-gen2'
>> driver device tree support has been merged for 3.16, this patchset can now be
>> merged too...

>> [1/3] ARM: shmobile: r8a7791: add internal PCI bridge nodes
>> [2/3] ARM: shmobile: koelsch: enable internal PCI
>> [3/3] ARM: shmobile: henninger: enable internal PCI

> Acked-by: Arnd Bergmann <arnd@arndb.de>

    Simon, what's up with this series? You've merged analogous series for 
R8A7790 but not this one. You followed up to an older version of it, asking me 
to re-post when the driver patch gets merged but it already had been merged 
already (and this version posted), and I got no reply from you then...

WBR, Sergei

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

* Re: [PATCH v4 0/3] Add R8A7791/Koelsch/Henninger board PCI DT support
  2014-07-07 21:21     ` Sergei Shtylyov
  (?)
@ 2014-07-08  9:04       ` Simon Horman
  -1 siblings, 0 replies; 21+ messages in thread
From: Simon Horman @ 2014-07-08  9:04 UTC (permalink / raw)
  To: linux-arm-kernel

On Tue, Jul 08, 2014 at 01:21:50AM +0400, Sergei Shtylyov wrote:
> Hello.
> 
> On 06/24/2014 10:22 PM, Arnd Bergmann wrote:
> 
> >>    Here's the set of 3 patches against Simon Horman's 'renesas.git' repo,
> >>'renesas-devel-v3.16-rc2-20140623' tag. Here we add PCI USB device tree support
> >>for the R8A7791-based Koelsch and Henninger boards. As the 'pci-rcar-gen2'
> >>driver device tree support has been merged for 3.16, this patchset can now be
> >>merged too...
> 
> >>[1/3] ARM: shmobile: r8a7791: add internal PCI bridge nodes
> >>[2/3] ARM: shmobile: koelsch: enable internal PCI
> >>[3/3] ARM: shmobile: henninger: enable internal PCI
> 
> >Acked-by: Arnd Bergmann <arnd@arndb.de>
> 
>    Simon, what's up with this series? You've merged analogous series for
> R8A7790 but not this one. You followed up to an older version of it, asking
> me to re-post when the driver patch gets merged but it already had been
> merged already (and this version posted), and I got no reply from you
> then...

Sorry about that and thanks for the reminder.
I have now queued up this series.

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

* Re: [PATCH v4 0/3] Add R8A7791/Koelsch/Henninger board PCI DT support
@ 2014-07-08  9:04       ` Simon Horman
  0 siblings, 0 replies; 21+ messages in thread
From: Simon Horman @ 2014-07-08  9:04 UTC (permalink / raw)
  To: Sergei Shtylyov
  Cc: linux-arm-kernel, Arnd Bergmann, linux-sh, robh+dt, pawel.moll,
	mark.rutland, ijc+devicetree, galak, devicetree, linux,
	magnus.damm

On Tue, Jul 08, 2014 at 01:21:50AM +0400, Sergei Shtylyov wrote:
> Hello.
> 
> On 06/24/2014 10:22 PM, Arnd Bergmann wrote:
> 
> >>    Here's the set of 3 patches against Simon Horman's 'renesas.git' repo,
> >>'renesas-devel-v3.16-rc2-20140623' tag. Here we add PCI USB device tree support
> >>for the R8A7791-based Koelsch and Henninger boards. As the 'pci-rcar-gen2'
> >>driver device tree support has been merged for 3.16, this patchset can now be
> >>merged too...
> 
> >>[1/3] ARM: shmobile: r8a7791: add internal PCI bridge nodes
> >>[2/3] ARM: shmobile: koelsch: enable internal PCI
> >>[3/3] ARM: shmobile: henninger: enable internal PCI
> 
> >Acked-by: Arnd Bergmann <arnd@arndb.de>
> 
>    Simon, what's up with this series? You've merged analogous series for
> R8A7790 but not this one. You followed up to an older version of it, asking
> me to re-post when the driver patch gets merged but it already had been
> merged already (and this version posted), and I got no reply from you
> then...

Sorry about that and thanks for the reminder.
I have now queued up this series.

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

* [PATCH v4 0/3] Add R8A7791/Koelsch/Henninger board PCI DT support
@ 2014-07-08  9:04       ` Simon Horman
  0 siblings, 0 replies; 21+ messages in thread
From: Simon Horman @ 2014-07-08  9:04 UTC (permalink / raw)
  To: linux-arm-kernel

On Tue, Jul 08, 2014 at 01:21:50AM +0400, Sergei Shtylyov wrote:
> Hello.
> 
> On 06/24/2014 10:22 PM, Arnd Bergmann wrote:
> 
> >>    Here's the set of 3 patches against Simon Horman's 'renesas.git' repo,
> >>'renesas-devel-v3.16-rc2-20140623' tag. Here we add PCI USB device tree support
> >>for the R8A7791-based Koelsch and Henninger boards. As the 'pci-rcar-gen2'
> >>driver device tree support has been merged for 3.16, this patchset can now be
> >>merged too...
> 
> >>[1/3] ARM: shmobile: r8a7791: add internal PCI bridge nodes
> >>[2/3] ARM: shmobile: koelsch: enable internal PCI
> >>[3/3] ARM: shmobile: henninger: enable internal PCI
> 
> >Acked-by: Arnd Bergmann <arnd@arndb.de>
> 
>    Simon, what's up with this series? You've merged analogous series for
> R8A7790 but not this one. You followed up to an older version of it, asking
> me to re-post when the driver patch gets merged but it already had been
> merged already (and this version posted), and I got no reply from you
> then...

Sorry about that and thanks for the reminder.
I have now queued up this series.

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

end of thread, other threads:[~2014-07-08  9:04 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-24 18:07 [PATCH v4 0/3] Add R8A7791/Koelsch/Henninger board PCI DT support Sergei Shtylyov
2014-06-24 18:07 ` Sergei Shtylyov
2014-06-24 18:07 ` Sergei Shtylyov
2014-06-24 18:10 ` [PATCH v4 1/3] ARM: shmobile: r8a7791: add internal PCI bridge nodes Sergei Shtylyov
2014-06-24 18:10   ` Sergei Shtylyov
2014-06-24 18:10   ` Sergei Shtylyov
2014-06-24 18:11 ` [PATCH v4 2/3] ARM: shmobile: koelsch: enable internal PCI Sergei Shtylyov
2014-06-24 18:11   ` Sergei Shtylyov
2014-06-24 18:11   ` Sergei Shtylyov
2014-06-24 18:13 ` [PATCH v4 3/3] ARM: shmobile: henninger: " Sergei Shtylyov
2014-06-24 18:13   ` Sergei Shtylyov
2014-06-24 18:13   ` Sergei Shtylyov
2014-06-24 18:22 ` [PATCH v4 0/3] Add R8A7791/Koelsch/Henninger board PCI DT support Arnd Bergmann
2014-06-24 18:22   ` Arnd Bergmann
2014-06-24 18:22   ` Arnd Bergmann
2014-07-07 21:21   ` Sergei Shtylyov
2014-07-07 21:21     ` Sergei Shtylyov
2014-07-07 21:21     ` Sergei Shtylyov
2014-07-08  9:04     ` Simon Horman
2014-07-08  9:04       ` Simon Horman
2014-07-08  9:04       ` Simon Horman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.