[PATCH 1/2] configs: stm32mp15: Add usb_pgood_delay for ST boards

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>

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>

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

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

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

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.
participants (3)
-
Patrice CHOTARD
-
Patrice Chotard
-
Patrick DELAUNAY