u-boot.lists.denx.de archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] configs: stm32mp15: Add usb_pgood_delay for ST boards
@ 2023-03-16  7:03 Patrice Chotard
  2023-03-16  7:03 ` [PATCH 2/2] configs: stm32mp13: Increase " Patrice Chotard
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Patrice Chotard @ 2023-03-16  7:03 UTC (permalink / raw)
  To: u-boot; +Cc: Patrice CHOTARD, Patrick DELAUNAY, U-Boot STM32

Add usb_pgood_delay to ensure a correct detection of USB devices.

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

 include/configs/stm32mp15_st_common.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/configs/stm32mp15_st_common.h b/include/configs/stm32mp15_st_common.h
index d0cd4130cec..866cd7a719f 100644
--- a/include/configs/stm32mp15_st_common.h
+++ b/include/configs/stm32mp15_st_common.h
@@ -9,6 +9,7 @@
 #define __CONFIG_STM32MP15_ST_COMMON_H__
 
 #define STM32MP_BOARD_EXTRA_ENV \
+	"usb_pgood_delay=2000\0" \
 	"console=ttySTM0\0"
 
 #include <configs/stm32mp15_common.h>
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 2/2] configs: stm32mp13: Increase usb_pgood_delay for ST boards
  2023-03-16  7:03 [PATCH 1/2] configs: stm32mp15: Add usb_pgood_delay for ST boards Patrice Chotard
@ 2023-03-16  7:03 ` Patrice Chotard
  2023-04-17 15:35   ` Patrick DELAUNAY
  2023-04-19  7:48   ` Patrice CHOTARD
  2023-04-17 15:35 ` [PATCH 1/2] configs: stm32mp15: Add " Patrick DELAUNAY
  2023-04-19  7:48 ` Patrice CHOTARD
  2 siblings, 2 replies; 6+ messages in thread
From: Patrice Chotard @ 2023-03-16  7:03 UTC (permalink / raw)
  To: u-boot; +Cc: Patrice CHOTARD, Patrick DELAUNAY, U-Boot STM32

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>
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH 1/2] configs: stm32mp15: Add usb_pgood_delay for ST boards
  2023-03-16  7:03 [PATCH 1/2] configs: stm32mp15: Add usb_pgood_delay for ST boards Patrice Chotard
  2023-03-16  7:03 ` [PATCH 2/2] configs: stm32mp13: Increase " Patrice Chotard
@ 2023-04-17 15:35 ` Patrick DELAUNAY
  2023-04-19  7:48 ` Patrice CHOTARD
  2 siblings, 0 replies; 6+ messages in thread
From: Patrick DELAUNAY @ 2023-04-17 15:35 UTC (permalink / raw)
  To: Patrice Chotard, u-boot; +Cc: U-Boot STM32

Hi,

On 3/16/23 08:03, Patrice Chotard wrote:
> Add usb_pgood_delay to ensure a correct detection of USB devices.
>
> Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
> ---
>
>   include/configs/stm32mp15_st_common.h | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/include/configs/stm32mp15_st_common.h b/include/configs/stm32mp15_st_common.h
> index d0cd4130cec..866cd7a719f 100644
> --- a/include/configs/stm32mp15_st_common.h
> +++ b/include/configs/stm32mp15_st_common.h
> @@ -9,6 +9,7 @@
>   #define __CONFIG_STM32MP15_ST_COMMON_H__
>   
>   #define STM32MP_BOARD_EXTRA_ENV \
> +	"usb_pgood_delay=2000\0" \
>   	"console=ttySTM0\0"
>   
>   #include <configs/stm32mp15_common.h>




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

Thanks
Patrick



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 2/2] configs: stm32mp13: Increase usb_pgood_delay for ST boards
  2023-03-16  7:03 ` [PATCH 2/2] configs: stm32mp13: Increase " Patrice Chotard
@ 2023-04-17 15:35   ` Patrick DELAUNAY
  2023-04-19  7:48   ` Patrice CHOTARD
  1 sibling, 0 replies; 6+ messages in thread
From: Patrick DELAUNAY @ 2023-04-17 15:35 UTC (permalink / raw)
  To: Patrice Chotard, u-boot; +Cc: U-Boot STM32

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 1/2] configs: stm32mp15: Add usb_pgood_delay for ST boards
  2023-03-16  7:03 [PATCH 1/2] configs: stm32mp15: Add usb_pgood_delay for ST boards Patrice Chotard
  2023-03-16  7:03 ` [PATCH 2/2] configs: stm32mp13: Increase " Patrice Chotard
  2023-04-17 15:35 ` [PATCH 1/2] configs: stm32mp15: Add " Patrick DELAUNAY
@ 2023-04-19  7:48 ` Patrice CHOTARD
  2 siblings, 0 replies; 6+ messages in thread
From: Patrice CHOTARD @ 2023-04-19  7:48 UTC (permalink / raw)
  To: u-boot; +Cc: Patrick DELAUNAY, U-Boot STM32



On 3/16/23 08:03, Patrice Chotard wrote:
> Add usb_pgood_delay to ensure a correct detection of USB devices.
> 
> Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
> ---
> 
>  include/configs/stm32mp15_st_common.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/include/configs/stm32mp15_st_common.h b/include/configs/stm32mp15_st_common.h
> index d0cd4130cec..866cd7a719f 100644
> --- a/include/configs/stm32mp15_st_common.h
> +++ b/include/configs/stm32mp15_st_common.h
> @@ -9,6 +9,7 @@
>  #define __CONFIG_STM32MP15_ST_COMMON_H__
>  
>  #define STM32MP_BOARD_EXTRA_ENV \
> +	"usb_pgood_delay=2000\0" \
>  	"console=ttySTM0\0"
>  
>  #include <configs/stm32mp15_common.h>


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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 2/2] configs: stm32mp13: Increase usb_pgood_delay for ST boards
  2023-03-16  7:03 ` [PATCH 2/2] configs: stm32mp13: Increase " Patrice Chotard
  2023-04-17 15:35   ` Patrick DELAUNAY
@ 2023-04-19  7:48   ` Patrice CHOTARD
  1 sibling, 0 replies; 6+ messages in thread
From: Patrice CHOTARD @ 2023-04-19  7:48 UTC (permalink / raw)
  To: u-boot; +Cc: Patrick DELAUNAY, U-Boot STM32



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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-04-19  7:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-16  7:03 [PATCH 1/2] configs: stm32mp15: Add usb_pgood_delay for ST boards Patrice Chotard
2023-03-16  7:03 ` [PATCH 2/2] configs: stm32mp13: Increase " Patrice Chotard
2023-04-17 15:35   ` Patrick DELAUNAY
2023-04-19  7:48   ` Patrice CHOTARD
2023-04-17 15:35 ` [PATCH 1/2] configs: stm32mp15: Add " Patrick DELAUNAY
2023-04-19  7:48 ` Patrice CHOTARD

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).