diff mbox series

[2/3] dt-bindings: arm: bcm: add NSP devices to SoCs

Message ID 20210610203524.2215918-2-mnhagan88@gmail.com (mailing list archive)
State New, archived
Headers show
Series [1/3] ARM: dts: NSP: add device names to compatible | expand

Commit Message

Matthew Hagan June 10, 2021, 8:35 p.m. UTC
Currently only the SoC names are added. This patch expands these to add
the devices.

Signed-off-by: Matthew Hagan <mnhagan88@gmail.com>
---
 .../devicetree/bindings/arm/bcm/brcm,nsp.yaml | 59 +++++++++++++++----
 1 file changed, 49 insertions(+), 10 deletions(-)

Comments

Rob Herring June 24, 2021, 7:01 p.m. UTC | #1
On Thu, 10 Jun 2021 21:35:11 +0100, Matthew Hagan wrote:
> Currently only the SoC names are added. This patch expands these to add
> the devices.
> 
> Signed-off-by: Matthew Hagan <mnhagan88@gmail.com>
> ---
>  .../devicetree/bindings/arm/bcm/brcm,nsp.yaml | 59 +++++++++++++++----
>  1 file changed, 49 insertions(+), 10 deletions(-)
> 

Reviewed-by: Rob Herring <robh@kernel.org>
Florian Fainelli June 24, 2021, 10:30 p.m. UTC | #2
On Thu, 10 Jun 2021 21:35:11 +0100, Matthew Hagan <mnhagan88@gmail.com> wrote:
> Currently only the SoC names are added. This patch expands these to add
> the devices.
> 
> Signed-off-by: Matthew Hagan <mnhagan88@gmail.com>
> ---

Applied to https://github.com/Broadcom/stblinux/commits/devicetree/next, thanks!
--
Florian
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/arm/bcm/brcm,nsp.yaml b/Documentation/devicetree/bindings/arm/bcm/brcm,nsp.yaml
index 476bc23a7f75..78dfa315f3d0 100644
--- a/Documentation/devicetree/bindings/arm/bcm/brcm,nsp.yaml
+++ b/Documentation/devicetree/bindings/arm/bcm/brcm,nsp.yaml
@@ -22,16 +22,55 @@  properties:
   $nodename:
     const: '/'
   compatible:
-    items:
-      - enum:
-          - brcm,bcm58522
-          - brcm,bcm58525
-          - brcm,bcm58535
-          - brcm,bcm58622
-          - brcm,bcm58623
-          - brcm,bcm58625
-          - brcm,bcm88312
-      - const: brcm,nsp
+    oneOf:
+      - description: BCM58522 based boards
+        items:
+          - enum:
+              - brcm,bcm958522er
+          - const: brcm,bcm58522
+          - const: brcm,nsp
+
+      - description: BCM58525 based boards
+        items:
+          - enum:
+              - brcm,bcm958525er
+              - brcm,bcm958525xmc
+          - const: brcm,bcm58525
+          - const: brcm,nsp
+
+      - description: BCM58535 based boards
+        items:
+          - const: brcm,bcm58535
+          - const: brcm,nsp
+
+      - description: BCM58622 based boards
+        items:
+          - enum:
+              - brcm,bcm958622hr
+          - const: brcm,bcm58622
+          - const: brcm,nsp
+
+      - description: BCM58623 based boards
+        items:
+          - enum:
+              - brcm,bcm958623hr
+          - const: brcm,bcm58623
+          - const: brcm,nsp
+
+      - description: BCM58625 based boards
+        items:
+          - enum:
+              - brcm,bcm958625hr
+              - brcm,bcm958625k
+          - const: brcm,bcm58625
+          - const: brcm,nsp
+
+      - description: BCM88312 based boards
+        items:
+          - enum:
+              - brcm,bcm988312hr
+          - const: brcm,bcm88312
+          - const: brcm,nsp
 
 additionalProperties: true