linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Add USB PHY device tree support for R8A7794/SILK board
@ 2015-10-01 22:03 Sergei Shtylyov
  2015-10-01 22:05 ` [PATCH v2 1/2] ARM: shmobile: r8a7794: add USB PHY DT support Sergei Shtylyov
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Sergei Shtylyov @ 2015-10-01 22:03 UTC (permalink / raw)
  To: linux-arm-kernel

Hello.

   Here's the set of 2 patches against Simon Horman's 'renesas.git' repo's
'renesas-devel-20151001-v4.3-rc3' tag. Here we add the USB PHY device tree
support on the R8A7794/SILK low cost board.

[1/2] ARM: shmobile: r8a7794: add USB PHY DT support
[2/2] ARM: shmobile: silk: enable USB PHY

WBR, Sergei


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

* [PATCH v2 1/2] ARM: shmobile: r8a7794: add USB PHY DT support
  2015-10-01 22:03 [PATCH v2 0/2] Add USB PHY device tree support for R8A7794/SILK board Sergei Shtylyov
@ 2015-10-01 22:05 ` Sergei Shtylyov
  2015-10-01 22:06 ` [PATCH v2 2/2] ARM: shmobile: silk: enable USB PHY Sergei Shtylyov
  2015-10-02  1:25 ` [PATCH v2 0/2] Add USB PHY device tree support for R8A7794/SILK board Simon Horman
  2 siblings, 0 replies; 4+ messages in thread
From: Sergei Shtylyov @ 2015-10-01 22:05 UTC (permalink / raw)
  To: linux-arm-kernel

Define the R8A7794 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>

---
Changes in version 2:
- added the "power-domains" property.

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

Index: renesas/arch/arm/boot/dts/r8a7794.dtsi
=================================--- renesas.orig/arch/arm/boot/dts/r8a7794.dtsi
+++ renesas/arch/arm/boot/dts/r8a7794.dtsi
@@ -690,6 +690,26 @@
 				 0x1000 0 0 2 &gic 0 113 IRQ_TYPE_LEVEL_HIGH>;
 	};
 
+	usbphy: usb-phy@e6590100 {
+		compatible = "renesas,usb-phy-r8a7794";
+		reg = <0 0xe6590100 0 0x100>;
+		#address-cells = <1>;
+		#size-cells = <0>;
+		clocks = <&mstp7_clks R8A7794_CLK_HSUSB>;
+		clock-names = "usbhs";
+		power-domains = <&cpg_clocks>;
+		status = "disabled";
+
+		usb0: usb-channel@0 {
+			reg = <0>;
+			#phy-cells = <1>;
+		};
+		usb2: usb-channel@2 {
+			reg = <2>;
+			#phy-cells = <1>;
+		};
+	};
+
 	clocks {
 		#address-cells = <2>;
 		#size-cells = <2>;


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

* [PATCH v2 2/2] ARM: shmobile: silk: enable USB PHY
  2015-10-01 22:03 [PATCH v2 0/2] Add USB PHY device tree support for R8A7794/SILK board Sergei Shtylyov
  2015-10-01 22:05 ` [PATCH v2 1/2] ARM: shmobile: r8a7794: add USB PHY DT support Sergei Shtylyov
@ 2015-10-01 22:06 ` Sergei Shtylyov
  2015-10-02  1:25 ` [PATCH v2 0/2] Add USB PHY device tree support for R8A7794/SILK board Simon Horman
  2 siblings, 0 replies; 4+ messages in thread
From: Sergei Shtylyov @ 2015-10-01 22:06 UTC (permalink / raw)
  To: linux-arm-kernel

Enable USB PHY device for the SILK board.

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

---
 arch/arm/boot/dts/r8a7794-silk.dts |    4 ++++
 1 file changed, 4 insertions(+)

Index: renesas/arch/arm/boot/dts/r8a7794-silk.dts
=================================--- renesas.orig/arch/arm/boot/dts/r8a7794-silk.dts
+++ renesas/arch/arm/boot/dts/r8a7794-silk.dts
@@ -210,3 +210,7 @@
 	pinctrl-0 = <&usb1_pins>;
 	pinctrl-names = "default";
 };
+
+&usbphy {
+	status = "okay";
+};


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

* Re: [PATCH v2 0/2] Add USB PHY device tree support for R8A7794/SILK board
  2015-10-01 22:03 [PATCH v2 0/2] Add USB PHY device tree support for R8A7794/SILK board Sergei Shtylyov
  2015-10-01 22:05 ` [PATCH v2 1/2] ARM: shmobile: r8a7794: add USB PHY DT support Sergei Shtylyov
  2015-10-01 22:06 ` [PATCH v2 2/2] ARM: shmobile: silk: enable USB PHY Sergei Shtylyov
@ 2015-10-02  1:25 ` Simon Horman
  2 siblings, 0 replies; 4+ messages in thread
From: Simon Horman @ 2015-10-02  1:25 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Sergei,

On Fri, Oct 02, 2015 at 01:03:41AM +0300, Sergei Shtylyov wrote:
> Hello.
> 
>    Here's the set of 2 patches against Simon Horman's 'renesas.git' repo's
> 'renesas-devel-20151001-v4.3-rc3' tag. Here we add the USB PHY device tree
> support on the R8A7794/SILK low cost board.
> 
> [1/2] ARM: shmobile: r8a7794: add USB PHY DT support
> [2/2] ARM: shmobile: silk: enable USB PHY

Thanks, I have queued these up for v4.4.

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

end of thread, other threads:[~2015-10-02  1:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-01 22:03 [PATCH v2 0/2] Add USB PHY device tree support for R8A7794/SILK board Sergei Shtylyov
2015-10-01 22:05 ` [PATCH v2 1/2] ARM: shmobile: r8a7794: add USB PHY DT support Sergei Shtylyov
2015-10-01 22:06 ` [PATCH v2 2/2] ARM: shmobile: silk: enable USB PHY Sergei Shtylyov
2015-10-02  1:25 ` [PATCH v2 0/2] Add USB PHY device tree support for R8A7794/SILK board Simon Horman

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