aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r--Documentation/devicetree/bindings/media/i2c/mt9p031.txt40
-rw-r--r--Documentation/devicetree/bindings/media/samsung-fimc.txt26
2 files changed, 53 insertions, 13 deletions
diff --git a/Documentation/devicetree/bindings/media/i2c/mt9p031.txt b/Documentation/devicetree/bindings/media/i2c/mt9p031.txt
new file mode 100644
index 000000000000..cb60443ff78f
--- /dev/null
+++ b/Documentation/devicetree/bindings/media/i2c/mt9p031.txt
@@ -0,0 +1,40 @@
1* Aptina 1/2.5-Inch 5Mp CMOS Digital Image Sensor
2
3The Aptina MT9P031 is a 1/2.5-inch CMOS active pixel digital image sensor with
4an active array size of 2592H x 1944V. It is programmable through a simple
5two-wire serial interface.
6
7Required Properties:
8- compatible: value should be either one among the following
9 (a) "aptina,mt9p031" for mt9p031 sensor
10 (b) "aptina,mt9p031m" for mt9p031m sensor
11
12- input-clock-frequency: Input clock frequency.
13
14- pixel-clock-frequency: Pixel clock frequency.
15
16Optional Properties:
17- reset-gpios: Chip reset GPIO
18
19For further reading on port node refer to
20Documentation/devicetree/bindings/media/video-interfaces.txt.
21
22Example:
23
24 i2c0@1c22000 {
25 ...
26 ...
27 mt9p031@5d {
28 compatible = "aptina,mt9p031";
29 reg = <0x5d>;
30 reset-gpios = <&gpio3 30 0>;
31
32 port {
33 mt9p031_1: endpoint {
34 input-clock-frequency = <6000000>;
35 pixel-clock-frequency = <96000000>;
36 };
37 };
38 };
39 ...
40 };
diff --git a/Documentation/devicetree/bindings/media/samsung-fimc.txt b/Documentation/devicetree/bindings/media/samsung-fimc.txt
index 51c776b7f7a3..96312f6c4c26 100644
--- a/Documentation/devicetree/bindings/media/samsung-fimc.txt
+++ b/Documentation/devicetree/bindings/media/samsung-fimc.txt
@@ -127,22 +127,22 @@ Example:
127 }; 127 };
128 }; 128 };
129 }; 129 };
130 };
131 130
132 /* MIPI CSI-2 bus IF sensor */ 131 /* MIPI CSI-2 bus IF sensor */
133 s5c73m3: sensor@0x1a { 132 s5c73m3: sensor@0x1a {
134 compatible = "samsung,s5c73m3"; 133 compatible = "samsung,s5c73m3";
135 reg = <0x1a>; 134 reg = <0x1a>;
136 vddio-supply = <...>; 135 vddio-supply = <...>;
137 136
138 clock-frequency = <24000000>; 137 clock-frequency = <24000000>;
139 clocks = <...>; 138 clocks = <...>;
140 clock-names = "mclk"; 139 clock-names = "mclk";
141 140
142 port { 141 port {
143 s5c73m3_1: endpoint { 142 s5c73m3_1: endpoint {
144 data-lanes = <1 2 3 4>; 143 data-lanes = <1 2 3 4>;
145 remote-endpoint = <&csis0_ep>; 144 remote-endpoint = <&csis0_ep>;
145 };
146 }; 146 };
147 }; 147 };
148 }; 148 };