[v2,0/7] media: i2c: imx219: Use subdev active state

Message ID 20230710155203.92366-1-jacopo.mondi@ideasonboard.com (mailing list archive)
Headers
Series media: i2c: imx219: Use subdev active state |

Message

Jacopo Mondi July 10, 2023, 3:51 p.m. UTC
  Hello,
   this series ports the imx219 to use the subdev active state with great
simplification of format handling, locking and device initialization.

It resumes the work started by Jean-Michel but had to be ported to the new API
and applied on the most recent version of the sensor driver.

Tested with libcamera, by streaming in 1080p, VGA applying V/H flips to make
sure the mbus code permutation handling is still correct.

Thanks
   j

v1->v2:
- Two additional patches to fix colorspace handling a suggested by Laurent

Jacopo Mondi (5):
  media: i2c: imx219: Complete default format initialization
  media: i2c: imx219: Fix colorspace info
  media: i2c: imx219: Use subdev active state
  media: i2c: imx219: Simplify format assignment
  media: i2c: imx219: Simplify code handling in s_fmt

Jean-Michel Hautbois (2):
  media: i2c: imx219: Rename mbus codes array
  media: i2c: imx219: Switch from open to init_cfg

 drivers/media/i2c/imx219.c | 292 ++++++++++++-------------------------
 1 file changed, 93 insertions(+), 199 deletions(-)

--
2.40.1