Skip to content

mcux: mimx8ml8: clock: Add missing media display clock root definitions#720

Open
pwattebledsfl wants to merge 1 commit intozephyrproject-rtos:masterfrom
pwattebledsfl:add-imx8mp-media-clock-roots
Open

mcux: mimx8ml8: clock: Add missing media display clock root definitions#720
pwattebledsfl wants to merge 1 commit intozephyrproject-rtos:masterfrom
pwattebledsfl:add-imx8mp-media-clock-roots

Conversation

@pwattebledsfl
Copy link
Copy Markdown

Summary

Add two missing clock_root_control_t entries for MIMX8ML8 (i.MX8MP):

  • kCLOCK_RootMediaMipiPhy1Ref — ROOT[123], MIPI DPHY PLL reference clock
  • kCLOCK_RootMediaDisp1Pix — ROOT[124], LCDIF1 pixel clock

Justification

These clock roots are listed in the i.MX8MP Reference Manual (IMX8MPRM) Table 5-1 "Clock Root Table" but are absent from the SDK enum. Any display pipeline using LCDIF1 + MIPI DSI on this SoC requires these roots. Currently, users must define them manually.

Change

Two enum entries added after kCLOCK_RootMediaApb, using the same encoding pattern as all existing entries. No functional change to existing code.

Add kCLOCK_RootMediaMipiPhy1Ref (ROOT[123]) and kCLOCK_RootMediaDisp1Pix
(ROOT[124]) to the clock_root_control_t enum. These media display clock
roots are documented in the i.MX8MP Reference Manual (Table 5-1) but
were missing from the SDK, preventing HAL-based configuration of the
MIPI DSI PHY reference clock and LCDIF1 pixel clock.

Signed-off-by: Paolo Wattebled <paolo.wattebled@savoirfairelinux.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant