Message ID | 20210610203524.2215918-2-mnhagan88@gmail.com |
---|---|
State | Accepted |
Commit | 239cf177186a8c1ec97d1082a496f87623666558 |
Headers | show |
Series | [1/3] ARM: dts: NSP: add device names to compatible | expand |
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>
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 --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
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(-)