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

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


  1 # SPDX-License-Identifier: GPL-2.0-only OR BSD      1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
  2 %YAML 1.2                                           2 %YAML 1.2
  3 ---                                                 3 ---
  4 $id: http://devicetree.org/schemas/media/i2c/o      4 $id: http://devicetree.org/schemas/media/i2c/ovti,ov5642.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: OmniVision OV5642 Image Sensor               7 title: OmniVision OV5642 Image Sensor
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Fabio Estevam <festevam@gmail.com>              10   - Fabio Estevam <festevam@gmail.com>
 11                                                    11 
 12 allOf:                                             12 allOf:
 13   - $ref: /schemas/media/video-interface-devic     13   - $ref: /schemas/media/video-interface-devices.yaml#
 14                                                    14 
 15 properties:                                        15 properties:
 16   compatible:                                      16   compatible:
 17     const: ovti,ov5642                             17     const: ovti,ov5642
 18                                                    18 
 19   reg:                                             19   reg:
 20     maxItems: 1                                    20     maxItems: 1
 21                                                    21 
 22   clocks:                                          22   clocks:
 23     description: XCLK Input Clock                  23     description: XCLK Input Clock
 24                                                    24 
 25   AVDD-supply:                                     25   AVDD-supply:
 26     description: Analog voltage supply, 2.8V.      26     description: Analog voltage supply, 2.8V.
 27                                                    27 
 28   DVDD-supply:                                     28   DVDD-supply:
 29     description: Digital core voltage supply,      29     description: Digital core voltage supply, 1.5V.
 30                                                    30 
 31   DOVDD-supply:                                    31   DOVDD-supply:
 32     description: Digital I/O voltage supply, 1     32     description: Digital I/O voltage supply, 1.8V.
 33                                                    33 
 34   powerdown-gpios:                                 34   powerdown-gpios:
 35     maxItems: 1                                    35     maxItems: 1
 36     description: Reference to the GPIO connect     36     description: Reference to the GPIO connected to the powerdown pin, if any.
 37                                                    37 
 38   reset-gpios:                                     38   reset-gpios:
 39     maxItems: 1                                    39     maxItems: 1
 40     description: Reference to the GPIO connect     40     description: Reference to the GPIO connected to the reset pin, if any.
 41                                                    41 
 42   port:                                            42   port:
 43     $ref: /schemas/graph.yaml#/$defs/port-base     43     $ref: /schemas/graph.yaml#/$defs/port-base
 44     description: |                                 44     description: |
 45       Video output port.                           45       Video output port.
 46                                                    46 
 47     properties:                                    47     properties:
 48       endpoint:                                    48       endpoint:
 49         $ref: /schemas/media/video-interfaces.     49         $ref: /schemas/media/video-interfaces.yaml#
 50         unevaluatedProperties: false               50         unevaluatedProperties: false
 51                                                    51 
 52         properties:                                52         properties:
 53           bus-type:                                53           bus-type:
 54             enum: [5, 6]                           54             enum: [5, 6]
 55                                                    55 
 56           bus-width:                               56           bus-width:
 57             enum: [8, 10]                          57             enum: [8, 10]
 58             default: 10                            58             default: 10
 59                                                    59 
 60           data-shift:                              60           data-shift:
 61             enum: [0, 2]                           61             enum: [0, 2]
 62             default: 0                             62             default: 0
 63                                                    63 
 64           hsync-active:                            64           hsync-active:
 65             enum: [0, 1]                           65             enum: [0, 1]
 66             default: 1                             66             default: 1
 67                                                    67 
 68           vsync-active:                            68           vsync-active:
 69             enum: [0, 1]                           69             enum: [0, 1]
 70             default: 1                             70             default: 1
 71                                                    71 
 72           pclk-sample:                             72           pclk-sample:
 73             enum: [0, 1]                           73             enum: [0, 1]
 74             default: 1                             74             default: 1
 75                                                    75 
 76         allOf:                                     76         allOf:
 77           - if:                                    77           - if:
 78               properties:                          78               properties:
 79                 bus-type:                          79                 bus-type:
 80                   const: 6                         80                   const: 6
 81             then:                                  81             then:
 82               properties:                          82               properties:
 83                 hsync-active: false                83                 hsync-active: false
 84                 vsync-active: false                84                 vsync-active: false
 85                                                    85 
 86           - if:                                    86           - if:
 87               properties:                          87               properties:
 88                 bus-width:                         88                 bus-width:
 89                   const: 10                        89                   const: 10
 90             then:                                  90             then:
 91               properties:                          91               properties:
 92                 data-shift:                        92                 data-shift:
 93                   const: 0                         93                   const: 0
 94                                                    94 
 95         required:                                  95         required:
 96           - bus-type                               96           - bus-type
 97                                                    97 
 98     additionalProperties: false                    98     additionalProperties: false
 99                                                    99 
100 required:                                         100 required:
101   - compatible                                    101   - compatible
102   - reg                                           102   - reg
103   - clocks                                        103   - clocks
104   - port                                          104   - port
105                                                   105 
106 additionalProperties: false                       106 additionalProperties: false
107                                                   107 
108 examples:                                         108 examples:
109   - |                                             109   - |
110       #include <dt-bindings/gpio/gpio.h>          110       #include <dt-bindings/gpio/gpio.h>
111       #include <dt-bindings/media/video-interf    111       #include <dt-bindings/media/video-interfaces.h>
112                                                   112 
113       i2c {                                       113       i2c {
114           #address-cells = <1>;                   114           #address-cells = <1>;
115           #size-cells = <0>;                      115           #size-cells = <0>;
116                                                   116 
117           camera@3c {                             117           camera@3c {
118               compatible = "ovti,ov5642";         118               compatible = "ovti,ov5642";
119               reg = <0x3c>;                       119               reg = <0x3c>;
120               pinctrl-names = "default";          120               pinctrl-names = "default";
121               pinctrl-0 = <&pinctrl_ov5642>;      121               pinctrl-0 = <&pinctrl_ov5642>;
122               clocks = <&clk_ext_camera>;         122               clocks = <&clk_ext_camera>;
123               DOVDD-supply = <&vgen4_reg>;        123               DOVDD-supply = <&vgen4_reg>;
124               AVDD-supply = <&vgen3_reg>;         124               AVDD-supply = <&vgen3_reg>;
125               DVDD-supply = <&vgen2_reg>;         125               DVDD-supply = <&vgen2_reg>;
126               powerdown-gpios = <&gpio1 19 GPI    126               powerdown-gpios = <&gpio1 19 GPIO_ACTIVE_HIGH>;
127               reset-gpios = <&gpio1 20 GPIO_AC    127               reset-gpios = <&gpio1 20 GPIO_ACTIVE_LOW>;
128                                                   128 
129               port {                              129               port {
130                   ov5642_to_parallel: endpoint    130                   ov5642_to_parallel: endpoint {
131                       bus-type = <MEDIA_BUS_TY    131                       bus-type = <MEDIA_BUS_TYPE_PARALLEL>;
132                       remote-endpoint = <&para    132                       remote-endpoint = <&parallel_from_ov5642>;
133                       bus-width = <8>;            133                       bus-width = <8>;
134                       data-shift = <2>; /* lin    134                       data-shift = <2>; /* lines 9:2 are used */
135                       hsync-active = <0>;         135                       hsync-active = <0>;
136                       vsync-active = <0>;         136                       vsync-active = <0>;
137                       pclk-sample = <1>;          137                       pclk-sample = <1>;
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