Skip to content

imx6: fix LDB clock source selection bugs

Md Shofiqul Islam u-boot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2imx6: clock: fix clk0/clk1 swap in select_ldb_di_clock_source()arch/arm/mach-imx/mx6/clock.c+2 -20 replies
2/2imx6: guard LDB clock init with appropriate video configboard/aristainetos/aristainetos.c board/ge/b1x5v2/b1x5v2.c drivers/clk/imx/clk-imx6q.c+7 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] imx6: fix LDB clock source selection bugs

Two fixes following Brian's review of the v2 LDB clock series:

1. select_ldb_di_clock_source() had clk0 and clk1 written to the wrong registers (LDB_DI1 and LDB_DI0 respectively). Silent until now because all callers passed the same value for both arguments.

2. The CONFIG_SPL_BUILD guard in clk-imx6q.c was too broad — it excluded SPL builds that legitimately need LDB clock init when CONFIG_SPL_VIDEO is enabled. Also adds the missing guards in aristainetos.c and b1x5v2.c so select_ldb_di_clock_source() is only called when video support is actually configured.

Md Shofiqul Islam (2):
imx6: clock: fix clk0/clk1 swap in select_ldb_di_clock_source()
imx6: guard LDB clock init with appropriate video config

 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(-)
Signature · 1 line
2.51.1