Skip to contentSkip to conversation

ARM: dts: stm32mp: remove hnp-srp-disable for usbotg on dk1

PATCH New Patrick Delaunay 2 participants 3 messages Jul 1, 2020 – Jul 28, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: stm32mp: remove hnp-srp-disable for usbotg on dk1

Remove hnp-srp-disable for usbotg node because this feature is only needed for usbotg in HOST mode (in drivers/usb/host/dwc2.c)
and this feature is not activated in stm32mp15 U-Boot (stm32mp15_basic_defconfig and stm32mp15_trusted_defconfig); only the device mode is activated and OTG is not supported in DWC2 driver.

This patch reduces the difference between U-Boot and Linux kernel device-tree.

---

 arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi | 1 -
 1 file changed, 1 deletion(-)
arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi +0 -1
index e13dade463..6e4e4922ab 100644
@@ -203,5 +203,4 @@
 
 &usbotg_hs {
 	u-boot,force-b-session-valid;
-	hnp-srp-disable;
 };
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/1 ARM: dts: stm32mp: remove hnp-srp-disable for usbotg on dk1

Hi Patrick

Quoted 20 lines · Patrick Delaunay

Remove hnp-srp-disable for usbotg node because this feature is only needed for usbotg in HOST mode (in drivers/usb/host/dwc2.c)
and this feature is not activated in stm32mp15 U-Boot (stm32mp15_basic_defconfig and stm32mp15_trusted_defconfig); only the device mode is activated and OTG is not supported in DWC2 driver.

This patch reduces the difference between U-Boot and Linux kernel device-tree.

---

 arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi | 1 -
 1 file changed, 1 deletion(-)
arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi +0 -0
index e13dade463..6e4e4922ab 100644

arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi line 206

Quoted 5 lines
arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi +0 -1
@@ -203,5 +203,4 @@
 
 &usbotg_hs {
 	u-boot,force-b-session-valid;
-	hnp-srp-disable;
 };

Thanks

#2 lore raw

PATCH 1/1 ARM: dts: stm32mp: remove hnp-srp-disable for usbotg on dk1

Quoted 30 lines · Patrice CHOTARD

Hi Patrick

Quoted 20 lines · Patrick Delaunay

Remove hnp-srp-disable for usbotg node because this feature is only needed for usbotg in HOST mode (in drivers/usb/host/dwc2.c)
and this feature is not activated in stm32mp15 U-Boot (stm32mp15_basic_defconfig and stm32mp15_trusted_defconfig); only the device mode is activated and OTG is not supported in DWC2 driver.

This patch reduces the difference between U-Boot and Linux kernel device-tree.

---

 arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi | 1 -
 1 file changed, 1 deletion(-)
arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi +0 -0
index e13dade463..6e4e4922ab 100644

arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi line 206

Quoted 5 lines
arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi +0 -1
@@ -203,5 +203,4 @@
 
 &usbotg_hs {
 	u-boot,force-b-session-valid;
-	hnp-srp-disable;
 };
Quoted 5 lines

Thanks
_______________________________________________
Uboot-stm32 mailing list
Uboot-stm32 at st-md-mailman.stormreply.com
https://st-md-mailman.stormreply.com/mailman/listinfo/uboot-stm32

Applied to u-boot-stm/master

Thanks

Patrice