linux-mips.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3] dt-bindings: mips: loongson: Add Loongson-1 based boards
@ 2023-02-21 11:01 Keguang Zhang
  2023-02-26 19:17 ` Rob Herring
  2023-03-14 16:20 ` Thomas Bogendoerfer
  0 siblings, 2 replies; 3+ messages in thread
From: Keguang Zhang @ 2023-02-21 11:01 UTC (permalink / raw)
  To: linux-mips, devicetree, linux-kernel
  Cc: Thomas Bogendoerfer, Rob Herring, Krzysztof Kozlowski,
	Jiaxun Yang, Keguang Zhang

Add two Loongson-1 based boards: LSGZ 1B and Smartloong 1C.

Signed-off-by: Keguang Zhang <keguang.zhang@gmail.com>
---
V2 -> V3: Amend the vendor prefix
V1 -> V2: Add the according vendor prefix
          Change the board string to enum
          Modify the board description
---
 .../devicetree/bindings/mips/loongson/devices.yaml   | 12 ++++++++++++
 .../devicetree/bindings/vendor-prefixes.yaml         |  2 ++
 2 files changed, 14 insertions(+)

diff --git a/Documentation/devicetree/bindings/mips/loongson/devices.yaml b/Documentation/devicetree/bindings/mips/loongson/devices.yaml
index f13ce386f42c..099e40e1482d 100644
--- a/Documentation/devicetree/bindings/mips/loongson/devices.yaml
+++ b/Documentation/devicetree/bindings/mips/loongson/devices.yaml
@@ -37,6 +37,18 @@ properties:
         items:
           - const: loongson,loongson64v-4core-virtio
 
+      - description: LS1B based boards
+        items:
+          - enum:
+              - loongson,lsgz-1b-dev
+          - const: loongson,ls1b
+
+      - description: LS1C based boards
+        items:
+          - enum:
+              - loongmasses,smartloong-1c
+          - const: loongson,ls1c
+
 additionalProperties: true
 
 ...
diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml
index 0e57ae744199..5dadc7c76d92 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.yaml
+++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml
@@ -757,6 +757,8 @@ patternProperties:
     description: Lontium Semiconductor Corporation
   "^loongson,.*":
     description: Loongson Technology Corporation Limited
+  "^loongmasses,.*":
+    description: Nanjing Loongmasses Ltd.
   "^lsi,.*":
     description: LSI Corp. (LSI Logic)
   "^lwn,.*":

base-commit: 39459ce717b863556d7d75466fcbd904a6fbbbd8
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH v3] dt-bindings: mips: loongson: Add Loongson-1 based boards
  2023-02-21 11:01 [PATCH v3] dt-bindings: mips: loongson: Add Loongson-1 based boards Keguang Zhang
@ 2023-02-26 19:17 ` Rob Herring
  2023-03-14 16:20 ` Thomas Bogendoerfer
  1 sibling, 0 replies; 3+ messages in thread
From: Rob Herring @ 2023-02-26 19:17 UTC (permalink / raw)
  To: Keguang Zhang
  Cc: Krzysztof Kozlowski, linux-kernel, Jiaxun Yang, Rob Herring,
	Thomas Bogendoerfer, linux-mips, devicetree


On Tue, 21 Feb 2023 19:01:42 +0800, Keguang Zhang wrote:
> Add two Loongson-1 based boards: LSGZ 1B and Smartloong 1C.
> 
> Signed-off-by: Keguang Zhang <keguang.zhang@gmail.com>
> ---
> V2 -> V3: Amend the vendor prefix
> V1 -> V2: Add the according vendor prefix
>           Change the board string to enum
>           Modify the board description
> ---
>  .../devicetree/bindings/mips/loongson/devices.yaml   | 12 ++++++++++++
>  .../devicetree/bindings/vendor-prefixes.yaml         |  2 ++
>  2 files changed, 14 insertions(+)
> 

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v3] dt-bindings: mips: loongson: Add Loongson-1 based boards
  2023-02-21 11:01 [PATCH v3] dt-bindings: mips: loongson: Add Loongson-1 based boards Keguang Zhang
  2023-02-26 19:17 ` Rob Herring
@ 2023-03-14 16:20 ` Thomas Bogendoerfer
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Bogendoerfer @ 2023-03-14 16:20 UTC (permalink / raw)
  To: Keguang Zhang
  Cc: linux-mips, devicetree, linux-kernel, Rob Herring,
	Krzysztof Kozlowski, Jiaxun Yang

On Tue, Feb 21, 2023 at 07:01:42PM +0800, Keguang Zhang wrote:
> Add two Loongson-1 based boards: LSGZ 1B and Smartloong 1C.
> 
> Signed-off-by: Keguang Zhang <keguang.zhang@gmail.com>
> ---
> V2 -> V3: Amend the vendor prefix
> V1 -> V2: Add the according vendor prefix
>           Change the board string to enum
>           Modify the board description
> ---
>  .../devicetree/bindings/mips/loongson/devices.yaml   | 12 ++++++++++++
>  .../devicetree/bindings/vendor-prefixes.yaml         |  2 ++
>  2 files changed, 14 insertions(+)

applied to mips-next.

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-03-14 16:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-21 11:01 [PATCH v3] dt-bindings: mips: loongson: Add Loongson-1 based boards Keguang Zhang
2023-02-26 19:17 ` Rob Herring
2023-03-14 16:20 ` Thomas Bogendoerfer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).