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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/media/xilinx/xlnx,csi2rxss.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/xilinx/xlnx,csi2rxss.yaml (Architecture i386) and /Documentation/devicetree/bindings/media/xilinx/xlnx,csi2rxss.yaml (Architecture ppc)


  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/xilin      4 $id: http://devicetree.org/schemas/media/xilinx/xlnx,csi2rxss.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: Xilinx MIPI CSI-2 Receiver Subsystem         7 title: Xilinx MIPI CSI-2 Receiver Subsystem
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Vishal Sagar <vishal.sagar@amd.com>             10   - Vishal Sagar <vishal.sagar@amd.com>
 11                                                    11 
 12 description: |                                     12 description: |
 13   The Xilinx MIPI CSI-2 Receiver Subsystem is      13   The Xilinx MIPI CSI-2 Receiver Subsystem is used to capture MIPI CSI-2
 14   traffic from compliant camera sensors and se     14   traffic from compliant camera sensors and send the output as AXI4 Stream
 15   video data for image processing.                 15   video data for image processing.
 16   The subsystem consists of a MIPI D-PHY in sl     16   The subsystem consists of a MIPI D-PHY in slave mode which captures the
 17   data packets. This is passed along the MIPI      17   data packets. This is passed along the MIPI CSI-2 Rx IP which extracts the
 18   packet data. The optional Video Format Bridg     18   packet data. The optional Video Format Bridge (VFB) converts this data to
 19   AXI4 Stream video data.                          19   AXI4 Stream video data.
 20   For more details, please refer to PG232 Xili     20   For more details, please refer to PG232 Xilinx MIPI CSI-2 Receiver Subsystem.
 21   Please note that this bindings includes only     21   Please note that this bindings includes only the MIPI CSI-2 Rx controller
 22   and Video Format Bridge and not D-PHY.           22   and Video Format Bridge and not D-PHY.
 23                                                    23 
 24 properties:                                        24 properties:
 25   compatible:                                      25   compatible:
 26     items:                                         26     items:
 27       - enum:                                      27       - enum:
 28           - xlnx,mipi-csi2-rx-subsystem-5.0        28           - xlnx,mipi-csi2-rx-subsystem-5.0
 29                                                    29 
 30   reg:                                             30   reg:
 31     maxItems: 1                                    31     maxItems: 1
 32                                                    32 
 33   interrupts:                                      33   interrupts:
 34     maxItems: 1                                    34     maxItems: 1
 35                                                    35 
 36   clocks:                                          36   clocks:
 37     description: List of clock specifiers          37     description: List of clock specifiers
 38     items:                                         38     items:
 39       - description: AXI Lite clock                39       - description: AXI Lite clock
 40       - description: Video clock                   40       - description: Video clock
 41                                                    41 
 42   clock-names:                                     42   clock-names:
 43     items:                                         43     items:
 44       - const: lite_aclk                           44       - const: lite_aclk
 45       - const: video_aclk                          45       - const: video_aclk
 46                                                    46 
 47   xlnx,csi-pxl-format:                             47   xlnx,csi-pxl-format:
 48     description: |                                 48     description: |
 49       This denotes the CSI Data type selected      49       This denotes the CSI Data type selected in hw design.
 50       Packets other than this data type (excep     50       Packets other than this data type (except for RAW8 and
 51       User defined data types) will be filtere     51       User defined data types) will be filtered out.
 52       Possible values are as below -               52       Possible values are as below -
 53       0x1e - YUV4228B                              53       0x1e - YUV4228B
 54       0x1f - YUV42210B                             54       0x1f - YUV42210B
 55       0x20 - RGB444                                55       0x20 - RGB444
 56       0x21 - RGB555                                56       0x21 - RGB555
 57       0x22 - RGB565                                57       0x22 - RGB565
 58       0x23 - RGB666                                58       0x23 - RGB666
 59       0x24 - RGB888                                59       0x24 - RGB888
 60       0x28 - RAW6                                  60       0x28 - RAW6
 61       0x29 - RAW7                                  61       0x29 - RAW7
 62       0x2a - RAW8                                  62       0x2a - RAW8
 63       0x2b - RAW10                                 63       0x2b - RAW10
 64       0x2c - RAW12                                 64       0x2c - RAW12
 65       0x2d - RAW14                                 65       0x2d - RAW14
 66       0x2e - RAW16                                 66       0x2e - RAW16
 67       0x2f - RAW20                                 67       0x2f - RAW20
 68     $ref: /schemas/types.yaml#/definitions/uin     68     $ref: /schemas/types.yaml#/definitions/uint32
 69     oneOf:                                         69     oneOf:
 70       - minimum: 0x1e                              70       - minimum: 0x1e
 71         maximum: 0x24                              71         maximum: 0x24
 72       - minimum: 0x28                              72       - minimum: 0x28
 73         maximum: 0x2f                              73         maximum: 0x2f
 74                                                    74 
 75   xlnx,vfb:                                        75   xlnx,vfb:
 76     type: boolean                                  76     type: boolean
 77     description: Present when Video Format Bri     77     description: Present when Video Format Bridge is enabled in IP configuration
 78                                                    78 
 79   xlnx,en-csi-v2-0:                                79   xlnx,en-csi-v2-0:
 80     type: boolean                                  80     type: boolean
 81     description: Present if CSI v2 is enabled      81     description: Present if CSI v2 is enabled in IP configuration.
 82                                                    82 
 83   xlnx,en-vcx:                                     83   xlnx,en-vcx:
 84     type: boolean                                  84     type: boolean
 85     description: |                                 85     description: |
 86       When present, there are maximum 16 virtu     86       When present, there are maximum 16 virtual channels, else only 4.
 87                                                    87 
 88   xlnx,en-active-lanes:                            88   xlnx,en-active-lanes:
 89     type: boolean                                  89     type: boolean
 90     description: |                                 90     description: |
 91       Present if the number of active lanes ca     91       Present if the number of active lanes can be re-configured at
 92       runtime in the Protocol Configuration Re     92       runtime in the Protocol Configuration Register. Otherwise all lanes,
 93       as set in IP configuration, are always a     93       as set in IP configuration, are always active.
 94                                                    94 
 95   video-reset-gpios:                               95   video-reset-gpios:
 96     description: Optional specifier for a GPIO     96     description: Optional specifier for a GPIO that asserts video_aresetn.
 97     maxItems: 1                                    97     maxItems: 1
 98                                                    98 
 99   ports:                                           99   ports:
100     $ref: /schemas/graph.yaml#/properties/port    100     $ref: /schemas/graph.yaml#/properties/ports
101                                                   101 
102     properties:                                   102     properties:
103       port@0:                                     103       port@0:
104         $ref: /schemas/graph.yaml#/$defs/port-    104         $ref: /schemas/graph.yaml#/$defs/port-base
105         description: |                            105         description: |
106           Input / sink port node, single endpo    106           Input / sink port node, single endpoint describing the
107           CSI-2 transmitter.                      107           CSI-2 transmitter.
108                                                   108 
109         properties:                               109         properties:
110           endpoint:                               110           endpoint:
111             $ref: /schemas/media/video-interfa    111             $ref: /schemas/media/video-interfaces.yaml#
112             unevaluatedProperties: false          112             unevaluatedProperties: false
113                                                   113 
114             properties:                           114             properties:
115               data-lanes:                         115               data-lanes:
116                 description: |                    116                 description: |
117                   This is required only in the    117                   This is required only in the sink port 0 endpoint which
118                   connects to MIPI CSI-2 sourc    118                   connects to MIPI CSI-2 source like sensor.
119                   The possible values are -       119                   The possible values are -
120                   1       - For 1 lane enabled    120                   1       - For 1 lane enabled in IP.
121                   1 2     - For 2 lanes enable    121                   1 2     - For 2 lanes enabled in IP.
122                   1 2 3   - For 3 lanes enable    122                   1 2 3   - For 3 lanes enabled in IP.
123                   1 2 3 4 - For 4 lanes enable    123                   1 2 3 4 - For 4 lanes enabled in IP.
124                 items:                            124                 items:
125                   - const: 1                      125                   - const: 1
126                   - const: 2                      126                   - const: 2
127                   - const: 3                      127                   - const: 3
128                   - const: 4                      128                   - const: 4
129                                                   129 
130             required:                             130             required:
131               - data-lanes                        131               - data-lanes
132                                                   132 
133         unevaluatedProperties: false              133         unevaluatedProperties: false
134                                                   134 
135       port@1:                                     135       port@1:
136         $ref: /schemas/graph.yaml#/properties/    136         $ref: /schemas/graph.yaml#/properties/port
137         description: |                            137         description: |
138           Output / source port node, endpoint     138           Output / source port node, endpoint describing modules
139           connected the CSI-2 receiver.           139           connected the CSI-2 receiver.
140                                                   140 
141 required:                                         141 required:
142   - compatible                                    142   - compatible
143   - reg                                           143   - reg
144   - interrupts                                    144   - interrupts
145   - clocks                                        145   - clocks
146   - clock-names                                   146   - clock-names
147   - ports                                         147   - ports
148                                                   148 
149 allOf:                                            149 allOf:
150   - if:                                           150   - if:
151       required:                                   151       required:
152         - xlnx,vfb                                152         - xlnx,vfb
153     then:                                         153     then:
154       required:                                   154       required:
155         - xlnx,csi-pxl-format                     155         - xlnx,csi-pxl-format
156     else:                                         156     else:
157       properties:                                 157       properties:
158         xlnx,csi-pxl-format: false                158         xlnx,csi-pxl-format: false
159                                                   159 
160   - if:                                           160   - if:
161       not:                                        161       not:
162         required:                                 162         required:
163           - xlnx,en-csi-v2-0                      163           - xlnx,en-csi-v2-0
164     then:                                         164     then:
165       properties:                                 165       properties:
166         xlnx,en-vcx: false                        166         xlnx,en-vcx: false
167                                                   167 
168 additionalProperties: false                       168 additionalProperties: false
169                                                   169 
170 examples:                                         170 examples:
171   - |                                             171   - |
172     #include <dt-bindings/gpio/gpio.h>            172     #include <dt-bindings/gpio/gpio.h>
173     xcsi2rxss_1: csi2rx@a0020000 {                173     xcsi2rxss_1: csi2rx@a0020000 {
174         compatible = "xlnx,mipi-csi2-rx-subsys    174         compatible = "xlnx,mipi-csi2-rx-subsystem-5.0";
175         reg = <0xa0020000 0x10000>;               175         reg = <0xa0020000 0x10000>;
176         interrupt-parent = <&gic>;                176         interrupt-parent = <&gic>;
177         interrupts = <0 95 4>;                    177         interrupts = <0 95 4>;
178         xlnx,csi-pxl-format = <0x2a>;             178         xlnx,csi-pxl-format = <0x2a>;
179         xlnx,vfb;                                 179         xlnx,vfb;
180         xlnx,en-active-lanes;                     180         xlnx,en-active-lanes;
181         xlnx,en-csi-v2-0;                         181         xlnx,en-csi-v2-0;
182         xlnx,en-vcx;                              182         xlnx,en-vcx;
183         clock-names = "lite_aclk", "video_aclk    183         clock-names = "lite_aclk", "video_aclk";
184         clocks = <&misc_clk_0>, <&misc_clk_1>;    184         clocks = <&misc_clk_0>, <&misc_clk_1>;
185         video-reset-gpios = <&gpio 86 GPIO_ACT    185         video-reset-gpios = <&gpio 86 GPIO_ACTIVE_LOW>;
186                                                   186 
187         ports {                                   187         ports {
188             #address-cells = <1>;                 188             #address-cells = <1>;
189             #size-cells = <0>;                    189             #size-cells = <0>;
190                                                   190 
191             port@0 {                              191             port@0 {
192                 /* Sink port */                   192                 /* Sink port */
193                 reg = <0>;                        193                 reg = <0>;
194                 csiss_in: endpoint {              194                 csiss_in: endpoint {
195                     data-lanes = <1 2 3 4>;       195                     data-lanes = <1 2 3 4>;
196                     /* MIPI CSI-2 Camera handl    196                     /* MIPI CSI-2 Camera handle */
197                     remote-endpoint = <&camera    197                     remote-endpoint = <&camera_out>;
198                 };                                198                 };
199             };                                    199             };
200             port@1 {                              200             port@1 {
201                 /* Source port */                 201                 /* Source port */
202                 reg = <1>;                        202                 reg = <1>;
203                 csiss_out: endpoint {             203                 csiss_out: endpoint {
204                     remote-endpoint = <&vproc_    204                     remote-endpoint = <&vproc_in>;
205                 };                                205                 };
206             };                                    206             };
207         };                                        207         };
208     };                                            208     };
209 ...                                               209 ...
                                                      

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