]> www.infradead.org Git - linux.git/commit
media: i2c: imx355: Parse and register properties
authorRobert Mader <robert.mader@collabora.com>
Sun, 11 Aug 2024 11:17:04 +0000 (13:17 +0200)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Sat, 31 Aug 2024 07:40:43 +0000 (09:40 +0200)
commita1be997964db5c98cb6fd90900adab59533c03e8
treea2264aea83fea9fe082f351c9055deaf569c899b
parent4596c55e9a096b8a96d6e4dff6a8cdf440adbcef
media: i2c: imx355: Parse and register properties

Analogous to e.g. the imx219 driver. This enables propagating the
V4L2_CID_CAMERA_SENSOR_ROTATION and V4L2_CID_CAMERA_ORIENTATION
values so that userspace - e.g. libcamera - can detect the
correct rotation and orientation from the device tree.

Signed-off-by: Robert Mader <robert.mader@collabora.com>
Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Reviewed-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/imx355.c