aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Documentation/devicetree/bindings/media/i2c/nokia,smia.txt63
-rw-r--r--MAINTAINERS1
2 files changed, 64 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/media/i2c/nokia,smia.txt b/Documentation/devicetree/bindings/media/i2c/nokia,smia.txt
new file mode 100644
index 000000000000..855e1faf73e2
--- /dev/null
+++ b/Documentation/devicetree/bindings/media/i2c/nokia,smia.txt
@@ -0,0 +1,63 @@
1SMIA/SMIA++ sensor
2
3SMIA (Standard Mobile Imaging Architecture) is an image sensor standard
4defined jointly by Nokia and ST. SMIA++, defined by Nokia, is an extension
5of that. These definitions are valid for both types of sensors.
6
7More detailed documentation can be found in
8Documentation/devicetree/bindings/media/video-interfaces.txt .
9
10
11Mandatory properties
12--------------------
13
14- compatible: "nokia,smia"
15- reg: I2C address (0x10, or an alternative address)
16- vana-supply: Analogue voltage supply (VANA), typically 2,8 volts (sensor
17 dependent).
18- clocks: External clock to the sensor
19- clock-frequency: Frequency of the external clock to the sensor
20- link-frequencies: List of allowed data link frequencies. An array of
21 64-bit elements.
22
23
24Optional properties
25-------------------
26
27- nokia,nvm-size: The size of the NVM, in bytes. If the size is not given,
28 the NVM contents will not be read.
29- reset-gpios: XSHUTDOWN GPIO
30
31
32Endpoint node mandatory properties
33----------------------------------
34
35- clock-lanes: <0>
36- data-lanes: <1..n>
37- remote-endpoint: A phandle to the bus receiver's endpoint node.
38
39
40Example
41-------
42
43&i2c2 {
44 clock-frequency = <400000>;
45
46 smiapp_1: camera@10 {
47 compatible = "nokia,smia";
48 reg = <0x10>;
49 reset-gpios = <&gpio3 20 0>;
50 vana-supply = <&vaux3>;
51 clocks = <&omap3_isp 0>;
52 clock-frequency = <9600000>;
53 nokia,nvm-size = <512>; /* 8 * 64 */
54 link-frequencies = /bits/ 64 <199200000 210000000 499200000>;
55 port {
56 smiapp_1_1: endpoint {
57 clock-lanes = <0>;
58 data-lanes = <1 2>;
59 remote-endpoint = <&csi2a_ep>;
60 };
61 };
62 };
63};
diff --git a/MAINTAINERS b/MAINTAINERS
index f7d04bac206b..dc2d91252d8b 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -8827,6 +8827,7 @@ F: include/media/smiapp.h
8827F: drivers/media/i2c/smiapp-pll.c 8827F: drivers/media/i2c/smiapp-pll.c
8828F: drivers/media/i2c/smiapp-pll.h 8828F: drivers/media/i2c/smiapp-pll.h
8829F: include/uapi/linux/smiapp.h 8829F: include/uapi/linux/smiapp.h
8830F: Documentation/devicetree/bindings/media/i2c/nokia,smia.txt
8830 8831
8831SMM665 HARDWARE MONITOR DRIVER 8832SMM665 HARDWARE MONITOR DRIVER
8832M: Guenter Roeck <linux@roeck-us.net> 8833M: Guenter Roeck <linux@roeck-us.net>