devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Add USB PHY DT support for R8A7791/Koelsch reference board
@ 2014-04-08 22:21 Sergei Shtylyov
  2014-04-08 22:23 ` [PATCH 1/2] ARM: shmobile: r8a7791: add USB PHY DT support Sergei Shtylyov
  2014-04-08 22:24 ` [PATCH 2/2] ARM: shmobile: koelsch: enable USB PHY Sergei Shtylyov
  0 siblings, 2 replies; 4+ messages in thread
From: Sergei Shtylyov @ 2014-04-08 22:21 UTC (permalink / raw)
  To: horms, linux-sh, devicetree
  Cc: magnus.damm, linux, linux-arm-kernel, robh+dt, pawel.moll,
	mark.rutland, ijc+devicetree, galak

Hello.

   Here's the set of 2 patches against Simon Horman's 'renesas.git' repo,
'renesas-devel-v3.14-20140408' tag plus R8A7791/Koelsch PCI USB support patches
that I posted yesterday. Here we add the USB PHY device tree support on the
R8A779/Koelsch reference board. The patchset requires the USB PHY driver (just
re-posted) in order to work.

[1/2] ARM: shmobile: r8a7791: add USB PHY DT support
[2/2] ARM: shmobile: koelsch: enable USB PHY

WBR, Sergei

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

* [PATCH 1/2] ARM: shmobile: r8a7791: add USB PHY DT support
  2014-04-08 22:21 [PATCH 0/2] Add USB PHY DT support for R8A7791/Koelsch reference board Sergei Shtylyov
@ 2014-04-08 22:23 ` Sergei Shtylyov
  2014-04-08 22:24 ` [PATCH 2/2] ARM: shmobile: koelsch: enable USB PHY Sergei Shtylyov
  1 sibling, 0 replies; 4+ messages in thread
From: Sergei Shtylyov @ 2014-04-08 22:23 UTC (permalink / raw)
  To: horms, linux-sh, devicetree, robh+dt, pawel.moll, mark.rutland,
	ijc+devicetree, galak
  Cc: magnus.damm, linux, linux-arm-kernel

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>

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

Index: renesas/arch/arm/boot/dts/r8a7791.dtsi
===================================================================
--- renesas.orig/arch/arm/boot/dts/r8a7791.dtsi
+++ renesas/arch/arm/boot/dts/r8a7791.dtsi
@@ -502,6 +502,15 @@
 		status = "disabled";
 	};
 
+	usbphy: usb-phy@e6590100 {
+		compatible = "renesas,usb-phy-r8a7791";
+		reg = <0 0xe6590100 0 0x100>;
+		#phy-cells = <2>;
+		clocks = <&mstp7_clks R8A7791_CLK_HSUSB>;
+		clock-names = "usbhs";
+		status = "disabled";
+	};
+
 	clocks {
 		#address-cells = <2>;
 		#size-cells = <2>;

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

* [PATCH 2/2] ARM: shmobile: koelsch: enable USB PHY
  2014-04-08 22:21 [PATCH 0/2] Add USB PHY DT support for R8A7791/Koelsch reference board Sergei Shtylyov
  2014-04-08 22:23 ` [PATCH 1/2] ARM: shmobile: r8a7791: add USB PHY DT support Sergei Shtylyov
@ 2014-04-08 22:24 ` Sergei Shtylyov
  2014-04-09 14:18   ` Sergei Shtylyov
  1 sibling, 1 reply; 4+ messages in thread
From: Sergei Shtylyov @ 2014-04-08 22:24 UTC (permalink / raw)
  To: horms, linux-sh, devicetree, robh+dt, pawel.moll, mark.rutland,
	ijc+devicetree, galak
  Cc: magnus.damm, linux, linux-arm-kernel

Enable USB PHY device for the Lager board. 

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

---
 arch/arm/boot/dts/r8a7791-koelsch.dts |    4 ++++
 1 file changed, 4 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
@@ -409,3 +409,7 @@
 	pinctrl-0 = <&usb1_pins>;
 	pinctrl-names = "default";
 };
+
+&usbphy {
+	status = "okay";
+};

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

* Re: [PATCH 2/2] ARM: shmobile: koelsch: enable USB PHY
  2014-04-08 22:24 ` [PATCH 2/2] ARM: shmobile: koelsch: enable USB PHY Sergei Shtylyov
@ 2014-04-09 14:18   ` Sergei Shtylyov
  0 siblings, 0 replies; 4+ messages in thread
From: Sergei Shtylyov @ 2014-04-09 14:18 UTC (permalink / raw)
  To: horms, linux-sh, devicetree, robh+dt, pawel.moll, mark.rutland,
	ijc+devicetree, galak
  Cc: magnus.damm, linux, linux-arm-kernel

Hello.

On 04/09/2014 02:24 AM, Sergei Shtylyov wrote:

> Enable USB PHY device for the Lager board.

    Apparently, it should be Koelsch.

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

WBR, Sergei


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

end of thread, other threads:[~2014-04-09 14:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-08 22:21 [PATCH 0/2] Add USB PHY DT support for R8A7791/Koelsch reference board Sergei Shtylyov
2014-04-08 22:23 ` [PATCH 1/2] ARM: shmobile: r8a7791: add USB PHY DT support Sergei Shtylyov
2014-04-08 22:24 ` [PATCH 2/2] ARM: shmobile: koelsch: enable USB PHY Sergei Shtylyov
2014-04-09 14:18   ` Sergei Shtylyov

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).