media: i2c: imx290: Add crop selection targets support
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Sun, 16 Oct 2022 06:15:22 +0000 (09:15 +0300)
committerSakari Ailus <sakari.ailus@linux.intel.com>
Thu, 27 Oct 2022 11:38:03 +0000 (14:38 +0300)
commitb4ab57b07c5b9cac29f766ffc7453aef7a0ef2da
treed01821e30aca0a1ba496b7f0d61a5826f9d747e6
parentb25537efeea981b9a3c99c4666e8d240833993f6
media: i2c: imx290: Add crop selection targets support

Implement read-only access to crop selection rectangles to expose the
analogue crop rectangle. The public (leaked) IMX290 documentation is not
very clear on how cropping is implemented and configured exactly, so
the margins may not be entirely accurate.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
drivers/media/i2c/imx290.c