Skip to content

Commit 964a80c

Browse files
prabhakarladgregkh
authored andcommitted
dt-bindings: serial: Add documentation for Renesas RZ/V2H(P) (R9A09G057) SCIF support
Document support for the Serial Communication Interface with FIFO (SCIF) available in the Renesas RZ/V2H(P) (R9A09G057) SoC. The SCIF interface in the Renesas RZ/V2H(P) is similar to that available in the RZ/G2L (R9A07G044) SoC, with the following differences: - RZ/V2H(P) SoC has three additional interrupts: one for Tx end/Rx ready and two for Rx and Tx buffer full, all of which are edge-triggered. - RZ/V2H(P) supports asynchronous mode, whereas RZ/G2L supports both synchronous and asynchronous modes. - There are differences in the configuration of certain registers such as SCSMR, SCFCR, and SCSPTR between the two SoCs. To handle these differences in the driver, a new SoC-specific compatible string is added, ensuring proper handling of the unique features and register configurations of the RZ/V2H(P) SoC. Signed-off-by: Lad Prabhakar <[email protected]> Reviewed-by: Conor Dooley <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 034e442 commit 964a80c

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

Documentation/devicetree/bindings/serial/renesas,scif.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ properties:
8080
- renesas,scif-r9a08g045 # RZ/G3S
8181
- const: renesas,scif-r9a07g044 # RZ/G2{L,LC} fallback
8282

83+
- const: renesas,scif-r9a09g057 # RZ/V2H(P)
84+
8385
reg:
8486
maxItems: 1
8587

@@ -94,6 +96,9 @@ properties:
9496
- description: Break interrupt
9597
- description: Data Ready interrupt
9698
- description: Transmit End interrupt
99+
- description: Transmit End/Data Ready interrupt
100+
- description: Receive buffer full interrupt (EDGE trigger)
101+
- description: Transmit buffer empty interrupt (EDGE trigger)
97102
minItems: 4
98103

99104
interrupt-names:
@@ -105,6 +110,9 @@ properties:
105110
- const: bri
106111
- const: dri
107112
- const: tei
113+
- const: tei-dri
114+
- const: rxi-edge
115+
- const: txi-edge
108116

109117
clocks:
110118
minItems: 1
@@ -161,6 +169,7 @@ allOf:
161169
- renesas,rcar-gen3-scif
162170
- renesas,rcar-gen4-scif
163171
- renesas,scif-r9a07g044
172+
- renesas,scif-r9a09g057
164173
then:
165174
required:
166175
- resets
@@ -210,9 +219,30 @@ allOf:
210219
properties:
211220
interrupts:
212221
minItems: 6
222+
maxItems: 6
213223

214224
interrupt-names:
215225
minItems: 6
226+
maxItems: 6
227+
228+
- if:
229+
properties:
230+
compatible:
231+
contains:
232+
const: renesas,scif-r9a09g057
233+
then:
234+
properties:
235+
clocks:
236+
maxItems: 1
237+
238+
clock-names:
239+
maxItems: 1
240+
241+
interrupts:
242+
minItems: 9
243+
244+
interrupt-names:
245+
minItems: 9
216246

217247
unevaluatedProperties: false
218248

0 commit comments

Comments
 (0)