Skip to contentSkip to conversation

ARM: dts: omap3-beagle: Adapt USB OTG to generic PHY framework

PATCH In review Roger Quadros 3 participants 4 messages Oct 7, 2013 – Oct 18, 2013 Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: omap3-beagle: Adapt USB OTG to generic PHY framework

The generic PHY framewrok expects different properties than the old USB PHY framework. Supply those properties.

Fixes USB OTG port on beagle after the Generic PHY framework was merged in greg/usb-next. [1]

[1] - https://lkml.org/lkml/2013/9/27/581

---
 arch/arm/boot/dts/omap3-beagle.dts |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
arch/arm/boot/dts/omap3-beagle.dts +2 -0
index 7669c16..fa532aa 100644
@@ -173,6 +173,8 @@
 &usb_otg_hs {
 	interface-type = <0>;
 	usb-phy = <&usb2_phy>;
+	phys = <&usb2_phy>;
+	phy-names = "usb2-phy";
 	mode = <3>;
 	power = <50>;
 };
Signature · 1 line
1.7.4.1
Acked-by on v1 1/1
#1 lore raw
Quoted 9 lines · Roger Quadros

The generic PHY framewrok expects different properties than the old USB PHY framework. Supply those properties.

Fixes USB OTG port on beagle after the Generic PHY framework was merged in greg/usb-next. [1]

[1] - https://lkml.org/lkml/2013/9/27/581

Signature · 8 lines
balbi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20131010/4f4eb2e6/attachment.sig>
#2 lore raw
In reply to Roger Quadros

Hi Benoit,

Could you please include this one for 3.13? Without this OTG port will be broken for beagle. Thanks.

cheers,
-roger

Quoted 27 lines · Roger Quadros

The generic PHY framewrok expects different properties than the old USB PHY framework. Supply those properties.

Fixes USB OTG port on beagle after the Generic PHY framework was merged in greg/usb-next. [1]

[1] - https://lkml.org/lkml/2013/9/27/581

---
 arch/arm/boot/dts/omap3-beagle.dts |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
arch/arm/boot/dts/omap3-beagle.dts +2 -0
index 7669c16..fa532aa 100644
@@ -173,6 +173,8 @@
 &usb_otg_hs {
 	interface-type = <0>;
 	usb-phy = <&usb2_phy>;
+	phys = <&usb2_phy>;
+	phy-names = "usb2-phy";
 	mode = <3>;
 	power = <50>;
 };
#3 lore raw

Hi Roger,

Quoted 5 lines · Roger Quadros

Hi Benoit,

Could you please include this one for 3.13? Without this OTG port will be broken for beagle. Thanks.

I've just applied it.

Thanks,
Benoit

Quoted 32 lines

cheers,
-roger

Quoted 27 lines · Roger Quadros

The generic PHY framewrok expects different properties than the old USB PHY framework. Supply those properties.

Fixes USB OTG port on beagle after the Generic PHY framework was merged in greg/usb-next. [1]

[1] - https://lkml.org/lkml/2013/9/27/581

---
  arch/arm/boot/dts/omap3-beagle.dts |    2 ++
  1 files changed, 2 insertions(+), 0 deletions(-)
arch/arm/boot/dts/omap3-beagle.dts +2 -0
index 7669c16..fa532aa 100644
@@ -173,6 +173,8 @@
  &usb_otg_hs {
  	interface-type = <0>;
  	usb-phy = <&usb2_phy>;
+	phys = <&usb2_phy>;
+	phy-names = "usb2-phy";
  	mode = <3>;
  	power = <50>;
  };
Signature · 4 lines
Beno?t Cousson
BayLibre
Embedded Linux Technology Lab
www.baylibre.com