Skip to content

Commit 331bf2f

Browse files
Fabrice GasnierPatrice Chotard
authored andcommitted
ARM: dts: stm32: overwrite usbotg_hs node for stm32mp215f-dk-u-boot.dtsi
Due to DT synchronization with kernel DT, an error is returned by typec_get_device_from_usb(). In u-boot there's no driver associated with "adc-usb-c-connector" compatible. Thus there's no point in detecting the cable as it is the power source of the board. In Linux it's used to know the power source profile (500mA, 1.5A or 3A) but it isn't used in u-boot. So remove "typec" and "port" nodes that are useless to remove the "No UCLASS_USB_TYPEC for remote-endpoint" error. Change-Id: I02efa3f00110581acb6a07470d8494cc70d539bf Signed-off-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com> Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/u-boot/+/459017 ACI: CITOOLS <MDG-smet-aci-reviews@list.st.com> Reviewed-by: Patrice CHOTARD <patrice.chotard@foss.st.com> ACI: CIBUILD <MDG-smet-aci-builds@list.st.com>
1 parent 19afe9f commit 331bf2f

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

arch/arm/dts/stm32mp215f-dk-u-boot.dtsi

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
compatible = "u-boot,fwu-mdata-gpt";
1616
fwu-mdata-store = <&sdmmc1>;
1717
};
18+
19+
/delete-node/ typec;
1820
};
1921

2022
&usart2 {
@@ -30,3 +32,7 @@
3032
bootph-all;
3133
};
3234
};
35+
36+
&usbotg_hs {
37+
/delete-node/ port;
38+
};

0 commit comments

Comments
 (0)