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

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


  1 # SPDX-License-Identifier: (GPL-2.0-only OR BS      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/onnn,ar0521.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: ON Semiconductor AR0521 MIPI CSI-2 sens      7 title: ON Semiconductor AR0521 MIPI CSI-2 sensor
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Krzysztof Hałasa <khalasa@piap.pl>             10   - Krzysztof Hałasa <khalasa@piap.pl>
 11                                                    11 
 12 description: |-                                    12 description: |-
 13   The AR0521 is a raw CMOS image sensor with M     13   The AR0521 is a raw CMOS image sensor with MIPI CSI-2 and
 14   I2C-compatible control interface.                14   I2C-compatible control interface.
 15                                                    15 
 16 properties:                                        16 properties:
 17   compatible:                                      17   compatible:
 18     const: onnn,ar0521                             18     const: onnn,ar0521
 19                                                    19 
 20   reg:                                             20   reg:
 21     maxItems: 1                                    21     maxItems: 1
 22                                                    22 
 23   clocks:                                          23   clocks:
 24     maxItems: 1                                    24     maxItems: 1
 25                                                    25 
 26   clock-names:                                     26   clock-names:
 27     const: extclk                                  27     const: extclk
 28                                                    28 
 29   vaa-supply:                                      29   vaa-supply:
 30     description:                                   30     description:
 31       Definition of the regulator used as anal     31       Definition of the regulator used as analog (2.7 V) voltage supply.
 32                                                    32 
 33   vdd-supply:                                      33   vdd-supply:
 34     description:                                   34     description:
 35       Definition of the regulator used as digi     35       Definition of the regulator used as digital core (1.2 V) voltage supply.
 36                                                    36 
 37   vdd_io-supply:                                   37   vdd_io-supply:
 38     description:                                   38     description:
 39       Definition of the regulator used as digi     39       Definition of the regulator used as digital I/O (1.8 V) voltage supply.
 40                                                    40 
 41   reset-gpios:                                     41   reset-gpios:
 42     description: reset GPIO, usually active lo     42     description: reset GPIO, usually active low
 43     maxItems: 1                                    43     maxItems: 1
 44                                                    44 
 45   port:                                            45   port:
 46     $ref: /schemas/graph.yaml#/$defs/port-base     46     $ref: /schemas/graph.yaml#/$defs/port-base
 47     unevaluatedProperties: false                   47     unevaluatedProperties: false
 48     description: |                                 48     description: |
 49       Video output port.                           49       Video output port.
 50                                                    50 
 51     properties:                                    51     properties:
 52       endpoint:                                    52       endpoint:
 53         $ref: /schemas/media/video-interfaces.     53         $ref: /schemas/media/video-interfaces.yaml#
 54         unevaluatedProperties: false               54         unevaluatedProperties: false
 55                                                    55 
 56         properties:                                56         properties:
 57           bus-type:                                57           bus-type:
 58             const: 4                               58             const: 4
 59           data-lanes:                              59           data-lanes:
 60             anyOf:                                 60             anyOf:
 61               - items:                             61               - items:
 62                   - const: 1                       62                   - const: 1
 63               - items:                             63               - items:
 64                   - const: 1                       64                   - const: 1
 65                   - const: 2                       65                   - const: 2
 66               - items:                             66               - items:
 67                   - const: 1                       67                   - const: 1
 68                   - const: 2                       68                   - const: 2
 69                   - const: 3                       69                   - const: 3
 70                   - const: 4                       70                   - const: 4
 71                                                    71 
 72 required:                                          72 required:
 73   - compatible                                     73   - compatible
 74   - reg                                            74   - reg
 75   - clocks                                         75   - clocks
 76   - clock-names                                    76   - clock-names
 77   - vaa-supply                                     77   - vaa-supply
 78   - vdd-supply                                     78   - vdd-supply
 79   - vdd_io-supply                                  79   - vdd_io-supply
 80   - port                                           80   - port
 81                                                    81 
 82 additionalProperties: false                        82 additionalProperties: false
 83                                                    83 
 84 examples:                                          84 examples:
 85   - |                                              85   - |
 86     #include <dt-bindings/gpio/gpio.h>             86     #include <dt-bindings/gpio/gpio.h>
 87     #include <dt-bindings/clock/imx6qdl-clock.     87     #include <dt-bindings/clock/imx6qdl-clock.h>
 88                                                    88 
 89     i2c {                                          89     i2c {
 90             #address-cells = <1>;                  90             #address-cells = <1>;
 91             #size-cells = <0>;                     91             #size-cells = <0>;
 92                                                    92 
 93             ar0521: camera-sensor@36 {             93             ar0521: camera-sensor@36 {
 94                     compatible = "onnn,ar0521"     94                     compatible = "onnn,ar0521";
 95                     reg = <0x36>;                  95                     reg = <0x36>;
 96                     pinctrl-names = "default";     96                     pinctrl-names = "default";
 97                     pinctrl-0 = <&pinctrl_mipi     97                     pinctrl-0 = <&pinctrl_mipi_camera>;
 98                     clocks = <&clks IMX6QDL_CL     98                     clocks = <&clks IMX6QDL_CLK_CKO>;
 99                     clock-names = "extclk";        99                     clock-names = "extclk";
100                     reset-gpios = <&gpio1 7 GP    100                     reset-gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;
101                     vaa-supply = <&reg_2p7v>;     101                     vaa-supply = <&reg_2p7v>;
102                     vdd-supply = <&reg_1p2v>;     102                     vdd-supply = <&reg_1p2v>;
103                     vdd_io-supply = <&reg_1p8v    103                     vdd_io-supply = <&reg_1p8v>;
104                                                   104 
105                     port {                        105                     port {
106                            mipi_camera_to_mipi    106                            mipi_camera_to_mipi_csi2: endpoint {
107                                     remote-end    107                                     remote-endpoint = <&mipi_csi2_in>;
108                                     data-lanes    108                                     data-lanes = <1 2 3 4>;
109                             };                    109                             };
110                     };                            110                     };
111             };                                    111             };
112     };                                            112     };
                                                      

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