Re: [PATCH 2/3] ARM: dts: imx6: pbab01: Set USB OTG port to peripheral

2021-03-29 Thread Fabio Estevam
On Mon, Mar 29, 2021 at 8:28 AM Stefan Riedmueller
 wrote:
>
> Due to a hardware bug preventing the correct detection if the ID pin
> the USB OTG port cannot be used in otg mode. It can either be set to
> host or peripheral. Set it to peripheral so vbus is disabled by default.
>
> Signed-off-by: Stefan Riedmueller 

Reviewed-by: Fabio Estevam 


[PATCH 2/3] ARM: dts: imx6: pbab01: Set USB OTG port to peripheral

2021-03-29 Thread Stefan Riedmueller
Due to a hardware bug preventing the correct detection if the ID pin
the USB OTG port cannot be used in otg mode. It can either be set to
host or peripheral. Set it to peripheral so vbus is disabled by default.

Signed-off-by: Stefan Riedmueller 
---
 arch/arm/boot/dts/imx6qdl-phytec-pbab01.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/imx6qdl-phytec-pbab01.dtsi 
b/arch/arm/boot/dts/imx6qdl-phytec-pbab01.dtsi
index d434868e870a..b2f78b4362cb 100644
--- a/arch/arm/boot/dts/imx6qdl-phytec-pbab01.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-phytec-pbab01.dtsi
@@ -164,6 +164,7 @@ &usbh1 {
 
 &usbotg {
status = "okay";
+   dr_mode = "peripheral";
 };
 
 &usdhc2 {
-- 
2.25.1