[PATCH v2 0/2] imx6: fix LDB clock guard and clk0/clk1 swap
Md Shofiqul Islam
shofiqtest at gmail.com
Tue Jun 30 14:39:49 CEST 2026
This v2 series fixes two issues with LDB display clock initialisation on
NXP i.MX6Q boards.
Changes since v1:
- Squashed original patches 1 and 3 into a single patch. Patch 3 was a
correction to patch 1 based on Brian Ruley's review feedback
(CONFIG_SPL_BUILD is too broad; CONFIG_SPL_VIDEO is the correct guard).
Folding them together makes the intent clearer.
- Fixed Fixes: SHA to meet the 12-character minimum.
Regarding checkpatch IS_ENABLED() warnings in patch 1/2:
The guards in drivers/clk/imx/clk-imx6q.c wrap a static function
definition and its call site. IS_ENABLED() cannot be used for function
definitions, so #if is the only option there. The board-file guards
follow the same established pattern in adjacent code.
Md Shofiqul Islam (2):
clk: imx6q: guard LDB clock init with appropriate video config
imx6: clock: fix clk0/clk1 swap in select_ldb_di_clock_source()
arch/arm/mach-imx/mx6/clock.c | 4 ++--
board/aristainetos/aristainetos.c | 2 ++
board/ge/b1x5v2/b1x5v2.c | 3 ++-
drivers/clk/imx/clk-imx6q.c | 6 +++---
4 files changed, 9 insertions(+), 6 deletions(-)
More information about the U-Boot
mailing list