diff mbox series

[v1,2/6] ARM: dts: stm32: force b-session-valid for otg on stm32mp135f-dk board

Message ID 20230926150924.1150082-3-patrice.chotard@foss.st.com
State Accepted
Commit 46b4d6fe18b00bc0a784351a7df1701fe68cb58f
Delegated to: Patrick Delaunay
Headers show
Series stm32mp: DT and config update | expand

Commit Message

Patrice CHOTARD Sept. 26, 2023, 3:09 p.m. UTC
From: Fabrice Gasnier <fabrice.gasnier@foss.st.com>

stm32mp135f-dk board has a type-c connector to retrieve the connection
state. For now, simply force an active peripheral mode in u-boot for
flashing.

Signed-off-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
---

 arch/arm/dts/stm32mp135f-dk-u-boot.dtsi | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Patrick Delaunay Oct. 4, 2023, 9:55 a.m. UTC | #1
Hi,

On 9/26/23 17:09, Patrice Chotard wrote:
> From: Fabrice Gasnier <fabrice.gasnier@foss.st.com>
>
> stm32mp135f-dk board has a type-c connector to retrieve the connection
> state. For now, simply force an active peripheral mode in u-boot for
> flashing.
>
> Signed-off-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com>
> Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
> ---
>
>   arch/arm/dts/stm32mp135f-dk-u-boot.dtsi | 4 ++++
>   1 file changed, 4 insertions(+)
>
> diff --git a/arch/arm/dts/stm32mp135f-dk-u-boot.dtsi b/arch/arm/dts/stm32mp135f-dk-u-boot.dtsi
> index 48605ff8bbe..ba0c02489d1 100644
> --- a/arch/arm/dts/stm32mp135f-dk-u-boot.dtsi
> +++ b/arch/arm/dts/stm32mp135f-dk-u-boot.dtsi
> @@ -38,3 +38,7 @@
>   		bootph-all;
>   	};
>   };
> +
> +&usbotg_hs {
> +	u-boot,force-b-session-valid;
> +};



Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>

Thanks
Patrick
Patrice CHOTARD Oct. 4, 2023, 11:39 a.m. UTC | #2
On 10/4/23 11:55, Patrick DELAUNAY wrote:
> Hi,
> 
> On 9/26/23 17:09, Patrice Chotard wrote:
>> From: Fabrice Gasnier <fabrice.gasnier@foss.st.com>
>>
>> stm32mp135f-dk board has a type-c connector to retrieve the connection
>> state. For now, simply force an active peripheral mode in u-boot for
>> flashing.
>>
>> Signed-off-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com>
>> Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
>> ---
>>
>>   arch/arm/dts/stm32mp135f-dk-u-boot.dtsi | 4 ++++
>>   1 file changed, 4 insertions(+)
>>
>> diff --git a/arch/arm/dts/stm32mp135f-dk-u-boot.dtsi b/arch/arm/dts/stm32mp135f-dk-u-boot.dtsi
>> index 48605ff8bbe..ba0c02489d1 100644
>> --- a/arch/arm/dts/stm32mp135f-dk-u-boot.dtsi
>> +++ b/arch/arm/dts/stm32mp135f-dk-u-boot.dtsi
>> @@ -38,3 +38,7 @@
>>           bootph-all;
>>       };
>>   };
>> +
>> +&usbotg_hs {
>> +    u-boot,force-b-session-valid;
>> +};
> 
> 
> 
> Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
> 
> Thanks
> Patrick
> 
> 
> 
Apply on stm32/next

Thanks
Patrice
diff mbox series

Patch

diff --git a/arch/arm/dts/stm32mp135f-dk-u-boot.dtsi b/arch/arm/dts/stm32mp135f-dk-u-boot.dtsi
index 48605ff8bbe..ba0c02489d1 100644
--- a/arch/arm/dts/stm32mp135f-dk-u-boot.dtsi
+++ b/arch/arm/dts/stm32mp135f-dk-u-boot.dtsi
@@ -38,3 +38,7 @@ 
 		bootph-all;
 	};
 };
+
+&usbotg_hs {
+	u-boot,force-b-session-valid;
+};