media: i2c: imx258: Add get_selection for pixel array information
authorDave Stevenson <dave.stevenson@raspberrypi.com>
Wed, 23 Mar 2022 15:48:49 +0000 (15:48 +0000)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:33:33 +0000 (11:33 +0000)
commit2380747d76d3cf0007adcea1ce354f56b53a3d58
tree06e8bf9c8086fabd7fdf78d01a8293d3127787a9
parent3f0e27d3d0a87939a14af85613c4ef35c7af29f9
media: i2c: imx258: Add get_selection for pixel array information

Libcamera requires the cropping information for each mode, so
add this information to the driver.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
drivers/media/i2c/imx258.c