1 SMIA/SMIA++ sensor
2
3 SMIA (Standard Mobile Imaging Architecture) is an image sensor standard
4 defined jointly by Nokia and ST. SMIA++, defined by Nokia, is an extension
5 of that. These definitions are valid for both types of sensors.
6
7 More detailed documentation can be found in
8 Documentation/devicetree/bindings/media/video-interfaces.txt .
9
10 The device node should contain a "port" node which may contain one or more
11 endpoint nodes, in accordance with video interface bindings defined in
12 Documentation/devicetree/bindings/media/video-interfaces.txt .
13
14 Mandatory properties
15 --------------------
16
17 - compatible: "nokia,smia"
18 - reg: I2C address (0x10, or an alternative address)
19 - vana-supply: Analogue voltage supply (VANA), typically 2,8 volts (sensor
20 dependent).
21 - clocks: External clock to the sensor
22 - clock-frequency: Frequency of the external clock to the sensor
23 - link-frequencies: List of allowed data link frequencies. An array of
24 64-bit elements.
25
26
27 Optional properties
28 -------------------
29
30 - reset-gpios: XSHUTDOWN GPIO
31 - flash-leds: See ../video-interfaces.txt
32 - lens-focus: See ../video-interfaces.txt
33 - rotation: Integer property; valid values are 0 (sensor mounted upright)
34 and 180 (sensor mounted upside down). See
35 ../video-interfaces.txt .
36
37
38 Endpoint node mandatory properties
39 ----------------------------------
40
41 - data-lanes: <1..n>
42
43
44 Example
45 -------
46
47 &i2c2 {
48 clock-frequency = <400000>;
49
50 camera-sensor@10 {
51 compatible = "nokia,smia";
52 reg = <0x10>;
53 reset-gpios = <&gpio3 20 0>;
54 vana-supply = <&vaux3>;
55 clocks = <&omap3_isp 0>;
56 clock-frequency = <9600000>;
57 nokia,nvm-size = <512>; /* 8 * 64 */
58 link-frequencies = /bits/ 64 <199200000 210000000 499200000>;
59 port {
60 smiapp_ep: endpoint {
61 data-lanes = <1 2>;
62 remote-endpoint = <&csi2a_ep>;
63 };
64 };
65 };
66 };
Cache object: c37011fc0fe941ba64652a0d2651869a
|