Re: [PATCH] ARM: dts: stm32: Add USB OTG pinctrl and regulator nodes into SPL DT on DHCOR

Marek Vasut
2022-03-11T09:18:49Z

On 1/31/22 09:22, Patrice CHOTARD wrote:
> Hi Marek

Hi,

> On 1/28/22 19:35, Marek Vasut wrote:
>> Fix the following warning in SPL and make sure that even DTs which
>> enforce Vbus detection using u-boot,force-vbus-detection;, the DFU
>> in SPL will work.
>>
>> dwc2-udc-otg usb-otg@49000000: prop pinctrl-0 index 0 invalid phandle
>>
>> Signed-off-by: Marek Vasut <marex@denx.de>
>> Cc: Patrice Chotard <patrice.chotard@foss.st.com>
>> Cc: Patrick Delaunay <patrick.delaunay@foss.st.com>
>> ---
>> arch/arm/dts/stm32mp15xx-dhcor-u-boot.dtsi | 8 ++++++++
>> 1 file changed, 8 insertions(+)
>>
>> diff --git a/arch/arm/dts/stm32mp15xx-dhcor-u-boot.dtsi b/arch/arm/dts/stm32mp15xx-dhcor-u-boot.dtsi
>> index 71375510b4a..ff9ca625bf5 100644
>> --- a/arch/arm/dts/stm32mp15xx-dhcor-u-boot.dtsi
>> +++ b/arch/arm/dts/stm32mp15xx-dhcor-u-boot.dtsi
>> @@ -171,6 +171,14 @@
>> u-boot,dm-spl;
>> };
>>
>> +&usb33 {
>> + u-boot,dm-spl;
>> +};
>> +
>> +&usbotg_hs_pins_a {
>> + u-boot,dm-spl;
>> +};
>> +
>> &usbotg_hs {
>> u-boot,dm-spl;
>> };
> Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>

This seems to have been missed and should be part of this upcoming release.