[PATCH v4 5/5] usb: onboard-hub: Add support for Cypress HX3 family

2025-07-22 Thread Lukasz Czechowski
-off-by: Lukasz Czechowski --- common/usb_onboard_hub.c | 15 ++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/common/usb_onboard_hub.c b/common/usb_onboard_hub.c index dbe4c3cf9b83..805b2ccbc009 100644 --- a/common/usb_onboard_hub.c +++ b/common/usb_onboard_hub.c

[PATCH v4 4/5] usb: onboard-hub: Add support for multiple power supplies

2025-07-22 Thread Lukasz Czechowski
: Quentin Schulz Signed-off-by: Lukasz Czechowski --- common/usb_onboard_hub.c | 68 1 file changed, 51 insertions(+), 17 deletions(-) diff --git a/common/usb_onboard_hub.c b/common/usb_onboard_hub.c index 046831d09668..dbe4c3cf9b83 100644 --- a

[PATCH v4 3/5] usb: onboard-hub: Set the reset gpio pin before freeing

2025-07-22 Thread Lukasz Czechowski
ets reset and we might get into the same issue of the hub being not enumerated. Reviewed-by: Quentin Schulz Signed-off-by: Lukasz Czechowski --- common/usb_onboard_hub.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/common/usb_onboard_hub.c b/common/usb_onboard_hub.c index c63791

[PATCH v4 2/5] usb: onboard-hub: Use devm API do automatically free the reset GPIO

2025-07-22 Thread Lukasz Czechowski
, the DEVRES config must be enabled, otherwise the devres functions fall back to non-managed variants. Set the necessary dependency to DEVRES in Kconfig. Reviewed-by: Quentin Schulz Signed-off-by: Lukasz Czechowski --- common/usb_onboard_hub.c | 3 --- drivers/usb/Kconfig | 1 + 2 files

[PATCH v4 1/5] usb: onboard-hub: Use the ofnode to check if the peer-hub was probed

2025-07-22 Thread Lukasz Czechowski
r-hub node is used to find out if it was already done. In case peer-hub was bound, -ENODEV is returned. Reviewed-by: Quentin Schulz Signed-off-by: Lukasz Czechowski --- common/usb_onboard_hub.c | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/common/usb_onboa

[PATCH v4 0/5] Extend usb_onboard_hub driver to support Cypress HX3 hub family

2025-07-22 Thread Lukasz Czechowski
ct on main usb_hub driver. Fourth patch extends the driver with support for multiple power supplies, the same way it is done in kernel driver. Finally, last patch provides hub data and of_match table entries for Cypress HX3 Tested-by: Quentin Schulz # RK3399 Puma Haikou Signed-off-by: Lukasz

[PATCH v3 0/5] Extend usb_onboard_hub driver to support Cypress HX3 hub family

2025-06-10 Thread Lukasz Czechowski
ct on main usb_hub driver. Fourth patch extends the driver with support for multiple power supplies, the same way it is done in kernel driver. Finally, last patch provides hub data and of_match table entries for Cypress HX3 Signed-off-by: Lukasz Czechowski --- Changes in v3: - Rebased on top

[PATCH v3 4/5] usb: onboard-hub: Add support for multiple power supplies

2025-06-10 Thread Lukasz Czechowski
-by: Lukasz Czechowski --- common/usb_onboard_hub.c | 67 1 file changed, 50 insertions(+), 17 deletions(-) diff --git a/common/usb_onboard_hub.c b/common/usb_onboard_hub.c index 046831d09668..273b626dbaee 100644 --- a/common/usb_onboard_hub.c +++ b

[PATCH v3 5/5] usb: onboard-hub: Add support for Cypress HX3 family

2025-06-10 Thread Lukasz Czechowski
-off-by: Lukasz Czechowski --- common/usb_onboard_hub.c | 15 ++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/common/usb_onboard_hub.c b/common/usb_onboard_hub.c index 273b626dbaee..eb0694f1a44b 100644 --- a/common/usb_onboard_hub.c +++ b/common/usb_onboard_hub.c

[PATCH v3 1/5] usb: onboard-hub: Use the ofnode to check if the peer-hub was probed

2025-06-10 Thread Lukasz Czechowski
r-hub node is used to find out if it was already done. In case peer-hub was bound, -ENODEV is returned. Reviewed-by: Quentin Schulz Signed-off-by: Lukasz Czechowski --- common/usb_onboard_hub.c | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/common/usb_onboa

[PATCH v3 3/5] usb: onboard-hub: Set the reset gpio pin before freeing

2025-06-10 Thread Lukasz Czechowski
ets reset and we might get into the same issue of the hub being not enumerated. Reviewed-by: Quentin Schulz Signed-off-by: Lukasz Czechowski --- common/usb_onboard_hub.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/common/usb_onboard_hub.c b/common/usb_onboard_hub.c index c63791

[PATCH v3 2/5] usb: onboard-hub: Use devm API do automatically free the reset GPIO

2025-06-10 Thread Lukasz Czechowski
, the DEVRES config must be enabled, otherwise the devres functions fall back to non-managed variants. Set the necessary dependency to DEVRES in Kconfig. Signed-off-by: Lukasz Czechowski --- common/usb_onboard_hub.c | 3 --- drivers/usb/Kconfig | 1 + 2 files changed, 1 insertion(+), 3

[PATCH v2 2/5] usb: onboard-hub: Use devm API do automatically free the reset GPIO

2025-05-26 Thread Lukasz Czechowski
, the DEVRES config must be enabled, otherwise the devres functions fall back to non-managed variants. Set the necessary dependency to DEVRES in Kconfig. Signed-off-by: Lukasz Czechowski --- common/usb_onboard_hub.c | 3 --- drivers/usb/Kconfig | 1 + 2 files changed, 1 insertion(+), 3

[PATCH v2 4/5] usb: onboard-hub: Add support for multiple power supplies

2025-05-26 Thread Lukasz Czechowski
-by: Lukasz Czechowski --- common/usb_onboard_hub.c | 65 1 file changed, 49 insertions(+), 16 deletions(-) diff --git a/common/usb_onboard_hub.c b/common/usb_onboard_hub.c index dcaa24d30ece..2d2114ea6d17 100644 --- a/common/usb_onboard_hub.c +++ b

[PATCH v2 5/5] usb: onboard-hub: Add support for Cypress HX3 family

2025-05-26 Thread Lukasz Czechowski
-off-by: Lukasz Czechowski --- common/usb_onboard_hub.c | 15 ++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/common/usb_onboard_hub.c b/common/usb_onboard_hub.c index 2d2114ea6d17..244d7cfb1294 100644 --- a/common/usb_onboard_hub.c +++ b/common/usb_onboard_hub.c

[PATCH v2 3/5] usb: onboard-hub: Set the reset gpio pin before freeing

2025-05-26 Thread Lukasz Czechowski
ets reset and we might get into the same issue of the hub being not enumerated. Reviewed-by: Quentin Schulz Signed-off-by: Lukasz Czechowski --- common/usb_onboard_hub.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/common/usb_onboard_hub.c b/common/usb_onboard_hub.c index 286f90

[PATCH v2 1/5] usb: onboard-hub: Use the ofnode to check if the peer-hub was probed

2025-05-26 Thread Lukasz Czechowski
r-hub node is used to find out if it was already done. In case peer-hub was bound, -ENODEV is returned. Signed-off-by: Lukasz Czechowski --- common/usb_onboard_hub.c | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/common/usb_onboard_hub.c b/common/usb_onb

[PATCH v2 0/5] Extend usb_onboard_hub driver to support Cypress HX3 hub family

2025-05-26 Thread Lukasz Czechowski
ct on main usb_hub driver. Fourth patch extends the driver with support for multiple power supplies, the same way it is done in kernel driver. Finally, last patch provides hub data and of_match table entries for Cypress HX3 Signed-off-by: Lukasz Czechowski --- Changes in v2: - Replaced the

[PATCH v5 2/6] efi: stub: Change _debug_uart_putc function to inline

2025-05-20 Thread Lukasz Czechowski
consistency with implementations for other platforms. Signed-off-by: Lukasz Czechowski --- lib/efi/efi_stub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/efi/efi_stub.c b/lib/efi/efi_stub.c index 40fc29d9adf7..a083c7f1e9b4 100644 --- a/lib/efi/efi_stub.c +++ b/lib/efi

[PATCH v5 6/6] rockchip: px30: Fix hard dependency to DEBUG_UART_BOARD_INIT

2025-05-20 Thread Lukasz Czechowski
with other rockchip boards. Signed-off-by: Lukasz Czechowski Reviewed-by: Quentin Schulz Reviewed-by: Kever Yang --- arch/arm/mach-rockchip/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/mach-rockchip/Kconfig b/arch/arm/mach-rockchip/Kconfig index dac160d33ae3

[PATCH v5 1/6] arm: uniphier: Change _debug_uart_putc function to inline

2025-05-20 Thread Lukasz Czechowski
Update the definition of _debug_uart_putc to static inline. This matches the instructions in include/debug_uart.h and provides consistency with implementations for other platforms. Signed-off-by: Lukasz Czechowski --- arch/arm/mach-uniphier/debug-uart/debug-uart.c | 2 +- 1 file changed, 1

[PATCH v5 4/6] debug_uart: Replace debug functions with dummies if CONFIG_DEBUG_UART is not set

2025-05-20 Thread Lukasz Czechowski
In case DEBUG UART is not used, define dummy macros replacing the actual function implementations that will not be available. This allows to compile code and avoid linker errors. Redefine the DEBUG_UART_FUNCS macro if DEBUG UART is not available, to avoid compilation errors. Signed-off-by: Lukasz

[PATCH v5 5/6] rockchip: px30: Weaken dependency TPL/SPL serial

2025-05-20 Thread Lukasz Czechowski
Allow to disable serial console in TPL and SPL. Weak dependency to SPL_SERIAL and TPL_SERIAL is also used in other Rockchip boards. Signed-off-by: Lukasz Czechowski Reviewed-by: Quentin Schulz Reviewed-by: Kever Yang --- arch/arm/mach-rockchip/Kconfig | 4 ++-- 1 file changed, 2 insertions

[PATCH v5 3/6] ram: rockchip: Fix dependency of RAM_ROCKCHIP_DEBUG

2025-05-20 Thread Lukasz Czechowski
The RAM_ROCKCHIP_DEBUG can be used only if DEBUG_UART is available. The next commit introduces changes in definition of debug uart functions, so that DEBUG_UART is required to be defined in order to initialize uart and use print functions. Signed-off-by: Lukasz Czechowski Reviewed-by: Kever Yang

[PATCH v5 0/6] Rockchip: Allow to silent TPL/SPL debug console

2025-05-20 Thread Lukasz Czechowski
r/20250515-silent_console-v4-0-dec6c8391...@thaumatec.com -- 2.43.0 --- Lukasz Czechowski (6): arm: uniphier: Change _debug_uart_putc function to inline efi: stub: Change _debug_uart_putc function to inline ram: rockchip: Fix dependency of RAM_ROCKCHIP_DEBUG debug_uart: Rep

[PATCH v4 3/5] ram: rockchip: Fix dependency of RAM_ROCKCHIP_DEBUG

2025-05-15 Thread Lukasz Czechowski
The RAM_ROCKCHIP_DEBUG can be used only if DEBUG_UART is available, otherwise it won't have any effect. Signed-off-by: Lukasz Czechowski Reviewed-by: Kever Yang --- drivers/ram/rockchip/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/ram/rockchip/Kconfig b/driver

[PATCH v4 5/5] rockchip: px30: Fix hard dependency to DEBUG_UART_BOARD_INIT

2025-05-15 Thread Lukasz Czechowski
with other rockchip boards. Signed-off-by: Lukasz Czechowski Reviewed-by: Quentin Schulz Reviewed-by: Kever Yang --- arch/arm/mach-rockchip/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/mach-rockchip/Kconfig b/arch/arm/mach-rockchip/Kconfig index dac160d33ae3

[PATCH v4 4/5] rockchip: px30: Weaken dependency TPL/SPL serial

2025-05-15 Thread Lukasz Czechowski
Allow to disable serial console in TPL and SPL. Weak dependency to SPL_SERIAL and TPL_SERIAL is also used in other Rockchip boards. Signed-off-by: Lukasz Czechowski Reviewed-by: Quentin Schulz Reviewed-by: Kever Yang --- arch/arm/mach-rockchip/Kconfig | 4 ++-- 1 file changed, 2 insertions

[PATCH v4 2/5] debug_uart: Replace debug functions with dummies if CONFIG_DEBUG_UART is not set

2025-05-15 Thread Lukasz Czechowski
In case DEBUG UART is not used, define dummy macros replacing the actual function implementations that will not be available. This allows to compile code and avoid linker errors. Redefine the DEBUG_UART_FUNCS macro if DEBUG UART is not available, to avoid compilation errors. Signed-off-by: Lukasz

[PATCH v4 1/5] efi: stub: Define debug uart functions only if CONFIG_DEBUG_UART is enabled

2025-05-15 Thread Lukasz Czechowski
Initialize the debug uart only in case CONFIG_DEBUG_UART is enabled. The _debug_uart_putc is used internally by debug uart functions, so it must be also included inside #ifdef block, otherwise it will cause compilation warnings. Signed-off-by: Lukasz Czechowski --- lib/efi/efi_stub.c | 2 ++ 1

[PATCH v4 0/5] Rockchip: Allow to silent TPL/SPL debug console

2025-05-15 Thread Lukasz Czechowski
CONFIG_DEBUG_UART is not enabled. The #ifdef directive is used to conditionally define debug uart functions, as suggested by Quentin. - Fixed invalid redefinition of DEBUG_UART_FUNCS macro, and changed the dummy print functions implementation in debug_uart.h -- 2.43.0 --- Lukasz Czechowski (5

[PATCH 4/4] usb: onboard-hub: Add support for Cypress HX3 family

2025-04-25 Thread Lukasz Czechowski
, so it is set to 0. The compatible strings added to of_match table are compliant with usb/cypress,hx3.yaml bindings. [1] https://www.infineon.com/dgdl/Infineon-HX3_USB_3_0_Hub_Consumer_Industrial-DataSheet-v22_00-EN.pdf?fileId=8ac78c8c7d0d8da4017d0ecb53f644b8 Signed-off-by: Lukasz Czechowski

[PATCH 3/4] usb: onboard-hub: Add support for multiple power supplies

2025-04-25 Thread Lukasz Czechowski
-by: Lukasz Czechowski --- common/usb_onboard_hub.c | 45 + 1 file changed, 33 insertions(+), 12 deletions(-) diff --git a/common/usb_onboard_hub.c b/common/usb_onboard_hub.c index 325c274ed952..b8fa38a4111d 100644 --- a/common/usb_onboard_hub.c +++ b

[PATCH 2/4] usb: onboard-hub: Set the reset gpio pin before freeing

2025-04-25 Thread Lukasz Czechowski
ot;usb reset" command. To fix this, set the reset gpio to active before freeing, to put the hub into reset state. Signed-off-by: Lukasz Czechowski --- common/usb_onboard_hub.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/common/usb_onboard_hub.c b/common/usb_onboar

[PATCH 1/4] usb: onboard-hub: Use the ofnode to check if the peer-hub was probed

2025-04-25 Thread Lukasz Czechowski
r-hub node is used to find out if it was already done. In case peer-hub was bound, -ENODEV is returned. Signed-off-by: Lukasz Czechowski --- common/usb_onboard_hub.c | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/common/usb_onboard_hub.c b/common/usb_onb

[PATCH 0/4] Extend usb_onboard_hub driver to support Cypress HX3 hub family

2025-04-25 Thread Lukasz Czechowski
r multiple power supplies, tha same way it is done in kernel driver. Finally, last patch provides hub data and of_match table entries for Cypress HX3 Signed-off-by: Lukasz Czechowski --- Lukasz Czechowski (4): usb: onboard-hub: Use the ofnode to check if the peer-hub was probed usb: onboar

[PATCH v3 4/4] rockchip: px30: Fix hard dependency to DEBUG_UART_BOARD_INIT

2024-09-18 Thread Lukasz Czechowski
with other rockchip boards. Signed-off-by: Lukasz Czechowski Reviewed-by: Quentin Schulz Reviewed-by: Kever Yang --- arch/arm/mach-rockchip/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/mach-rockchip/Kconfig b/arch/arm/mach-rockchip/Kconfig index 47a6275d45f..c9aaf6d3476

[PATCH v3 3/4] rockchip: px30: Weaken dependency TPL/SPL serial

2024-09-18 Thread Lukasz Czechowski
Allow to disable serial console in TPL and SPL. Weak dependency to SPL_SERIAL and TPL_SERIAL is also used in other Rockchip boards. Signed-off-by: Lukasz Czechowski Reviewed-by: Quentin Schulz Reviewed-by: Kever Yang --- arch/arm/mach-rockchip/Kconfig | 4 ++-- 1 file changed, 2 insertions

[PATCH v3 1/4] debug_uart: Replace debug functions with dummies if CONFIG_DEBUG_UART is not set

2024-09-18 Thread Lukasz Czechowski
compilation warning. Signed-off-by: Lukasz Czechowski Reviewed-by: Simon Glass Reviewed-by: Kever Yang --- include/debug_uart.h | 16 1 file changed, 16 insertions(+) diff --git a/include/debug_uart.h b/include/debug_uart.h index 714b369e6fe..dc0f1aa4c98 100644 --- a/include

[PATCH v3 0/4] Rockchip: Allow to silent TPL/SPL debug console

2024-09-18 Thread Lukasz Czechowski
in v3: - Dropped [PATCH v2 3/5] ram: rockchip: Add separate RAM_ROCKCHIP_DEBUG config for TPL/SPL As suggested by Kever, dependency on DEBUG_UART is sufficient and this patch was not needed. Lukasz Czechowski (4): debug_uart: Replace debug functions with dummies if CONFIG_DEBUG_UART is

[PATCH v3 2/4] ram: rockchip: Fix dependency of RAM_ROCKCHIP_DEBUG

2024-09-18 Thread Lukasz Czechowski
The RAM_ROCKCHIP_DEBUG can be used only if DEBUG_UART is available, otherwise it won't have any effect. Signed-off-by: Lukasz Czechowski Reviewed-by: Kever Yang --- drivers/ram/rockchip/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/ram/rockchip/Kconfig b/driver

[PATCH v2 5/5] rockchip: px30: Fix hard dependency to DEBUG_UART_BOARD_INIT

2024-09-03 Thread Lukasz Czechowski
with other rockchip boards. Signed-off-by: Lukasz Czechowski Reviewed-by: Quentin Schulz --- arch/arm/mach-rockchip/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/mach-rockchip/Kconfig b/arch/arm/mach-rockchip/Kconfig index 47a6275d45f..c9aaf6d3476 100644 --- a/arch/arm

[PATCH v2 4/5] rockchip: px30: Weaken dependency TPL/SPL serial

2024-09-03 Thread Lukasz Czechowski
Allow to disable serial console in TPL and SPL. Weak dependency to SPL_SERIAL and TPL_SERIAL is also used in other Rockchip boards. Signed-off-by: Lukasz Czechowski Reviewed-by: Quentin Schulz --- arch/arm/mach-rockchip/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

[PATCH v2 3/5] ram: rockchip: Add separate RAM_ROCKCHIP_DEBUG config for TPL/SPL

2024-09-03 Thread Lukasz Czechowski
) directives with CONFIG_IS_ENABLED(RAM_ROCKCHIP_DEBUG) to utilize the configuration changes. Update defconfigs of affected boards so that behavior is not changed. Signed-off-by: Lukasz Czechowski --- configs/anbernic-rgxx3-rk3566_defconfig | 1 + configs/neu2-io-rv1126_defconfig | 2

[PATCH v2 2/5] ram: rockchip: Fix dependency of RAM_ROCKCHIP_DEBUG

2024-09-03 Thread Lukasz Czechowski
The RAM_ROCKCHIP_DEBUG can be used only if DEBUG_UART is available, otherwise it won't have any effect. Signed-off-by: Lukasz Czechowski --- drivers/ram/rockchip/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/ram/rockchip/Kconfig b/drivers/ram/rockchip/Kconfig

[PATCH v2 1/5] debug_uart: Replace debug functions with dummies if CONFIG_DEBUG_UART is not set

2024-09-03 Thread Lukasz Czechowski
compilation warning. Signed-off-by: Lukasz Czechowski Reviewed-by: Simon Glass --- include/debug_uart.h | 16 1 file changed, 16 insertions(+) diff --git a/include/debug_uart.h b/include/debug_uart.h index 714b369e6fe..dc0f1aa4c98 100644 --- a/include/debug_uart.h +++ b/include

[PATCH v2 0/5] Rockchip: Allow to silent TPL/SPL debug console

2024-09-03 Thread Lukasz Czechowski
directly in serial driver. This patch series fixes the dependencies in Kconfig and provides dummy implementation of debug_uart functions that are linked in case serial driver is not used. changes in v2: - Update commit titles - Create separate SPL and TPL symbols for RAM_ROCKCHIP_DEBUG Lukasz

[PATCH 4/4] arm: rockchip: PX30: Fix hard dependency to DEBUG_UART_BOARD_INIT

2024-08-27 Thread Lukasz Czechowski
with other rockchip boards. Signed-off-by: Lukasz Czechowski --- arch/arm/mach-rockchip/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/mach-rockchip/Kconfig b/arch/arm/mach-rockchip/Kconfig index 47a6275d45f..c9aaf6d3476 100644 --- a/arch/arm/mach-rockchip/Kconfig +++ b/arch

[PATCH 3/4] rockchip: Kconfig: PX30: Weaken dependency TPL/SPL serial

2024-08-27 Thread Lukasz Czechowski
Allow to disable serial console in TPL and SPL. Weak dependency to SPL_SERIAL and TPL_SERIAL is also used in other Rockchip boards. Signed-off-by: Lukasz Czechowski --- arch/arm/mach-rockchip/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-rockchip

[PATCH 2/4] ram: rockchip: Kconfig: Fix dependency of RAM_ROCKCHIP_DEBUG

2024-08-27 Thread Lukasz Czechowski
The RAM_ROCKCHIP_DEBUG can be used only if DEBUG_UART is available, otherwise it won't have any effect. Add negative dependency to TPL_SILENT_CONSOLE. Signed-off-by: Lukasz Czechowski --- drivers/ram/rockchip/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/ram/roc

[PATCH 1/4] debug_uart: Replace debug functions with dummies if CONFIG_DEBUG_UART is not set

2024-08-27 Thread Lukasz Czechowski
compilation warning. Signed-off-by: Lukasz Czechowski --- include/debug_uart.h | 16 1 file changed, 16 insertions(+) diff --git a/include/debug_uart.h b/include/debug_uart.h index 714b369e6fe..dc0f1aa4c98 100644 --- a/include/debug_uart.h +++ b/include/debug_uart.h @@ -128,6 +128,8

[PATCH 0/4] Rockchip: Allow to silent TPL/SPL debug console

2024-08-27 Thread Lukasz Czechowski
directly in serial driver. This patch series fixes the dependencies in Kconfig and provides dummy implementation of debug_uart functions that are linked in case serial driver is not used. Lukasz Czechowski (4): debug_uart: Replace debug functions with dummies if CONFIG_DEBUG_UART is not set

[PATCH v3] rockchip: px30: clk: add UART0 clock getter/setter

2024-08-22 Thread Lukasz Czechowski
USBPHY480M sources, that are managed by CRU, are not yet handled, as likely they won't be used in real scenarios. Signed-off-by: Lukasz Czechowski Reviewed-by: Quentin Schulz --- arch/arm/include/asm/arch-rockchip/cru_px30.h | 7 ++ drivers/clk/rockchip/clk_px30.c

[PATCH v2] rockchip: px30: clk: add UART0 clock getter/setter

2024-08-12 Thread Lukasz Czechowski
USBPHY480M sources, that are managed by CRU, are not yet handled, as likely they won't be used in real scenarios. Signed-off-by: Lukasz Czechowski --- arch/arm/include/asm/arch-rockchip/cru_px30.h | 7 ++ drivers/clk/rockchip/clk_px30.c | 108 ++ 2 files ch

[PATCH] rockchip: clk: add UART0 clock getter/setter

2024-07-31 Thread Lukasz Czechowski
USBPHY480M sources, that are managed by CRU, are not yet handled, as likely they won't be used in real scenarios. Signed-off-by: Lukasz Czechowski --- arch/arm/include/asm/arch-rockchip/cru_px30.h | 7 ++ drivers/clk/rockchip/clk_px30.c | 107 ++ 2 files ch

[PATCH v3] rockchip: px30-board-tpl: Sync ifdef guards with full TPL

2024-04-17 Thread lukasz . czechowski
From: Lukasz Czechowski Display TPL init information message only when TPL_BANNER_PRINT configuration entry is set. This allows to disable information message in case logs on UART are unwanted. Update parent ifdef condition to check also CONFIG_TPL_SERIAL to match logic of the non-PX30 TPL

[PATCH] ram: rockchip: px30: Replace misleading log message

2024-04-17 Thread lukasz . czechowski
From: Lukasz Czechowski Remove the log message "out" from sdram_init function which pollutes the console. It brings no meaningful information and might be unwanted in case silencing the console is required. Instead, add a debug log with a more meaningful message, printed only if DE

[PATCH v2] rockchip: px30-board-tpl: Use CONFIG_TPL_BANNER_PRINT flag

2024-04-17 Thread lukasz . czechowski
From: Lukasz Czechowski Display TPL init information message only when TPL_BANNER_PRINT configuration entry is set. This allows to disable information message in case logs on UART are unwanted. Update parent ifdef condition to check also CONFIG_TPL_SERIAL to match logic of the non-PX30 TPL

[PATCH] rockchip: px30-board-tpl: Use CONFIG_TPL_BANNER_PRINT flag

2024-04-16 Thread Lukasz Czechowski
Display TPL init information message only when TPL_BANNER_PRINT configuration entry is set. This allows to disable information message in case logs on UART are unwanted. Signed-off-by: Lukasz Czechowski --- arch/arm/mach-rockchip/px30-board-tpl.c | 2 ++ 1 file changed, 2 insertions(+) diff