diff mbox series

[2/2] configs: stm32mp13: Increase usb_pgood_delay for ST boards

Message ID 20230316070343.1074010-2-patrice.chotard@foss.st.com
State Accepted
Commit ac31663c9caebcec558104dddb8d8a407356e2be
Delegated to: Patrice Chotard
Headers show
Series [1/2] configs: stm32mp15: Add usb_pgood_delay for ST boards | expand

Commit Message

Patrice Chotard March 16, 2023, 7:03 a.m. UTC
With some USB device, the current usb_pgood_delay value is not long
enough to ensure a correct detection.

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

 include/configs/stm32mp13_st_common.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Patrick DELAUNAY April 17, 2023, 3:35 p.m. UTC | #1
Hi,

On 3/16/23 08:03, Patrice Chotard wrote:
> With some USB device, the current usb_pgood_delay value is not long
> enough to ensure a correct detection.
>
> Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
> ---
>
>   include/configs/stm32mp13_st_common.h | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/configs/stm32mp13_st_common.h b/include/configs/stm32mp13_st_common.h
> index ad8126f6103..20ec11477d6 100644
> --- a/include/configs/stm32mp13_st_common.h
> +++ b/include/configs/stm32mp13_st_common.h
> @@ -9,7 +9,7 @@
>   #define __CONFIG_STM32MP13_ST_COMMON_H__
>   
>   #define STM32MP_BOARD_EXTRA_ENV \
> -	"usb_pgood_delay=1000\0" \
> +	"usb_pgood_delay=2000\0" \
>   	"console=ttySTM0\0"
>   
>   #include <configs/stm32mp13_common.h>




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

Thanks
Patrick
Patrice Chotard April 19, 2023, 7:48 a.m. UTC | #2
On 3/16/23 08:03, Patrice Chotard wrote:
> With some USB device, the current usb_pgood_delay value is not long
> enough to ensure a correct detection.
> 
> Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
> ---
> 
>  include/configs/stm32mp13_st_common.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/configs/stm32mp13_st_common.h b/include/configs/stm32mp13_st_common.h
> index ad8126f6103..20ec11477d6 100644
> --- a/include/configs/stm32mp13_st_common.h
> +++ b/include/configs/stm32mp13_st_common.h
> @@ -9,7 +9,7 @@
>  #define __CONFIG_STM32MP13_ST_COMMON_H__
>  
>  #define STM32MP_BOARD_EXTRA_ENV \
> -	"usb_pgood_delay=1000\0" \
> +	"usb_pgood_delay=2000\0" \
>  	"console=ttySTM0\0"
>  
>  #include <configs/stm32mp13_common.h>

Applied on u-boot-stm/master, thanks.

Patrice
diff mbox series

Patch

diff --git a/include/configs/stm32mp13_st_common.h b/include/configs/stm32mp13_st_common.h
index ad8126f6103..20ec11477d6 100644
--- a/include/configs/stm32mp13_st_common.h
+++ b/include/configs/stm32mp13_st_common.h
@@ -9,7 +9,7 @@ 
 #define __CONFIG_STM32MP13_ST_COMMON_H__
 
 #define STM32MP_BOARD_EXTRA_ENV \
-	"usb_pgood_delay=1000\0" \
+	"usb_pgood_delay=2000\0" \
 	"console=ttySTM0\0"
 
 #include <configs/stm32mp13_common.h>