.. | .. |
---|
7 | 7 | More detailed documentation can be found in |
---|
8 | 8 | Documentation/devicetree/bindings/media/video-interfaces.txt . |
---|
9 | 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 . |
---|
10 | 13 | |
---|
11 | 14 | Mandatory properties |
---|
12 | 15 | -------------------- |
---|
.. | .. |
---|
24 | 27 | Optional properties |
---|
25 | 28 | ------------------- |
---|
26 | 29 | |
---|
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 | 30 | - reset-gpios: XSHUTDOWN GPIO |
---|
30 | 31 | - flash-leds: See ../video-interfaces.txt |
---|
31 | 32 | - lens-focus: See ../video-interfaces.txt |
---|
.. | .. |
---|
37 | 38 | Endpoint node mandatory properties |
---|
38 | 39 | ---------------------------------- |
---|
39 | 40 | |
---|
40 | | -- clock-lanes: <0> |
---|
41 | 41 | - data-lanes: <1..n> |
---|
42 | | -- remote-endpoint: A phandle to the bus receiver's endpoint node. |
---|
43 | 42 | |
---|
44 | 43 | |
---|
45 | 44 | Example |
---|
.. | .. |
---|
48 | 47 | &i2c2 { |
---|
49 | 48 | clock-frequency = <400000>; |
---|
50 | 49 | |
---|
51 | | - smiapp_1: camera@10 { |
---|
| 50 | + camera-sensor@10 { |
---|
52 | 51 | compatible = "nokia,smia"; |
---|
53 | 52 | reg = <0x10>; |
---|
54 | 53 | reset-gpios = <&gpio3 20 0>; |
---|
.. | .. |
---|
58 | 57 | nokia,nvm-size = <512>; /* 8 * 64 */ |
---|
59 | 58 | link-frequencies = /bits/ 64 <199200000 210000000 499200000>; |
---|
60 | 59 | port { |
---|
61 | | - smiapp_1_1: endpoint { |
---|
62 | | - clock-lanes = <0>; |
---|
| 60 | + smiapp_ep: endpoint { |
---|
63 | 61 | data-lanes = <1 2>; |
---|
64 | 62 | remote-endpoint = <&csi2a_ep>; |
---|
65 | 63 | }; |
---|