Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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 <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20240604170513.522631-5-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Lad Prabhakar and committed by
Greg Kroah-Hartman
964a80cf 034e4422

+30
+30
Documentation/devicetree/bindings/serial/renesas,scif.yaml
··· 80 80 - renesas,scif-r9a08g045 # RZ/G3S 81 81 - const: renesas,scif-r9a07g044 # RZ/G2{L,LC} fallback 82 82 83 + - const: renesas,scif-r9a09g057 # RZ/V2H(P) 84 + 83 85 reg: 84 86 maxItems: 1 85 87 ··· 96 94 - description: Break interrupt 97 95 - description: Data Ready interrupt 98 96 - description: Transmit End interrupt 97 + - description: Transmit End/Data Ready interrupt 98 + - description: Receive buffer full interrupt (EDGE trigger) 99 + - description: Transmit buffer empty interrupt (EDGE trigger) 99 100 minItems: 4 100 101 101 102 interrupt-names: ··· 110 105 - const: bri 111 106 - const: dri 112 107 - const: tei 108 + - const: tei-dri 109 + - const: rxi-edge 110 + - const: txi-edge 113 111 114 112 clocks: 115 113 minItems: 1 ··· 169 161 - renesas,rcar-gen3-scif 170 162 - renesas,rcar-gen4-scif 171 163 - renesas,scif-r9a07g044 164 + - renesas,scif-r9a09g057 172 165 then: 173 166 required: 174 167 - resets ··· 219 210 properties: 220 211 interrupts: 221 212 minItems: 6 213 + maxItems: 6 222 214 223 215 interrupt-names: 224 216 minItems: 6 217 + maxItems: 6 218 + 219 + - if: 220 + properties: 221 + compatible: 222 + contains: 223 + const: renesas,scif-r9a09g057 224 + then: 225 + properties: 226 + clocks: 227 + maxItems: 1 228 + 229 + clock-names: 230 + maxItems: 1 231 + 232 + interrupts: 233 + minItems: 9 234 + 235 + interrupt-names: 236 + minItems: 9 225 237 226 238 unevaluatedProperties: false 227 239