2024-04-04 05:27:10

by Yoshinori Sato

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

Signed-off-by: Yoshinori Sato <[email protected]>
---
.../devicetree/bindings/soc/renesas/sh.yaml | 27 +++++++++++++++++++
1 file changed, 27 insertions(+)
create mode 100644 Documentation/devicetree/bindings/soc/renesas/sh.yaml

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 <[email protected]>
+
+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
+
+...
--
2.39.2



2024-04-05 13:45:04

by Geert Uytterhoeven

[permalink] [raw]
Subject: Re: [RESEND v7 28/37] dt-bindings: soc: renesas: sh: Add SH7751 based target

Hi Sato-san,

On Thu, Apr 4, 2024 at 7:15 AM Yoshinori Sato
<[email protected]> wrote:
> Signed-off-by: Yoshinori Sato <[email protected]>

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 <[email protected]>

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68korg

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds

2024-04-10 17:18:04

by Rob Herring

[permalink] [raw]
Subject: Re: [RESEND v7 28/37] dt-bindings: soc: renesas: sh: Add SH7751 based target


On Thu, 04 Apr 2024 14:14:39 +0900, Yoshinori Sato wrote:
> Signed-off-by: Yoshinori Sato <[email protected]>
> ---
> .../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 <[email protected]>