From: Fabio Estevam <festevam@gmail.com>
To: mchehab@kernel.org
Cc: sakari.ailus@linux.intel.com, robh+dt@kernel.org,
krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org,
martink@posteo.de, linux-media@vger.kernel.org,
devicetree@vger.kernel.org, Fabio Estevam <festevam@denx.de>,
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Subject: [PATCH v2] media: dt-bindings: hynix,hi846: Document orientation and rotation
Date: Thu, 28 Sep 2023 09:14:24 -0300 [thread overview]
Message-ID: <20230928121424.388019-1-festevam@gmail.com> (raw)
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
next reply other threads:[~2023-09-28 12:15 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-28 12:14 Fabio Estevam [this message]
2023-09-28 14:57 ` [PATCH v2] media: dt-bindings: hynix,hi846: Document orientation and rotation 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230928121424.388019-1-festevam@gmail.com \
--to=festevam@gmail.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=festevam@denx.de \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=krzysztof.kozlowski@linaro.org \
--cc=linux-media@vger.kernel.org \
--cc=martink@posteo.de \
--cc=mchehab@kernel.org \
--cc=robh+dt@kernel.org \
--cc=sakari.ailus@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).