* [PATCH 0/1] ARM: dts: dra7x-evm: Enable dual-role mode for USB1 @ 2017-04-11 13:16 Roger Quadros [not found] ` <1491916575-16023-1-git-send-email-rogerq-l0cyMroinI0@public.gmane.org> 0 siblings, 1 reply; 3+ messages in thread From: Roger Quadros @ 2017-04-11 13:16 UTC (permalink / raw) To: tony-4v6yS6AI5VpBDgjK7y7TUQ Cc: linux-omap-u79uwXL29TY76Z2rM5mHXA, devicetree-u79uwXL29TY76Z2rM5mHXA, linux-kernel-u79uwXL29TY76Z2rM5mHXA, Roger Quadros Hi Tony, Dual role support for DWC3 is now in usb/next. With this patch we can utilize dual-role mode on dra7x boards. Please queue for -next. Thanks. cheers, -roger Roger Quadros (1): ARM: dts: dra7x-evm: Enable dual-role mode for USB1 arch/arm/boot/dts/dra7-evm.dts | 3 ++- arch/arm/boot/dts/dra72-evm-common.dtsi | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) -- 2.7.4 -- 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 [flat|nested] 3+ messages in thread
[parent not found: <1491916575-16023-1-git-send-email-rogerq-l0cyMroinI0@public.gmane.org>]
* [PATCH 1/1] ARM: dts: dra7x-evm: Enable dual-role mode for USB1 [not found] ` <1491916575-16023-1-git-send-email-rogerq-l0cyMroinI0@public.gmane.org> @ 2017-04-11 13:16 ` Roger Quadros [not found] ` <1491916575-16023-2-git-send-email-rogerq-l0cyMroinI0@public.gmane.org> 0 siblings, 1 reply; 3+ messages in thread From: Roger Quadros @ 2017-04-11 13:16 UTC (permalink / raw) To: tony-4v6yS6AI5VpBDgjK7y7TUQ Cc: linux-omap-u79uwXL29TY76Z2rM5mHXA, devicetree-u79uwXL29TY76Z2rM5mHXA, linux-kernel-u79uwXL29TY76Z2rM5mHXA, Roger Quadros, Sekhar Nori USB1 port is micro-AB type and can function as peripheral as well as host. Enable dual-role mode for USB1. We don't want to use the OTG controller block on this platform as it limits host mode to high-speed. Instead we rely on extcon framework to give us ID events for dual-role mode detection. Signed-off-by: Roger Quadros <rogerq-l0cyMroinI0@public.gmane.org> Signed-off-by: Sekhar Nori <nsekhar-l0cyMroinI0@public.gmane.org> --- arch/arm/boot/dts/dra7-evm.dts | 3 ++- arch/arm/boot/dts/dra72-evm-common.dtsi | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts index 4bc4b57..c408aaa 100644 --- a/arch/arm/boot/dts/dra7-evm.dts +++ b/arch/arm/boot/dts/dra7-evm.dts @@ -527,7 +527,8 @@ }; &usb1 { - dr_mode = "peripheral"; + dr_mode = "otg"; + extcon = <&extcon_usb1>; }; &usb2 { diff --git a/arch/arm/boot/dts/dra72-evm-common.dtsi b/arch/arm/boot/dts/dra72-evm-common.dtsi index ad24544..8578054 100644 --- a/arch/arm/boot/dts/dra72-evm-common.dtsi +++ b/arch/arm/boot/dts/dra72-evm-common.dtsi @@ -392,7 +392,8 @@ }; &usb1 { - dr_mode = "peripheral"; + dr_mode = "otg"; + extcon = <&extcon_usb1>; }; &usb2 { -- 2.7.4 -- 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
[parent not found: <1491916575-16023-2-git-send-email-rogerq-l0cyMroinI0@public.gmane.org>]
* Re: [PATCH 1/1] ARM: dts: dra7x-evm: Enable dual-role mode for USB1 [not found] ` <1491916575-16023-2-git-send-email-rogerq-l0cyMroinI0@public.gmane.org> @ 2017-05-16 16:24 ` Tony Lindgren 0 siblings, 0 replies; 3+ messages in thread From: Tony Lindgren @ 2017-05-16 16:24 UTC (permalink / raw) To: Roger Quadros Cc: linux-omap-u79uwXL29TY76Z2rM5mHXA, devicetree-u79uwXL29TY76Z2rM5mHXA, linux-kernel-u79uwXL29TY76Z2rM5mHXA, Sekhar Nori * Roger Quadros <rogerq-l0cyMroinI0@public.gmane.org> [170411 06:19]: > USB1 port is micro-AB type and can function as peripheral > as well as host. Enable dual-role mode for USB1. > > We don't want to use the OTG controller block on this > platform as it limits host mode to high-speed. Instead > we rely on extcon framework to give us ID events for > dual-role mode detection. Applying into omap-for-v4.13/dt thanks. Tony -- 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 [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-05-16 16:24 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2017-04-11 13:16 [PATCH 0/1] ARM: dts: dra7x-evm: Enable dual-role mode for USB1 Roger Quadros [not found] ` <1491916575-16023-1-git-send-email-rogerq-l0cyMroinI0@public.gmane.org> 2017-04-11 13:16 ` [PATCH 1/1] " Roger Quadros [not found] ` <1491916575-16023-2-git-send-email-rogerq-l0cyMroinI0@public.gmane.org> 2017-05-16 16:24 ` Tony Lindgren
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).