devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH][v4.0-rc] ARM: dts: dra7x-evm: beagle-x15: Fix USB Host
@ 2015-02-24 12:37 Roger Quadros
  2015-02-24 18:03 ` Tony Lindgren
  0 siblings, 1 reply; 3+ messages in thread
From: Roger Quadros @ 2015-02-24 12:37 UTC (permalink / raw)
  To: tony-4v6yS6AI5VpBDgjK7y7TUQ
  Cc: balbi-l0cyMroinI0, nsekhar-l0cyMroinI0, nm-l0cyMroinI0,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-omap-u79uwXL29TY76Z2rM5mHXA, Roger Quadros

In commit 87517d26d888 ("ARM: dts: dra7-evm: Add extcon nodes for USB")
we enabled Extcon USB gpio to tackle the USB ID pin and get
peripheral mode to work.

But the extcon-gpio-usb driver [1] didn't make it into v4.0
and this makes the USB driver defer probe indefinitely breaking
USB Host functionality.

As a temporary fix we remove the extcon handle from the
USB controller and add it back when the extcon driver
merges in v4.1.

[1] - https://lkml.org/lkml/2015/2/2/187

Signed-off-by: Roger Quadros <rogerq-l0cyMroinI0@public.gmane.org>
---
 arch/arm/boot/dts/am57xx-beagle-x15.dts | 8 --------
 arch/arm/boot/dts/dra7-evm.dts          | 8 --------
 arch/arm/boot/dts/dra72-evm.dts         | 8 --------
 3 files changed, 24 deletions(-)

diff --git a/arch/arm/boot/dts/am57xx-beagle-x15.dts b/arch/arm/boot/dts/am57xx-beagle-x15.dts
index 03750af..6463f9e 100644
--- a/arch/arm/boot/dts/am57xx-beagle-x15.dts
+++ b/arch/arm/boot/dts/am57xx-beagle-x15.dts
@@ -549,14 +549,6 @@
 	pinctrl-0 = <&usb1_pins>;
 };
 
-&omap_dwc3_1 {
-	extcon = <&extcon_usb1>;
-};
-
-&omap_dwc3_2 {
-	extcon = <&extcon_usb2>;
-};
-
 &usb2 {
 	dr_mode = "peripheral";
 };
diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts
index 746cddb..3290a96 100644
--- a/arch/arm/boot/dts/dra7-evm.dts
+++ b/arch/arm/boot/dts/dra7-evm.dts
@@ -543,14 +543,6 @@
 	};
 };
 
-&omap_dwc3_1 {
-	extcon = <&extcon_usb1>;
-};
-
-&omap_dwc3_2 {
-	extcon = <&extcon_usb2>;
-};
-
 &usb1 {
 	dr_mode = "peripheral";
 	pinctrl-names = "default";
diff --git a/arch/arm/boot/dts/dra72-evm.dts b/arch/arm/boot/dts/dra72-evm.dts
index 4d87117..e0264d0 100644
--- a/arch/arm/boot/dts/dra72-evm.dts
+++ b/arch/arm/boot/dts/dra72-evm.dts
@@ -380,14 +380,6 @@
 	phy-supply = <&ldo4_reg>;
 };
 
-&omap_dwc3_1 {
-	extcon = <&extcon_usb1>;
-};
-
-&omap_dwc3_2 {
-	extcon = <&extcon_usb2>;
-};
-
 &usb1 {
 	dr_mode = "peripheral";
 	pinctrl-names = "default";
-- 
2.1.0

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [PATCH][v4.0-rc] ARM: dts: dra7x-evm: beagle-x15: Fix USB Host
  2015-02-24 12:37 [PATCH][v4.0-rc] ARM: dts: dra7x-evm: beagle-x15: Fix USB Host Roger Quadros
@ 2015-02-24 18:03 ` Tony Lindgren
  2015-02-25  9:51   ` Roger Quadros
  0 siblings, 1 reply; 3+ messages in thread
From: Tony Lindgren @ 2015-02-24 18:03 UTC (permalink / raw)
  To: Roger Quadros; +Cc: balbi, nsekhar, nm, devicetree, linux-omap

* Roger Quadros <rogerq@ti.com> [150224 04:40]:
> In commit 87517d26d888 ("ARM: dts: dra7-evm: Add extcon nodes for USB")
> we enabled Extcon USB gpio to tackle the USB ID pin and get
> peripheral mode to work.
> 
> But the extcon-gpio-usb driver [1] didn't make it into v4.0
> and this makes the USB driver defer probe indefinitely breaking
> USB Host functionality.
> 
> As a temporary fix we remove the extcon handle from the
> USB controller and add it back when the extcon driver
> merges in v4.1.

Uhh OK, If there are dependencies, can you please start splitting
your patches so the dts changes that cause issues are sent only
after the related driver changes are in Linux next?

Anyways, applying into omap-for-v4.0/fixes.

Tony
 
> [1] - https://lkml.org/lkml/2015/2/2/187

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

* Re: [PATCH][v4.0-rc] ARM: dts: dra7x-evm: beagle-x15: Fix USB Host
  2015-02-24 18:03 ` Tony Lindgren
@ 2015-02-25  9:51   ` Roger Quadros
  0 siblings, 0 replies; 3+ messages in thread
From: Roger Quadros @ 2015-02-25  9:51 UTC (permalink / raw)
  To: Tony Lindgren; +Cc: balbi, nsekhar, nm, devicetree, linux-omap

On 24/02/15 20:03, Tony Lindgren wrote:
> * Roger Quadros <rogerq@ti.com> [150224 04:40]:
>> In commit 87517d26d888 ("ARM: dts: dra7-evm: Add extcon nodes for USB")
>> we enabled Extcon USB gpio to tackle the USB ID pin and get
>> peripheral mode to work.
>>
>> But the extcon-gpio-usb driver [1] didn't make it into v4.0
>> and this makes the USB driver defer probe indefinitely breaking
>> USB Host functionality.
>>
>> As a temporary fix we remove the extcon handle from the
>> USB controller and add it back when the extcon driver
>> merges in v4.1.
> 
> Uhh OK, If there are dependencies, can you please start splitting
> your patches so the dts changes that cause issues are sent only
> after the related driver changes are in Linux next?

Sure. Will be more careful next time.

> 
> Anyways, applying into omap-for-v4.0/fixes.

Thanks.

cheers,
-roger

>  
>> [1] - https://lkml.org/lkml/2015/2/2/187


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

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

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-24 12:37 [PATCH][v4.0-rc] ARM: dts: dra7x-evm: beagle-x15: Fix USB Host Roger Quadros
2015-02-24 18:03 ` Tony Lindgren
2015-02-25  9:51   ` Roger Quadros

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