Skip to content

Commit 14dde07

Browse files
Fabrizio Castrobroonie
authored andcommitted
spi: dt-bindings: Add bindings for RZ/V2M CSI
Add dt-bindings for the CSI IP found inside the RZ/V2M SoC. Signed-off-by: Fabrizio Castro <[email protected]> Reviewed-by: Conor Dooley <[email protected]> Link: https://lore.kernel.org/r/Message-Id: <[email protected]> Signed-off-by: Mark Brown <[email protected]>
1 parent a77541c commit 14dde07

File tree

1 file changed

+70
-0
lines changed

1 file changed

+70
-0
lines changed
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/spi/renesas,rzv2m-csi.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Renesas RZ/V2M Clocked Serial Interface (CSI)
8+
9+
maintainers:
10+
- Fabrizio Castro <[email protected]>
11+
- Geert Uytterhoeven <[email protected]>
12+
13+
allOf:
14+
- $ref: spi-controller.yaml#
15+
16+
properties:
17+
compatible:
18+
const: renesas,rzv2m-csi
19+
20+
reg:
21+
maxItems: 1
22+
23+
interrupts:
24+
maxItems: 1
25+
26+
clocks:
27+
items:
28+
- description: The clock used to generate the output clock (CSICLK)
29+
- description: Internal clock to access the registers (PCLK)
30+
31+
clock-names:
32+
items:
33+
- const: csiclk
34+
- const: pclk
35+
36+
resets:
37+
maxItems: 1
38+
39+
power-domains:
40+
maxItems: 1
41+
42+
required:
43+
- compatible
44+
- reg
45+
- interrupts
46+
- clocks
47+
- clock-names
48+
- resets
49+
- power-domains
50+
- '#address-cells'
51+
- '#size-cells'
52+
53+
unevaluatedProperties: false
54+
55+
examples:
56+
- |
57+
#include <dt-bindings/interrupt-controller/arm-gic.h>
58+
#include <dt-bindings/clock/r9a09g011-cpg.h>
59+
csi4: spi@a4020200 {
60+
compatible = "renesas,rzv2m-csi";
61+
reg = <0xa4020200 0x80>;
62+
interrupts = <GIC_SPI 230 IRQ_TYPE_LEVEL_HIGH>;
63+
clocks = <&cpg CPG_MOD R9A09G011_CSI4_CLK>,
64+
<&cpg CPG_MOD R9A09G011_CPERI_GRPH_PCLK>;
65+
clock-names = "csiclk", "pclk";
66+
resets = <&cpg R9A09G011_CSI_GPH_PRESETN>;
67+
power-domains = <&cpg>;
68+
#address-cells = <1>;
69+
#size-cells = <0>;
70+
};

0 commit comments

Comments
 (0)