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


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          |   8 +-
 drivers/video/imx/ipu.h          | 222 +++++---
 drivers/video/imx/ipu_common.c   | 843 ++++++++++++++++---------------
 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, 1199 insertions(+), 1176 deletions(-)

-- 
2.39.5

base-commit: 47b50fb1125c539d80ed3e7f739c02c6486e1b52
branch: video-imx-dm-clk-fix

Reply via email to