diff mbox series

dt-bindings: mips: loongson: Add Loongson-1 based boards

Message ID 20230220113007.2037750-1-keguang.zhang@gmail.com (mailing list archive)
State Superseded
Headers show
Series dt-bindings: mips: loongson: Add Loongson-1 based boards | expand

Commit Message

Keguang Zhang Feb. 20, 2023, 11:30 a.m. UTC
Add two Loongson-1 based boards: LSGZ 1B and Smartloongson 1C.

Signed-off-by: Keguang Zhang <keguang.zhang@gmail.com>
---
 .../devicetree/bindings/mips/loongson/devices.yaml     | 10 ++++++++++
 1 file changed, 10 insertions(+)


base-commit: 39459ce717b863556d7d75466fcbd904a6fbbbd8

Comments

Krzysztof Kozlowski Feb. 20, 2023, 12:36 p.m. UTC | #1
On 20/02/2023 12:30, Keguang Zhang wrote:
> Add two Loongson-1 based boards: LSGZ 1B and Smartloongson 1C.
> 
> Signed-off-by: Keguang Zhang <keguang.zhang@gmail.com>
> ---
>  .../devicetree/bindings/mips/loongson/devices.yaml     | 10 ++++++++++
>  1 file changed, 10 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/mips/loongson/devices.yaml b/Documentation/devicetree/bindings/mips/loongson/devices.yaml
> index f13ce386f42c..6ed6e8d1c0a6 100644
> --- a/Documentation/devicetree/bindings/mips/loongson/devices.yaml
> +++ b/Documentation/devicetree/bindings/mips/loongson/devices.yaml
> @@ -37,6 +37,16 @@ properties:
>          items:
>            - const: loongson,loongson64v-4core-virtio
>  
> +      - description: LSGZ 1B Development Board
> +        items:
> +          - const: lsgz,1b

1. Undocumented vendor prefix
2. This should be rather enum as it will grow with more boards. Also
description could be rather - LS1B based boards.

> +          - const: loongson,ls1b
> +
> +      - description: Smart Loongson 1C Board
> +        items:
> +          - const: smartloongson,1c

Same comments.

> +          - const: loongson,ls1c
> +
>  additionalProperties: true
>  
>  ...
> 
> base-commit: 39459ce717b863556d7d75466fcbd904a6fbbbd8

Best regards,
Krzysztof
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/mips/loongson/devices.yaml b/Documentation/devicetree/bindings/mips/loongson/devices.yaml
index f13ce386f42c..6ed6e8d1c0a6 100644
--- a/Documentation/devicetree/bindings/mips/loongson/devices.yaml
+++ b/Documentation/devicetree/bindings/mips/loongson/devices.yaml
@@ -37,6 +37,16 @@  properties:
         items:
           - const: loongson,loongson64v-4core-virtio
 
+      - description: LSGZ 1B Development Board
+        items:
+          - const: lsgz,1b
+          - const: loongson,ls1b
+
+      - description: Smart Loongson 1C Board
+        items:
+          - const: smartloongson,1c
+          - const: loongson,ls1c
+
 additionalProperties: true
 
 ...