Debian Codegraph @

Documentation/devicetree/bindings/media/i2c/toshiba,et8ek8.yaml

raw symbols SCIP
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/media/i2c/toshiba,et8ek8.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Toshiba et8ek8 5MP sensor
8
9 maintainers:
10 - Pavel Machek <[email protected]>
11 - Sakari Ailus <[email protected]>
12
13 description:
14 Toshiba et8ek8 5MP sensor is an image sensor found in Nokia N900 device
15
16 allOf:
17 - $ref: /schemas/media/video-interface-devices.yaml#
18
19 properties:
20 compatible:
21 const: toshiba,et8ek8
22
23 reg:
24 description:
25 I2C address (0x3e, or an alternative address)
26 maxItems: 1
27
28 vana-supply:
29 description:
30 Analogue voltage supply (VANA), 2.8 volts
31
32 clocks:
33 maxItems: 1
34
35 reset-gpios:
36 description:
37 XSHUTDOWN GPIO. The XSHUTDOWN signal is active low. The sensor
38 is in hardware standby mode when the signal is in the low state.
39 maxItems: 1
40
41 flash-leds:
42 maxItems: 1
43
44 port:
45 $ref: /schemas/graph.yaml#/$defs/port-base
46 additionalProperties: false
47
48 properties:
49 endpoint:
50 $ref: /schemas/media/video-interfaces.yaml#
51 unevaluatedProperties: false
52
53 required:
54 - compatible
55 - reg
56 - vana-supply
57 - clocks
58 - reset-gpios
59 - port
60
61 unevaluatedProperties: false
62
63 examples:
64 - |
65 #include <dt-bindings/gpio/gpio.h>
66
67 i2c {
68 #address-cells = <1>;
69 #size-cells = <0>;
70
71 camera@3e {
72 compatible = "toshiba,et8ek8";
73 reg = <0x3e>;
74 vana-supply = <&vaux4>;
75 clocks = <&isp 0>;
76 assigned-clocks = <&isp 0>;
77 assigned-clock-rates = <9600000>;
78 reset-gpios = <&gpio4 6 GPIO_ACTIVE_HIGH>;
79 flash-leds = <&led>;
80
81 port {
82 csi_cam1: endpoint {
83 remote-endpoint = <&csi_out1>;
84 };
85 };
86 };
87 };