summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Koskovich <akoskovich@pm.me>2026-03-12 20:16:24 +0300
committerHans Verkuil <hverkuil+cisco@kernel.org>2026-03-24 13:58:02 +0300
commit78c7ab8af70fbf01b74eaa4d58bbc6b9c0bafe96 (patch)
tree9b397e0205c1fee57986e12e6433dbbbfbd4d961
parentf75e160745663ce9b13362ae6e90bd439c58df69 (diff)
downloadlinux-78c7ab8af70fbf01b74eaa4d58bbc6b9c0bafe96.tar.xz
media: dt-bindings: ovti,ov8856: Allow orientation & rotation props
Allow the orientation and rotation properties from video-interface-devices to be specified. The sensor can be front or rear facing and can be mounted at any rotation. Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> Signed-off-by: Alexander Koskovich <akoskovich@pm.me> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
-rw-r--r--Documentation/devicetree/bindings/media/i2c/ovti,ov8856.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/media/i2c/ovti,ov8856.yaml b/Documentation/devicetree/bindings/media/i2c/ovti,ov8856.yaml
index fa71f24823f2..d0f577363f93 100644
--- a/Documentation/devicetree/bindings/media/i2c/ovti,ov8856.yaml
+++ b/Documentation/devicetree/bindings/media/i2c/ovti,ov8856.yaml
@@ -18,6 +18,9 @@ description: |-
through I2C and two-wire SCCB. The sensor output is available via CSI-2
serial data output (up to 4-lane).
+allOf:
+ - $ref: /schemas/media/video-interface-devices.yaml#
+
properties:
compatible:
const: ovti,ov8856
@@ -57,6 +60,9 @@ properties:
This corresponds to the hardware pin XSHUTDOWN which is physically
active low.
+ orientation: true
+ rotation: true
+
port:
$ref: /schemas/graph.yaml#/$defs/port-base
additionalProperties: false