devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] media: dt-bindings: hynix,hi846: Document orientation and rotation
@ 2023-09-28 12:14 Fabio Estevam
  2023-09-28 14:57 ` Jacopo Mondi
  0 siblings, 1 reply; 8+ messages in thread
From: Fabio Estevam @ 2023-09-28 12:14 UTC (permalink / raw)
  To: mchehab
  Cc: sakari.ailus, robh+dt, krzysztof.kozlowski+dt, conor+dt, martink,
	linux-media, devicetree, Fabio Estevam, Krzysztof Kozlowski

From: Fabio Estevam <festevam@denx.de>

Document the 'orientation' and 'rotation' properties, which
are valid for the SK Hynix Hi-846 sensor.

Their definitions come from video-interface-devices.yaml, so add
a reference to it.

Signed-off-by: Fabio Estevam <festevam@denx.de>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Martin Kepplinger <martink@posteo.de>
---
Changes since v1:
- Also pass a ref to video-interface-devices.yaml. (Martin)

 .../devicetree/bindings/media/i2c/hynix,hi846.yaml         | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/Documentation/devicetree/bindings/media/i2c/hynix,hi846.yaml b/Documentation/devicetree/bindings/media/i2c/hynix,hi846.yaml
index 1e2df8cf2937..8b7a46a15458 100644
--- a/Documentation/devicetree/bindings/media/i2c/hynix,hi846.yaml
+++ b/Documentation/devicetree/bindings/media/i2c/hynix,hi846.yaml
@@ -14,6 +14,9 @@ description: |-
   interface and CCI (I2C compatible) control bus. The output format
   is raw Bayer.
 
+allOf:
+  - $ref: /schemas/media/video-interface-devices.yaml#
+
 properties:
   compatible:
     const: hynix,hi846
@@ -48,6 +51,10 @@ properties:
   vddd-supply:
     description: Definition of the regulator used for the VDDD power supply.
 
+  orientation: true
+
+  rotation: true
+
   port:
     $ref: /schemas/graph.yaml#/$defs/port-base
     unevaluatedProperties: false
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-09-29 14:48 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-28 12:14 [PATCH v2] media: dt-bindings: hynix,hi846: Document orientation and rotation Fabio Estevam
2023-09-28 14:57 ` Jacopo Mondi
2023-09-28 15:14   ` Fabio Estevam
2023-09-28 15:54   ` Rob Herring
2023-09-29  6:30     ` Jacopo Mondi
2023-09-29 12:04       ` Fabio Estevam
2023-09-29 14:36       ` Jacopo Mondi
2023-09-29 14:47         ` Fabio Estevam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).