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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/media/allwinner,sun8i-a83t-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 ] ~

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

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