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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/media/i2c/ovti,ov5693.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,ov5693.yaml (Architecture i386) and /Documentation/devicetree/bindings/media/i2c/ovti,ov5693.yaml (Architecture sparc64)


  1 # SPDX-License-Identifier: (GPL-2.0-only OR BS      1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2 # Copyright (c) 2022 Amarulasolutions               2 # Copyright (c) 2022 Amarulasolutions
  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,ov5693.yaml#
  6 $schema: http://devicetree.org/meta-schemas/co      6 $schema: http://devicetree.org/meta-schemas/core.yaml#
  7                                                     7 
  8 title: Omnivision OV5693/OV5695 CMOS Sensors        8 title: Omnivision OV5693/OV5695 CMOS Sensors
  9                                                     9 
 10 maintainers:                                       10 maintainers:
 11   - Tommaso Merciai <tomm.merciai@gmail.com>        11   - Tommaso Merciai <tomm.merciai@gmail.com>
 12                                                    12 
 13 description: |                                     13 description: |
 14   The Omnivision OV5693/OV5695 are high perfor     14   The Omnivision OV5693/OV5695 are high performance, 1/4-inch, 5 megapixel, CMOS
 15   image sensors that deliver 2592x1944 at 30fp     15   image sensors that deliver 2592x1944 at 30fps. It provides full-frame,
 16   sub-sampled, and windowed 10-bit MIPI images     16   sub-sampled, and windowed 10-bit MIPI images in various formats via the
 17   Serial Camera Control Bus (SCCB) interface.      17   Serial Camera Control Bus (SCCB) interface.
 18                                                    18 
 19   OV5693/OV5695 are controlled via I2C and two     19   OV5693/OV5695 are controlled via I2C and two-wire Serial Camera Control Bus
 20   (SCCB). The sensor output is available via C     20   (SCCB). The sensor output is available via CSI-2 serial data output (up to
 21   2-lane).                                         21   2-lane).
 22                                                    22 
 23 allOf:                                             23 allOf:
 24   - $ref: /schemas/media/video-interface-devic     24   - $ref: /schemas/media/video-interface-devices.yaml#
 25   - if:                                            25   - if:
 26       properties:                                  26       properties:
 27         compatible:                                27         compatible:
 28           contains:                                28           contains:
 29             const: ovti,ov5693                     29             const: ovti,ov5693
 30     then:                                          30     then:
 31       properties:                                  31       properties:
 32         port:                                      32         port:
 33           properties:                              33           properties:
 34             endpoint:                              34             endpoint:
 35               required:                            35               required:
 36                 - link-frequencies                 36                 - link-frequencies
 37                                                    37 
 38 properties:                                        38 properties:
 39   compatible:                                      39   compatible:
 40     enum:                                          40     enum:
 41       - ovti,ov5693                                41       - ovti,ov5693
 42       - ovti,ov5695                                42       - ovti,ov5695
 43                                                    43 
 44   reg:                                             44   reg:
 45     maxItems: 1                                    45     maxItems: 1
 46                                                    46 
 47   clocks:                                          47   clocks:
 48     description:                                   48     description:
 49       System input clock (aka XVCLK). From 6 t     49       System input clock (aka XVCLK). From 6 to 27 MHz.
 50     maxItems: 1                                    50     maxItems: 1
 51                                                    51 
 52   clock-names:                                     52   clock-names:
 53     const: xvclk                                   53     const: xvclk
 54                                                    54 
 55   dovdd-supply:                                    55   dovdd-supply:
 56     description:                                   56     description:
 57       Digital I/O voltage supply, 1.8V.            57       Digital I/O voltage supply, 1.8V.
 58                                                    58 
 59   avdd-supply:                                     59   avdd-supply:
 60     description:                                   60     description:
 61       Analog voltage supply, 2.8V.                 61       Analog voltage supply, 2.8V.
 62                                                    62 
 63   dvdd-supply:                                     63   dvdd-supply:
 64     description:                                   64     description:
 65       Digital core voltage supply, 1.2V.           65       Digital core voltage supply, 1.2V.
 66                                                    66 
 67   reset-gpios:                                     67   reset-gpios:
 68     description:                                   68     description:
 69       The phandle and specifier for the GPIO t     69       The phandle and specifier for the GPIO that controls sensor reset.
 70       This corresponds to the hardware pin XSH     70       This corresponds to the hardware pin XSHUTDN which is physically
 71       active low.                                  71       active low.
 72     maxItems: 1                                    72     maxItems: 1
 73                                                    73 
 74   port:                                            74   port:
 75     description: MIPI CSI-2 transmitter port       75     description: MIPI CSI-2 transmitter port
 76     $ref: /schemas/graph.yaml#/$defs/port-base     76     $ref: /schemas/graph.yaml#/$defs/port-base
 77     additionalProperties: false                    77     additionalProperties: false
 78                                                    78 
 79     properties:                                    79     properties:
 80       endpoint:                                    80       endpoint:
 81         $ref: /schemas/media/video-interfaces.     81         $ref: /schemas/media/video-interfaces.yaml#
 82         unevaluatedProperties: false               82         unevaluatedProperties: false
 83                                                    83 
 84         properties:                                84         properties:
 85           link-frequencies: true                   85           link-frequencies: true
 86                                                    86 
 87           data-lanes:                              87           data-lanes:
 88             minItems: 1                            88             minItems: 1
 89             maxItems: 2                            89             maxItems: 2
 90                                                    90 
 91         required:                                  91         required:
 92           - data-lanes                             92           - data-lanes
 93                                                    93 
 94 required:                                          94 required:
 95   - compatible                                     95   - compatible
 96   - reg                                            96   - reg
 97   - clocks                                         97   - clocks
 98   - port                                           98   - port
 99                                                    99 
100 unevaluatedProperties: false                      100 unevaluatedProperties: false
101                                                   101 
102 examples:                                         102 examples:
103   - |                                             103   - |
104     #include <dt-bindings/clock/px30-cru.h>       104     #include <dt-bindings/clock/px30-cru.h>
105     #include <dt-bindings/gpio/gpio.h>            105     #include <dt-bindings/gpio/gpio.h>
106     #include <dt-bindings/pinctrl/rockchip.h>     106     #include <dt-bindings/pinctrl/rockchip.h>
107                                                   107 
108     i2c {                                         108     i2c {
109         #address-cells = <1>;                     109         #address-cells = <1>;
110         #size-cells = <0>;                        110         #size-cells = <0>;
111                                                   111 
112         ov5693: camera@36 {                       112         ov5693: camera@36 {
113             compatible = "ovti,ov5693";           113             compatible = "ovti,ov5693";
114             reg = <0x36>;                         114             reg = <0x36>;
115                                                   115 
116             reset-gpios = <&gpio2 RK_PB1 GPIO_    116             reset-gpios = <&gpio2 RK_PB1 GPIO_ACTIVE_LOW>;
117             pinctrl-names = "default";            117             pinctrl-names = "default";
118             pinctrl-0 = <&cif_clkout_m0>;         118             pinctrl-0 = <&cif_clkout_m0>;
119                                                   119 
120             clocks = <&cru SCLK_CIF_OUT>;         120             clocks = <&cru SCLK_CIF_OUT>;
121             assigned-clocks = <&cru SCLK_CIF_O    121             assigned-clocks = <&cru SCLK_CIF_OUT>;
122             assigned-clock-rates = <19200000>;    122             assigned-clock-rates = <19200000>;
123                                                   123 
124             avdd-supply = <&vcc_1v8>;             124             avdd-supply = <&vcc_1v8>;
125             dvdd-supply = <&vcc_1v2>;             125             dvdd-supply = <&vcc_1v2>;
126             dovdd-supply = <&vcc_2v8>;            126             dovdd-supply = <&vcc_2v8>;
127                                                   127 
128             rotation = <90>;                      128             rotation = <90>;
129             orientation = <0>;                    129             orientation = <0>;
130                                                   130 
131             port {                                131             port {
132                 ucam_out: endpoint {              132                 ucam_out: endpoint {
133                     remote-endpoint = <&mipi_i    133                     remote-endpoint = <&mipi_in_ucam>;
134                     data-lanes = <1 2>;           134                     data-lanes = <1 2>;
135                     link-frequencies = /bits/     135                     link-frequencies = /bits/ 64 <450000000>;
136                 };                                136                 };
137             };                                    137             };
138         };                                        138         };
139     };                                            139     };
140                                                   140 
141 ...                                               141 ...
                                                      

~ [ 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