[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210712085535.11907-7-s.riedmueller@phytec.de>
Date: Mon, 12 Jul 2021 10:55:35 +0200
From: Stefan Riedmueller <s.riedmueller@...tec.de>
To: Laurent Pinchart <laurent.pinchart@...asonboard.com>,
Mauro Carvalho Chehab <mchehab@...nel.org>,
Rob Herring <robh+dt@...nel.org>
Cc: Stefan Riedmueller <s.riedmueller@...tec.de>,
Sakari Ailus <sakari.ailus@...ux.intel.com>,
linux-media@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH v5 6/6] media: dt-bindings: mt9p031: Add missing required properties
Add missing required clocks and supply regulator properties for the
sensor input clock and vdd, vdd_io and vaa supply regulators.
Signed-off-by: Stefan Riedmueller <s.riedmueller@...tec.de>
---
.../bindings/media/i2c/aptina,mt9p031.yaml | 22 +++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/Documentation/devicetree/bindings/media/i2c/aptina,mt9p031.yaml b/Documentation/devicetree/bindings/media/i2c/aptina,mt9p031.yaml
index ad9a2db73d86..487a3facfcbc 100644
--- a/Documentation/devicetree/bindings/media/i2c/aptina,mt9p031.yaml
+++ b/Documentation/devicetree/bindings/media/i2c/aptina,mt9p031.yaml
@@ -24,6 +24,18 @@ properties:
description: I2C device address
maxItems: 1
+ clocks:
+ maxItems: 1
+
+ vdd-supply:
+ description: Digital supply voltage, 1.8 V
+
+ vdd_io-supply:
+ description: I/O supply voltage, 1.8 or 2.8 V
+
+ vaa-supply:
+ description: Analog supply voltage, 2.8 V
+
reset-gpios:
maxItems: 1
description: Chip reset GPIO
@@ -48,6 +60,10 @@ properties:
required:
- compatible
- reg
+ - clocks
+ - vdd-supply
+ - vdd_io-supply
+ - vaa-supply
- port
additionalProperties: false
@@ -63,6 +79,12 @@ examples:
reg = <0x5d>;
reset-gpios = <&gpio_sensor 0 0>;
+ clocks = <&sensor_clk>;
+
+ vdd-supply = <®_vdd>;
+ vdd_io-supply = <®_vdd_io>;
+ vaa-supply = <®_vaa>;
+
port {
mt9p031_1: endpoint {
input-clock-frequency = <6000000>;
--
2.25.1
Powered by blists - more mailing lists