Linux-libre 5.3.12-gnu
[librecmc/linux-libre.git] / Documentation / devicetree / bindings / media / i2c / toshiba,et8ek8.txt
1 Toshiba et8ek8 5MP sensor
2
3 Toshiba et8ek8 5MP sensor is an image sensor found in Nokia N900 device
4
5 More detailed documentation can be found in
6 Documentation/devicetree/bindings/media/video-interfaces.txt .
7
8
9 Mandatory properties
10 --------------------
11
12 - compatible: "toshiba,et8ek8"
13 - reg: I2C address (0x3e, or an alternative address)
14 - vana-supply: Analogue voltage supply (VANA), 2.8 volts
15 - clocks: External clock to the sensor
16 - clock-frequency: Frequency of the external clock to the sensor. Camera
17   driver will set this frequency on the external clock. The clock frequency is
18   a pre-determined frequency known to be suitable to the board.
19 - reset-gpios: XSHUTDOWN GPIO. The XSHUTDOWN signal is active low. The sensor
20   is in hardware standby mode when the signal is in the low state.
21
22
23 Optional properties
24 -------------------
25
26 - flash-leds: See ../video-interfaces.txt
27 - lens-focus: See ../video-interfaces.txt
28
29
30 Endpoint node mandatory properties
31 ----------------------------------
32
33 - remote-endpoint: A phandle to the bus receiver's endpoint node.
34
35
36 Example
37 -------
38
39 &i2c3 {
40         clock-frequency = <400000>;
41
42         cam1: camera@3e {
43                 compatible = "toshiba,et8ek8";
44                 reg = <0x3e>;
45                 vana-supply = <&vaux4>;
46                 clocks = <&isp 0>;
47                 clock-frequency = <9600000>;
48                 reset-gpio = <&gpio4 6 GPIO_ACTIVE_HIGH>; /* 102 */
49                 port {
50                         csi_cam1: endpoint {
51                                 remote-endpoint = <&csi_out1>;
52                         };
53                 };
54         };
55 };