This patch series is a collection of miscellaneous cleanups and improvements to the imx214 driver. The series converts the driver to the CCI helpers and adds controls needed to make the driver work with libcamera. The changes are inspired by the imx219 driver. Signed-off-by: André Apitzsch <git@xxxxxxxxxxx> --- André Apitzsch (13): media: i2c: imx214: Use subdev active state media: i2c: imx214: Remove unneeded goto media: i2c: imx214: Simplify with dev_err_probe() media: i2c: imx214: Convert to CCI register access helpers media: i2c: imx214: Replace register addresses with macros media: i2c: imx214: Drop IMX214_REG_EXPOSURE from mode reg arrays media: i2c: imx214: Use number of lanes from device tree media: i2c: imx214: Add vblank and hblank controls media: i2c: imx214: Extract format and crop settings media: i2c: imx214: Implement vflip/hflip controls media: i2c: imx214: Add analogue/digital gain control media: i2c: imx214: Verify chip ID media: i2c: imx214: Add test pattern control drivers/media/i2c/Kconfig | 1 + drivers/media/i2c/imx214.c | 1313 +++++++++++++++++++++++++++----------------- 2 files changed, 803 insertions(+), 511 deletions(-) --- base-commit: b891f84dd1f93ef4a716f10a70da80db443db431 change-id: 20240818-imx214-8324784c7bee Best regards, -- André Apitzsch <git@xxxxxxxxxxx>