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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/media/qcom,sdm660-camss.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 
  3 %YAML 1.2
  4 ---
  5 $id: http://devicetree.org/schemas/media/qcom,sdm660-camss.yaml#
  6 $schema: http://devicetree.org/meta-schemas/core.yaml#
  7 
  8 title: Qualcomm CAMSS ISP
  9 
 10 maintainers:
 11   - Robert Foss <robert.foss@linaro.org>
 12   - AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
 13 
 14 description: |
 15   The CAMSS IP is a CSI decoder and ISP present on Qualcomm platforms
 16 
 17 properties:
 18   compatible:
 19     const: qcom,sdm660-camss
 20 
 21   clocks:
 22     minItems: 42
 23     maxItems: 42
 24 
 25   clock-names:
 26     items:
 27       - const: ahb
 28       - const: cphy_csid0
 29       - const: cphy_csid1
 30       - const: cphy_csid2
 31       - const: cphy_csid3
 32       - const: csi0_ahb
 33       - const: csi0
 34       - const: csi0_phy
 35       - const: csi0_pix
 36       - const: csi0_rdi
 37       - const: csi1_ahb
 38       - const: csi1
 39       - const: csi1_phy
 40       - const: csi1_pix
 41       - const: csi1_rdi
 42       - const: csi2_ahb
 43       - const: csi2
 44       - const: csi2_phy
 45       - const: csi2_pix
 46       - const: csi2_rdi
 47       - const: csi3_ahb
 48       - const: csi3
 49       - const: csi3_phy
 50       - const: csi3_pix
 51       - const: csi3_rdi
 52       - const: csiphy0_timer
 53       - const: csiphy1_timer
 54       - const: csiphy2_timer
 55       - const: csiphy_ahb2crif
 56       - const: csi_vfe0
 57       - const: csi_vfe1
 58       - const: ispif_ahb
 59       - const: throttle_axi
 60       - const: top_ahb
 61       - const: vfe0_ahb
 62       - const: vfe0
 63       - const: vfe0_stream
 64       - const: vfe1_ahb
 65       - const: vfe1
 66       - const: vfe1_stream
 67       - const: vfe_ahb
 68       - const: vfe_axi
 69 
 70   interrupts:
 71     minItems: 10
 72     maxItems: 10
 73 
 74   interrupt-names:
 75     items:
 76       - const: csid0
 77       - const: csid1
 78       - const: csid2
 79       - const: csid3
 80       - const: csiphy0
 81       - const: csiphy1
 82       - const: csiphy2
 83       - const: ispif
 84       - const: vfe0
 85       - const: vfe1
 86 
 87   interconnects:
 88     maxItems: 1
 89 
 90   interconnect-names:
 91     items:
 92       - const: vfe-mem
 93 
 94   iommus:
 95     maxItems: 4
 96 
 97   power-domains:
 98     items:
 99       - description: VFE0 GDSC - Video Front End, Global Distributed Switch Controller.
100       - description: VFE1 GDSC - Video Front End, Global Distributed Switch Controller.
101 
102   ports:
103     $ref: /schemas/graph.yaml#/properties/ports
104 
105     description:
106       CSI input ports.
107 
108     properties:
109       port@0:
110         $ref: /schemas/graph.yaml#/$defs/port-base
111         unevaluatedProperties: false
112         description:
113           Input port for receiving CSI data.
114 
115         properties:
116           endpoint:
117             $ref: video-interfaces.yaml#
118             unevaluatedProperties: false
119 
120             properties:
121               data-lanes:
122                 minItems: 1
123                 maxItems: 4
124 
125             required:
126               - data-lanes
127 
128       port@1:
129         $ref: /schemas/graph.yaml#/$defs/port-base
130         unevaluatedProperties: false
131         description:
132           Input port for receiving CSI data.
133 
134         properties:
135           endpoint:
136             $ref: video-interfaces.yaml#
137             unevaluatedProperties: false
138 
139             properties:
140               data-lanes:
141                 minItems: 1
142                 maxItems: 4
143 
144             required:
145               - data-lanes
146 
147       port@2:
148         $ref: /schemas/graph.yaml#/$defs/port-base
149         unevaluatedProperties: false
150         description:
151           Input port for receiving CSI data.
152 
153         properties:
154           endpoint:
155             $ref: video-interfaces.yaml#
156             unevaluatedProperties: false
157 
158             properties:
159               data-lanes:
160                 minItems: 1
161                 maxItems: 4
162 
163             required:
164               - data-lanes
165 
166       port@3:
167         $ref: /schemas/graph.yaml#/$defs/port-base
168         unevaluatedProperties: false
169         description:
170           Input port for receiving CSI data.
171 
172         properties:
173           endpoint:
174             $ref: video-interfaces.yaml#
175             unevaluatedProperties: false
176 
177             properties:
178               data-lanes:
179                 minItems: 1
180                 maxItems: 4
181 
182             required:
183               - data-lanes
184 
185   reg:
186     minItems: 14
187     maxItems: 14
188 
189   reg-names:
190     items:
191       - const: csi_clk_mux
192       - const: csid0
193       - const: csid1
194       - const: csid2
195       - const: csid3
196       - const: csiphy0
197       - const: csiphy0_clk_mux
198       - const: csiphy1
199       - const: csiphy1_clk_mux
200       - const: csiphy2
201       - const: csiphy2_clk_mux
202       - const: ispif
203       - const: vfe0
204       - const: vfe1
205 
206   vdda-supply:
207     description:
208       Definition of the regulator used as analog power supply.
209 
210 required:
211   - clock-names
212   - clocks
213   - compatible
214   - interrupt-names
215   - interrupts
216   - iommus
217   - power-domains
218   - reg
219   - reg-names
220   - vdda-supply
221 
222 additionalProperties: false
223 
224 examples:
225   - |
226     #include <dt-bindings/interrupt-controller/arm-gic.h>
227     #include <dt-bindings/clock/qcom,gcc-sdm660.h>
228     #include <dt-bindings/clock/qcom,mmcc-sdm660.h>
229 
230     camss: camss@ca00020 {
231       compatible = "qcom,sdm660-camss";
232 
233       clocks = <&mmcc CAMSS_AHB_CLK>,
234         <&mmcc CAMSS_CPHY_CSID0_CLK>,
235         <&mmcc CAMSS_CPHY_CSID1_CLK>,
236         <&mmcc CAMSS_CPHY_CSID2_CLK>,
237         <&mmcc CAMSS_CPHY_CSID3_CLK>,
238         <&mmcc CAMSS_CSI0_AHB_CLK>,
239         <&mmcc CAMSS_CSI0_CLK>,
240         <&mmcc CAMSS_CPHY_CSID0_CLK>,
241         <&mmcc CAMSS_CSI0PIX_CLK>,
242         <&mmcc CAMSS_CSI0RDI_CLK>,
243         <&mmcc CAMSS_CSI1_AHB_CLK>,
244         <&mmcc CAMSS_CSI1_CLK>,
245         <&mmcc CAMSS_CPHY_CSID1_CLK>,
246         <&mmcc CAMSS_CSI1PIX_CLK>,
247         <&mmcc CAMSS_CSI1RDI_CLK>,
248         <&mmcc CAMSS_CSI2_AHB_CLK>,
249         <&mmcc CAMSS_CSI2_CLK>,
250         <&mmcc CAMSS_CPHY_CSID2_CLK>,
251         <&mmcc CAMSS_CSI2PIX_CLK>,
252         <&mmcc CAMSS_CSI2RDI_CLK>,
253         <&mmcc CAMSS_CSI3_AHB_CLK>,
254         <&mmcc CAMSS_CSI3_CLK>,
255         <&mmcc CAMSS_CPHY_CSID3_CLK>,
256         <&mmcc CAMSS_CSI3PIX_CLK>,
257         <&mmcc CAMSS_CSI3RDI_CLK>,
258         <&mmcc CAMSS_CSI0PHYTIMER_CLK>,
259         <&mmcc CAMSS_CSI1PHYTIMER_CLK>,
260         <&mmcc CAMSS_CSI2PHYTIMER_CLK>,
261         <&mmcc CSIPHY_AHB2CRIF_CLK>,
262         <&mmcc CAMSS_CSI_VFE0_CLK>,
263         <&mmcc CAMSS_CSI_VFE1_CLK>,
264         <&mmcc CAMSS_ISPIF_AHB_CLK>,
265         <&mmcc THROTTLE_CAMSS_AXI_CLK>,
266         <&mmcc CAMSS_TOP_AHB_CLK>,
267         <&mmcc CAMSS_VFE0_AHB_CLK>,
268         <&mmcc CAMSS_VFE0_CLK>,
269         <&mmcc CAMSS_VFE0_STREAM_CLK>,
270         <&mmcc CAMSS_VFE1_AHB_CLK>,
271         <&mmcc CAMSS_VFE1_CLK>,
272         <&mmcc CAMSS_VFE1_STREAM_CLK>,
273         <&mmcc CAMSS_VFE_VBIF_AHB_CLK>,
274         <&mmcc CAMSS_VFE_VBIF_AXI_CLK>;
275 
276       clock-names = "ahb",
277         "cphy_csid0",
278         "cphy_csid1",
279         "cphy_csid2",
280         "cphy_csid3",
281         "csi0_ahb",
282         "csi0",
283         "csi0_phy",
284         "csi0_pix",
285         "csi0_rdi",
286         "csi1_ahb",
287         "csi1",
288         "csi1_phy",
289         "csi1_pix",
290         "csi1_rdi",
291         "csi2_ahb",
292         "csi2",
293         "csi2_phy",
294         "csi2_pix",
295         "csi2_rdi",
296         "csi3_ahb",
297         "csi3",
298         "csi3_phy",
299         "csi3_pix",
300         "csi3_rdi",
301         "csiphy0_timer",
302         "csiphy1_timer",
303         "csiphy2_timer",
304         "csiphy_ahb2crif",
305         "csi_vfe0",
306         "csi_vfe1",
307         "ispif_ahb",
308         "throttle_axi",
309         "top_ahb",
310         "vfe0_ahb",
311         "vfe0",
312         "vfe0_stream",
313         "vfe1_ahb",
314         "vfe1",
315         "vfe1_stream",
316         "vfe_ahb",
317         "vfe_axi";
318 
319       interrupts = <GIC_SPI 296 IRQ_TYPE_EDGE_RISING>,
320         <GIC_SPI 297 IRQ_TYPE_EDGE_RISING>,
321         <GIC_SPI 298 IRQ_TYPE_EDGE_RISING>,
322         <GIC_SPI 299 IRQ_TYPE_EDGE_RISING>,
323         <GIC_SPI 78 IRQ_TYPE_EDGE_RISING>,
324         <GIC_SPI 79 IRQ_TYPE_EDGE_RISING>,
325         <GIC_SPI 80 IRQ_TYPE_EDGE_RISING>,
326         <GIC_SPI 309 IRQ_TYPE_EDGE_RISING>,
327         <GIC_SPI 314 IRQ_TYPE_EDGE_RISING>,
328         <GIC_SPI 315 IRQ_TYPE_EDGE_RISING>;
329 
330       interrupt-names = "csid0",
331         "csid1",
332         "csid2",
333         "csid3",
334         "csiphy0",
335         "csiphy1",
336         "csiphy2",
337         "ispif",
338         "vfe0",
339         "vfe1";
340 
341       iommus = <&mmss_smmu 0xc00>,
342         <&mmss_smmu 0xc01>,
343         <&mmss_smmu 0xc02>,
344         <&mmss_smmu 0xc03>;
345 
346       power-domains = <&mmcc CAMSS_VFE0_GDSC>,
347         <&mmcc CAMSS_VFE1_GDSC>;
348 
349       reg = <0x0ca00020 0x10>,
350         <0x0ca30000 0x100>,
351         <0x0ca30400 0x100>,
352         <0x0ca30800 0x100>,
353         <0x0ca30c00 0x100>,
354         <0x0c824000 0x1000>,
355         <0x0ca00120 0x4>,
356         <0x0c825000 0x1000>,
357         <0x0ca00124 0x4>,
358         <0x0c826000 0x1000>,
359         <0x0ca00128 0x4>,
360         <0x0ca31000 0x500>,
361         <0x0ca10000 0x1000>,
362         <0x0ca14000 0x1000>;
363 
364       reg-names = "csi_clk_mux",
365         "csid0",
366         "csid1",
367         "csid2",
368         "csid3",
369         "csiphy0",
370         "csiphy0_clk_mux",
371         "csiphy1",
372         "csiphy1_clk_mux",
373         "csiphy2",
374         "csiphy2_clk_mux",
375         "ispif",
376         "vfe0",
377         "vfe1";
378 
379       vdda-supply = <&reg_2v8>;
380 
381       ports {
382         #address-cells = <1>;
383         #size-cells = <0>;
384       };
385     };

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