UART pinctrl for serial is typically applied multiple times:
- in external TPL or in TPL for DEBUG_UART in board_debug_uart_init()
- in SPL for DEBUG_UART in board_debug_uart_init()
- in SPL using pinctrl from DT
- in pre-reloc phase using pinctrl from DT
- after relocation using pinctrl from DT

This series change bootph props for the UART pinctrl to not include them
in pre-reloc phase to save some boot time:

- Radxa ROCK Pi S (RK3308): ~80 ms
- Radxa ZERO 3W (RK3566): ~120 ms
- Radxa ROCK 5B (RK3588): ~150 ms

Similar change has already been applied for RK3328 and RK3399 boards.

The change for PX30 has not been runtime tested, and only include change
for uart2, not uart0 and uart5 used on two of the supported px30 boards.

Jonas Karlman (4):
  rockchip: rk3308: Skip serial pinctrl at pre-reloc phase
  rockchip: rk356x: Skip serial pinctrl at pre-reloc phase
  rockchip: rk3588: Skip serial pinctrl at pre-reloc phase
  rockchip: px30: Skip serial pinctrl at pre-reloc phase

 arch/arm/dts/px30-u-boot.dtsi                | 3 ++-
 arch/arm/dts/rk3308-evb-u-boot.dtsi          | 3 ++-
 arch/arm/dts/rk3308-roc-cc-u-boot.dtsi       | 3 ++-
 arch/arm/dts/rk3308-rock-pi-s-u-boot.dtsi    | 3 ++-
 arch/arm/dts/rk3308-rock-s0-u-boot.dtsi      | 3 ++-
 arch/arm/dts/rk356x-u-boot.dtsi              | 3 ++-
 arch/arm/dts/rk3588-tiger-haikou-u-boot.dtsi | 3 ++-
 arch/arm/dts/rk3588-turing-rk1-u-boot.dtsi   | 3 ++-
 arch/arm/dts/rk3588s-u-boot.dtsi             | 3 ++-
 9 files changed, 18 insertions(+), 9 deletions(-)

-- 
2.45.2

Reply via email to