diff mbox series

[RESEND,v7,28/37] dt-bindings: soc: renesas: sh: Add SH7751 based target

Message ID 3c2937039026fdb827709b2584528aca263f2668.1712207606.git.ysato@users.sourceforge.jp
State Superseded
Headers show
Series [RESEND,v7,01/37] sh: passing FDT address to kernel startup. | expand

Commit Message

Yoshinori Sato April 4, 2024, 5:14 a.m. UTC
Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
---
 .../devicetree/bindings/soc/renesas/sh.yaml   | 27 +++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/soc/renesas/sh.yaml

Comments

Geert Uytterhoeven April 5, 2024, 1:44 p.m. UTC | #1
Hi Sato-san,

On Thu, Apr 4, 2024 at 7:15 AM Yoshinori Sato
<ysato@users.sourceforge.jp> wrote:
> Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>

Thanks for the update!

> --- /dev/null
> +++ b/Documentation/devicetree/bindings/soc/renesas/sh.yaml

> +  compatible:
> +    oneOf:

As adding more SoCs is expected, having oneOf from the start is fine.

> +      - description: SH7751R based platform
> +        items:
> +          - enum:
> +              - renesas,rts7751r2d      # Renesas SH4 2D graphics board
> +              - iodata,landisk          # LANDISK HDL-U
> +              - iodata,usl-5p           # USL-5P
> +          - const: renesas,sh7751r

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>

Gr{oetje,eeting}s,

                        Geert
Rob Herring (Arm) April 10, 2024, 4:38 p.m. UTC | #2
On Thu, 04 Apr 2024 14:14:39 +0900, Yoshinori Sato wrote:
> Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
> ---
>  .../devicetree/bindings/soc/renesas/sh.yaml   | 27 +++++++++++++++++++
>  1 file changed, 27 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/soc/renesas/sh.yaml
> 

Reviewed-by: Rob Herring <robh@kernel.org>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/soc/renesas/sh.yaml b/Documentation/devicetree/bindings/soc/renesas/sh.yaml
new file mode 100644
index 000000000000..9e0f69a8ee6a
--- /dev/null
+++ b/Documentation/devicetree/bindings/soc/renesas/sh.yaml
@@ -0,0 +1,27 @@ 
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/soc/renesas/sh.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Renesas SuperH Platform
+
+maintainers:
+  - Yoshinori Sato <ysato@users.sourceforge.jp>
+
+properties:
+  $nodename:
+    const: '/'
+  compatible:
+    oneOf:
+      - description: SH7751R based platform
+        items:
+          - enum:
+              - renesas,rts7751r2d      # Renesas SH4 2D graphics board
+              - iodata,landisk          # LANDISK HDL-U
+              - iodata,usl-5p           # USL-5P
+          - const: renesas,sh7751r
+
+additionalProperties: true
+
+...