All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: shmobile: r8a7790: link PCI USb devices to USB PHY
@ 2014-04-09 19:18 ` Sergei Shtylyov
  0 siblings, 0 replies; 18+ messages in thread
From: Sergei Shtylyov @ 2014-04-09 19:18 UTC (permalink / raw)
  To: linux-arm-kernel

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>

---
This patch is against 'renesas-devel-v3.14-20140408' tag of Simon Horman's
'renesas.git' repo plus R8A7790/Lager PCI and USB PHY support patches posted
yesterday and day before. The patch requires the internal PCI and USB PHY
drivers (also already posted) in order to work...

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

Index: renesas/arch/arm/boot/dts/r8a7790.dtsi
=================================--- renesas.orig/arch/arm/boot/dts/r8a7790.dtsi
+++ renesas/arch/arm/boot/dts/r8a7790.dtsi
@@ -841,6 +841,20 @@
 		bus-range = <0 0>;
 		#address-cells = <3>;
 		#size-cells = <2>;
+
+		pci@0,1 {
+			reg = <0x800 0 0 0 0>;
+			device_type = "pci";
+			phys = <&usbphy 0 0>;
+			phy-names = "usb";
+		};
+
+		pci@0,2 {
+			reg = <0x1000 0 0 0 0>;
+			device_type = "pci";
+			phys = <&usbphy 0 0>;
+			phy-names = "usb";
+		};
 	};
 
 	pci1: pci@ee0b0000 {
@@ -867,5 +881,19 @@
 		bus-range = <2 2>;
 		#address-cells = <3>;
 		#size-cells = <2>;
+
+		pci@0,1 {
+			reg = <0x800 0 0 0 0>;
+			device_type = "pci";
+			phys = <&usbphy 2 0>;
+			phy-names = "usb";
+		};
+
+		pci@0,2 {
+			reg = <0x1000 0 0 0 0>;
+			device_type = "pci";
+			phys = <&usbphy 2 0>;
+			phy-names = "usb";
+		};
 	};
 };

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

end of thread, other threads:[~2014-04-11 11:39 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-09 19:18 [PATCH] ARM: shmobile: r8a7790: link PCI USb devices to USB PHY Sergei Shtylyov
2014-04-09 19:18 ` Sergei Shtylyov
2014-04-09 19:18 ` Sergei Shtylyov
2014-04-10  7:07 ` Magnus Damm
2014-04-10  7:07   ` Magnus Damm
2014-04-10  7:07   ` Magnus Damm
2014-04-10 10:38   ` Sergei Shtylyov
2014-04-10 10:38     ` Sergei Shtylyov
2014-04-10 10:38     ` Sergei Shtylyov
2014-04-10 18:46     ` Sergei Shtylyov
2014-04-10 18:46       ` Sergei Shtylyov
2014-04-10 18:46       ` Sergei Shtylyov
2014-04-11  5:48       ` Magnus Damm
2014-04-11  5:48         ` Magnus Damm
2014-04-11  5:48         ` Magnus Damm
2014-04-11 11:39         ` Sergei Shtylyov
2014-04-11 11:39           ` Sergei Shtylyov
2014-04-11 11:39           ` Sergei Shtylyov

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.