~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/media/i2c/ovti,ov02a10.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/devicetree/bindings/media/i2c/ovti,ov02a10.yaml (Architecture i386) and /Documentation/devicetree/bindings/media/i2c/ovti,ov02a10.yaml (Architecture sparc)


  1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-C      1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
  2 # Copyright (c) 2020 MediaTek Inc.                  2 # Copyright (c) 2020 MediaTek Inc.
  3 %YAML 1.2                                           3 %YAML 1.2
  4 ---                                                 4 ---
  5 $id: http://devicetree.org/schemas/media/i2c/o      5 $id: http://devicetree.org/schemas/media/i2c/ovti,ov02a10.yaml#
  6 $schema: http://devicetree.org/meta-schemas/co      6 $schema: http://devicetree.org/meta-schemas/core.yaml#
  7                                                     7 
  8 title: Omnivision OV02A10 CMOS Sensor               8 title: Omnivision OV02A10 CMOS Sensor
  9                                                     9 
 10 maintainers:                                       10 maintainers:
 11   - Dongchun Zhu <dongchun.zhu@mediatek.com>        11   - Dongchun Zhu <dongchun.zhu@mediatek.com>
 12                                                    12 
 13 description: |-                                    13 description: |-
 14   The Omnivision OV02A10 is a low-cost, high p     14   The Omnivision OV02A10 is a low-cost, high performance, 1/5-inch, 2 megapixel
 15   image sensor, which is the latest production     15   image sensor, which is the latest production derived from Omnivision's CMOS
 16   image sensor technology. Ihis chip supports      16   image sensor technology. Ihis chip supports high frame rate speeds up to 30fps
 17   @ 1600x1200 (UXGA) resolution transferred ov     17   @ 1600x1200 (UXGA) resolution transferred over a 1-lane MIPI interface. The
 18   sensor output is available via CSI-2 serial      18   sensor output is available via CSI-2 serial data output.
 19                                                    19 
 20 allOf:                                             20 allOf:
 21   - $ref: /schemas/media/video-interface-devic     21   - $ref: /schemas/media/video-interface-devices.yaml#
 22                                                    22 
 23 properties:                                        23 properties:
 24   compatible:                                      24   compatible:
 25     const: ovti,ov02a10                            25     const: ovti,ov02a10
 26                                                    26 
 27   reg:                                             27   reg:
 28     maxItems: 1                                    28     maxItems: 1
 29                                                    29 
 30   clocks:                                          30   clocks:
 31     maxItems: 1                                    31     maxItems: 1
 32                                                    32 
 33   clock-names:                                     33   clock-names:
 34     description:                                   34     description:
 35       External clock for the sensor.               35       External clock for the sensor.
 36     items:                                         36     items:
 37       - const: eclk                                37       - const: eclk
 38                                                    38 
 39   clock-frequency:                                 39   clock-frequency:
 40     description:                                   40     description:
 41       Frequency of the eclk clock in Hz.           41       Frequency of the eclk clock in Hz.
 42                                                    42 
 43   dovdd-supply:                                    43   dovdd-supply:
 44     description:                                   44     description:
 45       Definition of the regulator used as Digi     45       Definition of the regulator used as Digital I/O voltage supply.
 46                                                    46 
 47   avdd-supply:                                     47   avdd-supply:
 48     description:                                   48     description:
 49       Definition of the regulator used as Anal     49       Definition of the regulator used as Analog voltage supply.
 50                                                    50 
 51   dvdd-supply:                                     51   dvdd-supply:
 52     description:                                   52     description:
 53       Definition of the regulator used as Digi     53       Definition of the regulator used as Digital core voltage supply.
 54                                                    54 
 55   powerdown-gpios:                                 55   powerdown-gpios:
 56     description:                                   56     description:
 57       Must be the device tree identifier of th     57       Must be the device tree identifier of the GPIO connected to the
 58       PD_PAD pin. This pin is used to place th     58       PD_PAD pin. This pin is used to place the OV02A10 into standby mode
 59       or shutdown mode. As the line needs to b     59       or shutdown mode. As the line needs to be high for the powerdown mode
 60       to be active, it should be marked GPIO_A     60       to be active, it should be marked GPIO_ACTIVE_HIGH.
 61     maxItems: 1                                    61     maxItems: 1
 62                                                    62 
 63   reset-gpios:                                     63   reset-gpios:
 64     description:                                   64     description:
 65       Must be the device tree identifier of th     65       Must be the device tree identifier of the GPIO connected to the
 66       RST_PD pin. If specified, it will be ass     66       RST_PD pin. If specified, it will be asserted during driver probe.
 67       As the line needs to be low for the rese     67       As the line needs to be low for the reset to be active, it should be
 68       marked GPIO_ACTIVE_LOW.                      68       marked GPIO_ACTIVE_LOW.
 69     maxItems: 1                                    69     maxItems: 1
 70                                                    70 
 71   port:                                            71   port:
 72     $ref: /schemas/graph.yaml#/$defs/port-base     72     $ref: /schemas/graph.yaml#/$defs/port-base
 73     additionalProperties: false                    73     additionalProperties: false
 74     description:                                   74     description:
 75       Output port node, single endpoint descri     75       Output port node, single endpoint describing the CSI-2 transmitter.
 76                                                    76 
 77     properties:                                    77     properties:
 78       endpoint:                                    78       endpoint:
 79         $ref: /schemas/media/video-interfaces.     79         $ref: /schemas/media/video-interfaces.yaml#
 80         unevaluatedProperties: false               80         unevaluatedProperties: false
 81                                                    81 
 82         properties:                                82         properties:
 83           link-frequencies: true                   83           link-frequencies: true
 84           ovti,mipi-clock-voltage:                 84           ovti,mipi-clock-voltage:
 85             $ref: /schemas/types.yaml#/definit     85             $ref: /schemas/types.yaml#/definitions/uint32
 86             description:                           86             description:
 87               Definition of MIPI clock voltage     87               Definition of MIPI clock voltage unit. This entry corresponds to
 88               the link speed defined by the 'l     88               the link speed defined by the 'link-frequencies' property.
 89               If present, the value shall be i     89               If present, the value shall be in the range of 0-4.
 90             default: 4                             90             default: 4
 91                                                    91 
 92         required:                                  92         required:
 93           - link-frequencies                       93           - link-frequencies
 94                                                    94 
 95     required:                                      95     required:
 96       - endpoint                                   96       - endpoint
 97                                                    97 
 98 required:                                          98 required:
 99   - compatible                                     99   - compatible
100   - reg                                           100   - reg
101   - clocks                                        101   - clocks
102   - clock-names                                   102   - clock-names
103   - clock-frequency                               103   - clock-frequency
104   - dovdd-supply                                  104   - dovdd-supply
105   - avdd-supply                                   105   - avdd-supply
106   - dvdd-supply                                   106   - dvdd-supply
107   - powerdown-gpios                               107   - powerdown-gpios
108   - reset-gpios                                   108   - reset-gpios
109   - port                                          109   - port
110                                                   110 
111 unevaluatedProperties: false                      111 unevaluatedProperties: false
112                                                   112 
113 examples:                                         113 examples:
114   - |                                             114   - |
115     #include <dt-bindings/gpio/gpio.h>            115     #include <dt-bindings/gpio/gpio.h>
116                                                   116 
117     i2c {                                         117     i2c {
118         #address-cells = <1>;                     118         #address-cells = <1>;
119         #size-cells = <0>;                        119         #size-cells = <0>;
120                                                   120 
121         ov02a10: camera-sensor@3d {               121         ov02a10: camera-sensor@3d {
122             compatible = "ovti,ov02a10";          122             compatible = "ovti,ov02a10";
123             reg = <0x3d>;                         123             reg = <0x3d>;
124                                                   124 
125             powerdown-gpios = <&pio 107 GPIO_A    125             powerdown-gpios = <&pio 107 GPIO_ACTIVE_HIGH>;
126             reset-gpios = <&pio 109 GPIO_ACTIV    126             reset-gpios = <&pio 109 GPIO_ACTIVE_LOW>;
127                                                   127 
128             clocks = <&ov02a10_clk>;              128             clocks = <&ov02a10_clk>;
129             clock-names = "eclk";                 129             clock-names = "eclk";
130             clock-frequency = <24000000>;         130             clock-frequency = <24000000>;
131                                                   131 
132             rotation = <180>;                     132             rotation = <180>;
133                                                   133 
134             dovdd-supply = <&ov02a10_dovdd>;      134             dovdd-supply = <&ov02a10_dovdd>;
135             avdd-supply = <&ov02a10_avdd>;        135             avdd-supply = <&ov02a10_avdd>;
136             dvdd-supply = <&ov02a10_dvdd>;        136             dvdd-supply = <&ov02a10_dvdd>;
137                                                   137 
138             port {                                138             port {
139                 wcam_out: endpoint {              139                 wcam_out: endpoint {
140                     link-frequencies = /bits/     140                     link-frequencies = /bits/ 64 <390000000>;
141                     ovti,mipi-clock-voltage =     141                     ovti,mipi-clock-voltage = <3>;
142                     remote-endpoint = <&mipi_i    142                     remote-endpoint = <&mipi_in_wcam>;
143                 };                                143                 };
144             };                                    144             };
145         };                                        145         };
146     };                                            146     };
147                                                   147 
148 ...                                               148 ...
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php