[PATCH v2 0/7] Refactor i.MX IPU driver
Brian Ruley
brian.ruley at gehealthcare.com
Mon Dec 29 11:48:00 CET 2025
This patch series is designed facilitate the porting of the i.MX IPU
video driver to use the generic clock framework instead of relying on
its own clk definitions, which is known to cause problems as noted in
a prior patch series [1].
This brings some much needed clean-up and gets rid of nasty globals by
instead utilizing structs that are managed by the driver instance. This
approach resembles the architecture used in Linux.
The changes were tested on a bx50v3 device, which is powered by the
Advantech i.MX6 Q7 module.
Let me know what you think!
Best regards,
Brian Ruley, GE HealthCare
[1] https://lists.denx.de/pipermail/u-boot/2024-August/562204.html
Changes in v2:
- Fix unintended spelling error in comment
- Fix unused variable error
Brian Ruley (7):
video: imx: ipuv3: remove undefined function declarations
video: imx: ipuv3: apply clang-format
video: imx: ipuv3: prefer kernel types
video: imx: ipuv3: fix camel cases
video: imx: ipuv3: add names to clk function identifiers
video: imx: ipuv3: use CONFIG_IS_ENABLED
video: imx: ipuv3: refactor to use dm-managed state
arch/arm/mach-imx/cpu.c | 10 +-
drivers/video/imx/ipu.h | 222 +++++---
drivers/video/imx/ipu_common.c | 841 ++++++++++++++++---------------
drivers/video/imx/ipu_disp.c | 752 +++++++++++++--------------
drivers/video/imx/ipu_regs.h | 270 +++++-----
drivers/video/imx/mxc_ipuv3_fb.c | 277 +++++-----
include/ipu_pixfmt.h | 3 +-
7 files changed, 1200 insertions(+), 1175 deletions(-)
--
2.39.5
base-commit: 56cac250b0839ddbad1311d3ca4231f532b5aadf
branch: video-imx-dm-clk-fix
More information about the U-Boot
mailing list