aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/i2c/ccs/ccs-core.c
diff options
context:
space:
mode:
authorJacopo Mondi <[email protected]>2023-01-17 10:06:03 +0000
committerHans Verkuil <[email protected]>2023-04-11 16:54:02 +0000
commit23c3b904b17360403c2ea7e5af870212a2a2ba3b (patch)
treec554f1774cf15d6defa3e4214fb80b5b91ce1a56 /drivers/media/i2c/ccs/ccs-core.c
parentmedia: imx258: Register H/V flip controls (diff)
downloadkernel-23c3b904b17360403c2ea7e5af870212a2a2ba3b.tar.gz
kernel-23c3b904b17360403c2ea7e5af870212a2a2ba3b.zip
media: imx258: Remove mandatory 180 degrees rotation
The "rotation" fwnode device property is intended to allow specify the sensor's physical mounting rotation, so that it can be exposed through the read-only V4L2_CID_CAMERA_SENSOR_ROTATION control and applications can decide how to compensate for that. The imx258 driver has read-only VFLIP and HFLIP enabled, resulting in a 180 degrees image rotation being produced by the sensor. But this doesn't imply that the physical mounting rotation should match the driver's implementation. Now that the driver registers V4L2_CID_CAMERA_SENSOR_ROTATION and V4L2_CID_HFLIP/VFLIP correctly, userspace has all the required information to handle the rotation correctly, hence it is not necessary to require the 'rotation' property to be fixed to 180 degrees in DTS. Signed-off-by: Jacopo Mondi <[email protected]> Reviewed-by: Laurent Pinchart <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'drivers/media/i2c/ccs/ccs-core.c')
0 files changed, 0 insertions, 0 deletions