* [PATCH v4 0/2] Add USB PHY device tree support for R8A7790/Lager board
@ 2014-09-26 20:58 Sergei Shtylyov
2014-09-26 21:00 ` [PATCH v4 1/2] ARM: shmobile: r8a7790: add USB PHY DT support Sergei Shtylyov
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Sergei Shtylyov @ 2014-09-26 20:58 UTC (permalink / raw)
To: linux-arm-kernel
Hello.
Here's the set of 2 patches against Simon Horman's 'renesas.git' repo,
'renesas-devel-20140924-v3.17-rc6' tag. Here we add the USB PHY device tree
support on the R8A7790/Lager reference board. The patchset requires the USB PHY
driver already merged by Kishon and Greg in order to work, so can be applied at
last...
[1/2] ARM: shmobile: r8a7790: add USB PHY DT support
[2/2] ARM: shmobile: lager: enable USB PHY
WBR, Sergei
^ permalink raw reply [flat|nested] 4+ messages in thread* [PATCH v4 1/2] ARM: shmobile: r8a7790: add USB PHY DT support
2014-09-26 20:58 [PATCH v4 0/2] Add USB PHY device tree support for R8A7790/Lager board Sergei Shtylyov
@ 2014-09-26 21:00 ` Sergei Shtylyov
2014-09-26 21:01 ` [PATCH v4 2/2] ARM: shmobile: lager: enable USB PHY Sergei Shtylyov
2014-09-30 5:24 ` [PATCH v4 0/2] Add USB PHY device tree support for R8A7790/Lager board Simon Horman
2 siblings, 0 replies; 4+ messages in thread
From: Sergei Shtylyov @ 2014-09-26 21:00 UTC (permalink / raw)
To: linux-arm-kernel
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>
---
Changes in version 4:
- refreshed the patch.
Changes in version 3:
- changed subnodes of the USB PHY node to be per-channel;
- changed "renesas,phy-select" property to "reg" in the subnodes, and thus added
"#address-cells" and "#size-cells" properties to the parent node;
- moved "#phy-cells" property from the parent node to the subnodes, changing its
value to <1>;
- refreshed the patch.
Changes in version 2:
- added subnodes to the USB PHY node;
- refreshed the patch.
arch/arm/boot/dts/r8a7790.dtsi | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
Index: renesas/arch/arm/boot/dts/r8a7790.dtsi
===================================================================
--- renesas.orig/arch/arm/boot/dts/r8a7790.dtsi
+++ renesas/arch/arm/boot/dts/r8a7790.dtsi
@@ -600,6 +600,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>;
+ };
+ };
+
clocks {
#address-cells = <2>;
#size-cells = <2>;
^ permalink raw reply [flat|nested] 4+ messages in thread* [PATCH v4 2/2] ARM: shmobile: lager: enable USB PHY
2014-09-26 20:58 [PATCH v4 0/2] Add USB PHY device tree support for R8A7790/Lager board Sergei Shtylyov
2014-09-26 21:00 ` [PATCH v4 1/2] ARM: shmobile: r8a7790: add USB PHY DT support Sergei Shtylyov
@ 2014-09-26 21:01 ` Sergei Shtylyov
2014-09-30 5:24 ` [PATCH v4 0/2] Add USB PHY device tree support for R8A7790/Lager board Simon Horman
2 siblings, 0 replies; 4+ messages in thread
From: Sergei Shtylyov @ 2014-09-26 21:01 UTC (permalink / raw)
To: linux-arm-kernel
Enable USB PHY device for the Lager board.
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
---
Changes in version 4:
- refreshed the patch.
Changes in version 3:
- refreshed the patch.
Changes in version 2:
- refreshed the patch.
arch/arm/boot/dts/r8a7790-lager.dts | 4 ++++
1 file changed, 4 insertions(+)
Index: renesas/arch/arm/boot/dts/r8a7790-lager.dts
===================================================================
--- renesas.orig/arch/arm/boot/dts/r8a7790-lager.dts
+++ renesas/arch/arm/boot/dts/r8a7790-lager.dts
@@ -424,6 +424,10 @@
pinctrl-names = "default";
};
+&usbphy {
+ status = "okay";
+};
+
/* composite video input */
&vin1 {
pinctrl-0 = <&vin1_pins>;
^ permalink raw reply [flat|nested] 4+ messages in thread* [PATCH v4 0/2] Add USB PHY device tree support for R8A7790/Lager board
2014-09-26 20:58 [PATCH v4 0/2] Add USB PHY device tree support for R8A7790/Lager board Sergei Shtylyov
2014-09-26 21:00 ` [PATCH v4 1/2] ARM: shmobile: r8a7790: add USB PHY DT support Sergei Shtylyov
2014-09-26 21:01 ` [PATCH v4 2/2] ARM: shmobile: lager: enable USB PHY Sergei Shtylyov
@ 2014-09-30 5:24 ` Simon Horman
2 siblings, 0 replies; 4+ messages in thread
From: Simon Horman @ 2014-09-30 5:24 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, Sep 26, 2014 at 01:58:01PM -0700, Sergei Shtylyov wrote:
> Hello.
>
> Here's the set of 2 patches against Simon Horman's 'renesas.git' repo,
> 'renesas-devel-20140924-v3.17-rc6' tag. Here we add the USB PHY device tree
> support on the R8A7790/Lager reference board. The patchset requires the USB PHY
> driver already merged by Kishon and Greg in order to work, so can be applied at
> last...
>
> [1/2] ARM: shmobile: r8a7790: add USB PHY DT support
> [2/2] ARM: shmobile: lager: enable USB PHY
Thanks, I have queued these up.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-09-30 5:24 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-26 20:58 [PATCH v4 0/2] Add USB PHY device tree support for R8A7790/Lager board Sergei Shtylyov
2014-09-26 21:00 ` [PATCH v4 1/2] ARM: shmobile: r8a7790: add USB PHY DT support Sergei Shtylyov
2014-09-26 21:01 ` [PATCH v4 2/2] ARM: shmobile: lager: enable USB PHY Sergei Shtylyov
2014-09-30 5:24 ` [PATCH v4 0/2] Add USB PHY device tree support for R8A7790/Lager 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).