Thread (12 messages) 12 messages, 3 authors, 2021-07-05
STALE1810d
Revisions (5)
  1. v3 current
  2. v4 [diff vs current]
  3. v5 [diff vs current]
  4. v6 [diff vs current]
  5. v7 [diff vs current]

[PATCH v3 3/6] dt-bindings: media: mt9p031: Add missing required properties

From: Stefan Riedmueller <hidden>
Date: 2021-07-02 09:59:38
Also in: linux-media, lkml
Subsystem: media input infrastructure (v4l/dvb), open firmware and flattened device tree bindings, the rest · Maintainers: Mauro Carvalho Chehab, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Linus Torvalds

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 <redacted>
---
 .../devicetree/bindings/media/i2c/mt9p031.txt        | 12 ++++++++++++
 1 file changed, 12 insertions(+)
diff --git a/Documentation/devicetree/bindings/media/i2c/mt9p031.txt b/Documentation/devicetree/bindings/media/i2c/mt9p031.txt
index cb60443ff78f..4437d0e3147d 100644
--- a/Documentation/devicetree/bindings/media/i2c/mt9p031.txt
+++ b/Documentation/devicetree/bindings/media/i2c/mt9p031.txt
@@ -9,6 +9,12 @@ Required Properties:
 	(a) "aptina,mt9p031" for mt9p031 sensor
 	(b) "aptina,mt9p031m" for mt9p031m sensor
 
+- clocks: Reference to the sensor input clock
+
+- vdd-supply: VDD supply regulator
+- vdd_io-supply: VDD_IO supply regulator
+- vaa-supply: VAA supply regulator
+
 - input-clock-frequency: Input clock frequency.
 
 - pixel-clock-frequency: Pixel clock frequency.
@@ -29,6 +35,12 @@ Example:
 			reg = <0x5d>;
 			reset-gpios = <&gpio3 30 0>;
 
+			clocks = <&sensor_clk>;
+
+			vdd-supply = <&reg_vdd>;
+			vdd_io-supply = <&reg_vdd_io>;
+			vaa-supply = <&reg_vaa>;
+
 			port {
 				mt9p031_1: endpoint {
 					input-clock-frequency = <6000000>;
-- 
2.25.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help