diff mbox series

[RFC,v3,19/35] Documentation/devicetree/bindings/serial: renesas,scif.yaml Add SH.

Message ID 4596e6d37f626672986ef67e9e7e328db9077b71.1697199949.git.ysato@users.sourceforge.jp (mailing list archive)
State New, archived
Headers show
Series Device Tree support for SH7751 based board | expand

Commit Message

Yoshinori Sato Oct. 14, 2023, 2:53 p.m. UTC
Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
---
 Documentation/devicetree/bindings/serial/renesas,scif.yaml | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Geert Uytterhoeven Oct. 18, 2023, 2:04 p.m. UTC | #1
Hi Sato-san,

On Sat, Oct 14, 2023 at 4:54 PM Yoshinori Sato
<ysato@users.sourceforge.jp> wrote:
> Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>

Thanks for your patch!

> --- a/Documentation/devicetree/bindings/serial/renesas,scif.yaml
> +++ b/Documentation/devicetree/bindings/serial/renesas,scif.yaml
> @@ -81,6 +81,11 @@ properties:
>                - renesas,scif-r9a07g054      # RZ/V2L
>            - const: renesas,scif-r9a07g044   # RZ/G2{L,LC} fallback
>
> +      - items:
> +          - enum:
> +              - renesas,scif-sh7751   # SH7751
> +          - const: renesas,scif       # generic SCIF compatible UART

There is no need to add a new "items" section.
Just add "renesas,scif-sh7751" to the first "items" section at the top.

Gr{oetje,eeting}s,

                        Geert
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/serial/renesas,scif.yaml b/Documentation/devicetree/bindings/serial/renesas,scif.yaml
index 99030fc18c45..0c938f1fb77b 100644
--- a/Documentation/devicetree/bindings/serial/renesas,scif.yaml
+++ b/Documentation/devicetree/bindings/serial/renesas,scif.yaml
@@ -81,6 +81,11 @@  properties:
               - renesas,scif-r9a07g054      # RZ/V2L
           - const: renesas,scif-r9a07g044   # RZ/G2{L,LC} fallback
 
+      - items:
+          - enum:
+              - renesas,scif-sh7751   # SH7751
+          - const: renesas,scif       # generic SCIF compatible UART
+
   reg:
     maxItems: 1