media: i2c: imx335: Implement get selection API
authorKieran Bingham <kieran.bingham@ideasonboard.com>
Mon, 11 Dec 2023 12:59:47 +0000 (18:29 +0530)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 13 Dec 2023 12:21:21 +0000 (13:21 +0100)
commit252b2caaf2cbbf2bfab483af200d58a7a5bfe87f
tree77b083092a95ffbd61c7c61d3b6204effee2e7d6
parentfea91ee73b7cd19f08017221923d789f984abc54
media: i2c: imx335: Implement get selection API

Support reporting of the Sensor Native and Active pixel array areas
through the Selection API.

The implementation reports a single target crop only for the mode that
is presently exposed by the driver.

Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/i2c/imx335.c