Skip to content

Fix i.MXRT1050 hang on lcdif init and improve DT for mxsfb

Giulio Benetti u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5video: mxsfb: add enabling of "axi" clock other than "per" clockdrivers/video/mxsfb.c+18 -70 replies
2/5video: mxsfb: add enabling of "disp_axi" clockdrivers/video/mxsfb.c+11 -00 replies
3/5clk: imx: clk-imxrt1050: introduce LCDIF_PIX and rename LCDIF to LCDIF_APBdrivers/clk/imx/clk-imxrt1050.c include/dt-bindings/clock/imxrt1050-clock.h+7 -40 replies
4/5ARM: dts: imxrt1050: move lcdif assigned clock to dtsiarch/arm/dts/imxrt1050-evk.dts arch/arm/dts/imxrt1050.dtsi+2 -30 replies
5/5ARM: dts: imxrt1050: set lcdif clocks according to mxsfb driverarch/arm/dts/imxrt1050.dtsi+3 -20 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/5] Fix i.MXRT1050 hang on lcdif init and improve DT for mxsfb

This patchset fixes u-boot hang on i.MXRT1050 while setting lcdif in mxsfb driver. There are 2 gates to be enabled to initialize mxsfb so let's introduce the missing gate as a clock and rename "per" clock to "pix" clock since in the other .dts files using *-lcdif "pix" is used.

This patchset add also "disp_axi" clock enabling in mxsfb that should make able to every i.MX SoC with lcdif using DT. I didn't test it other than i.MXRT1050 since I don't have the boards. If someone can test it it would be great. Note that i.MX23/28 should fail using DT instead because they don't specify any clock-names in their dts.

Giulio Benetti (5):
video: mxsfb: add enabling of "axi" clock other than "per" clock
video: mxsfb: add enabling of "disp_axi" clock
clk: imx: clk-imxrt1050: introduce LCDIF_PIX and rename LCDIF to
LCDIF_APB
ARM: dts: imxrt1050: move lcdif assigned clock to dtsi
ARM: dts: imxrt1050: set lcdif clocks according to mxsfb driver

 arch/arm/dts/imxrt1050-evk.dts              |  3 --
 arch/arm/dts/imxrt1050.dtsi                 |  7 ++--
 drivers/clk/imx/clk-imxrt1050.c             |  6 ++--
 drivers/video/mxsfb.c                       | 36 +++++++++++++++++----
 include/dt-bindings/clock/imxrt1050-clock.h |  5 +--
 5 files changed, 41 insertions(+), 16 deletions(-)
Signature · 1 line
2.25.1