mbox series

[v2,0/2] Align CCS driver behaviour regarding flipping and rotation

Message ID 20230404192347.1798323-1-sakari.ailus@linux.intel.com
Headers show
Series Align CCS driver behaviour regarding flipping and rotation | expand

Message

Sakari Ailus April 4, 2023, 7:23 p.m. UTC
Hi,

This set aligns the behaviour of flipping controls with other drivers and
adds CAMERA_SENSOR_ROTATION and CAMERA_SENSOR_ORIENTATION controls to the
CCS driver.

The changes to flipping are that the flipping controls are no longer
inverted if the sensor is mounted upside down. The flipping control still
default enabled if the sensor is so mounted.

since v1:

- Default is always no flip. Rotation isn't enabled in current DTS, and
  this is a better option going forward.

Sakari Ailus (2):
  media: ccs: Align flipping behaviour with other drivers
  media: ccs: Add V4L2 controls from properties

 drivers/media/i2c/ccs/ccs-core.c | 52 +++++++-------------------------
 drivers/media/i2c/ccs/ccs.h      | 14 ---------
 2 files changed, 11 insertions(+), 55 deletions(-)