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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/media/allwinner,sun6i-a31-mipi-csi2.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/allwinner,sun6i-a31-mipi-csi2.yaml (Version linux-6.12-rc7) and /Documentation/devicetree/bindings/media/allwinner,sun6i-a31-mipi-csi2.yaml (Version linux-6.1.116)


  1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-C      1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
  2 %YAML 1.2                                           2 %YAML 1.2
  3 ---                                                 3 ---
  4 $id: http://devicetree.org/schemas/media/allwi      4 $id: http://devicetree.org/schemas/media/allwinner,sun6i-a31-mipi-csi2.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: Allwinner A31 MIPI CSI-2                     7 title: Allwinner A31 MIPI CSI-2
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Paul Kocialkowski <paul.kocialkowski@bootli     10   - Paul Kocialkowski <paul.kocialkowski@bootlin.com>
 11                                                    11 
 12 properties:                                        12 properties:
 13   compatible:                                      13   compatible:
 14     oneOf:                                         14     oneOf:
 15       - const: allwinner,sun6i-a31-mipi-csi2       15       - const: allwinner,sun6i-a31-mipi-csi2
 16       - items:                                     16       - items:
 17           - const: allwinner,sun8i-v3s-mipi-cs     17           - const: allwinner,sun8i-v3s-mipi-csi2
 18           - const: allwinner,sun6i-a31-mipi-cs     18           - const: allwinner,sun6i-a31-mipi-csi2
 19                                                    19 
 20   reg:                                             20   reg:
 21     maxItems: 1                                    21     maxItems: 1
 22                                                    22 
 23   interrupts:                                      23   interrupts:
 24     maxItems: 1                                    24     maxItems: 1
 25                                                    25 
 26   clocks:                                          26   clocks:
 27     items:                                         27     items:
 28       - description: Bus Clock                     28       - description: Bus Clock
 29       - description: Module Clock                  29       - description: Module Clock
 30                                                    30 
 31   clock-names:                                     31   clock-names:
 32     items:                                         32     items:
 33       - const: bus                                 33       - const: bus
 34       - const: mod                                 34       - const: mod
 35                                                    35 
 36   phys:                                            36   phys:
 37     maxItems: 1                                    37     maxItems: 1
 38     description: MIPI D-PHY                        38     description: MIPI D-PHY
 39                                                    39 
 40   phy-names:                                       40   phy-names:
 41     items:                                         41     items:
 42       - const: dphy                                42       - const: dphy
 43                                                    43 
 44   resets:                                          44   resets:
 45     maxItems: 1                                    45     maxItems: 1
 46                                                    46 
 47   ports:                                           47   ports:
 48     $ref: /schemas/graph.yaml#/properties/port     48     $ref: /schemas/graph.yaml#/properties/ports
 49                                                    49 
 50     properties:                                    50     properties:
 51       port@0:                                      51       port@0:
 52         $ref: /schemas/graph.yaml#/$defs/port-     52         $ref: /schemas/graph.yaml#/$defs/port-base
 53         description: Input port, connect to a      53         description: Input port, connect to a MIPI CSI-2 sensor
 54                                                    54 
 55         properties:                                55         properties:
 56           reg:                                     56           reg:
 57             const: 0                               57             const: 0
 58                                                    58 
 59           endpoint:                                59           endpoint:
 60             $ref: video-interfaces.yaml#           60             $ref: video-interfaces.yaml#
 61             unevaluatedProperties: false           61             unevaluatedProperties: false
 62                                                    62 
 63             properties:                            63             properties:
 64               data-lanes:                          64               data-lanes:
 65                 minItems: 1                        65                 minItems: 1
 66                 maxItems: 4                        66                 maxItems: 4
 67                                                    67 
 68             required:                              68             required:
 69               - data-lanes                         69               - data-lanes
 70                                                    70 
 71         unevaluatedProperties: false               71         unevaluatedProperties: false
 72                                                    72 
 73       port@1:                                      73       port@1:
 74         $ref: /schemas/graph.yaml#/properties/     74         $ref: /schemas/graph.yaml#/properties/port
 75         description: Output port, connect to a     75         description: Output port, connect to a CSI controller
 76                                                    76 
 77     required:                                      77     required:
 78       - port@0                                     78       - port@0
 79       - port@1                                     79       - port@1
 80                                                    80 
 81 required:                                          81 required:
 82   - compatible                                     82   - compatible
 83   - reg                                            83   - reg
 84   - interrupts                                     84   - interrupts
 85   - clocks                                         85   - clocks
 86   - clock-names                                    86   - clock-names
 87   - phys                                           87   - phys
 88   - phy-names                                      88   - phy-names
 89   - resets                                         89   - resets
 90   - ports                                          90   - ports
 91                                                    91 
 92 additionalProperties: false                        92 additionalProperties: false
 93                                                    93 
 94 examples:                                          94 examples:
 95   - |                                              95   - |
 96     #include <dt-bindings/interrupt-controller     96     #include <dt-bindings/interrupt-controller/arm-gic.h>
 97     #include <dt-bindings/clock/sun8i-v3s-ccu.     97     #include <dt-bindings/clock/sun8i-v3s-ccu.h>
 98     #include <dt-bindings/reset/sun8i-v3s-ccu.     98     #include <dt-bindings/reset/sun8i-v3s-ccu.h>
 99                                                    99 
100     mipi_csi2: csi@1cb1000 {                      100     mipi_csi2: csi@1cb1000 {
101         compatible = "allwinner,sun8i-v3s-mipi    101         compatible = "allwinner,sun8i-v3s-mipi-csi2",
102                      "allwinner,sun6i-a31-mipi    102                      "allwinner,sun6i-a31-mipi-csi2";
103         reg = <0x01cb1000 0x1000>;                103         reg = <0x01cb1000 0x1000>;
104         interrupts = <GIC_SPI 90 IRQ_TYPE_LEVE    104         interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>;
105         clocks = <&ccu CLK_BUS_CSI>,              105         clocks = <&ccu CLK_BUS_CSI>,
106                  <&ccu CLK_CSI1_SCLK>;            106                  <&ccu CLK_CSI1_SCLK>;
107         clock-names = "bus", "mod";               107         clock-names = "bus", "mod";
108         resets = <&ccu RST_BUS_CSI>;              108         resets = <&ccu RST_BUS_CSI>;
109                                                   109 
110         phys = <&dphy>;                           110         phys = <&dphy>;
111         phy-names = "dphy";                       111         phy-names = "dphy";
112                                                   112 
113         ports {                                   113         ports {
114             #address-cells = <1>;                 114             #address-cells = <1>;
115             #size-cells = <0>;                    115             #size-cells = <0>;
116                                                   116 
117             mipi_csi2_in: port@0 {                117             mipi_csi2_in: port@0 {
118                 reg = <0>;                        118                 reg = <0>;
119                                                   119 
120                 mipi_csi2_in_ov5648: endpoint     120                 mipi_csi2_in_ov5648: endpoint {
121                     data-lanes = <1 2 3 4>;       121                     data-lanes = <1 2 3 4>;
122                                                   122 
123                     remote-endpoint = <&ov5648    123                     remote-endpoint = <&ov5648_out_mipi_csi2>;
124                 };                                124                 };
125             };                                    125             };
126                                                   126 
127             mipi_csi2_out: port@1 {               127             mipi_csi2_out: port@1 {
128                 reg = <1>;                        128                 reg = <1>;
129                                                   129 
130                 mipi_csi2_out_csi0: endpoint {    130                 mipi_csi2_out_csi0: endpoint {
131                     remote-endpoint = <&csi0_i    131                     remote-endpoint = <&csi0_in_mipi_csi2>;
132                 };                                132                 };
133             };                                    133             };
134         };                                        134         };
135     };                                            135     };
136                                                   136 
137 ...                                               137 ...
                                                      

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