linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: arm: bcm: document BCM4912 bindings
@ 2022-03-15 18:44 Rafał Miłecki
  2022-03-16 16:15 ` Krzysztof Kozlowski
  0 siblings, 1 reply; 2+ messages in thread
From: Rafał Miłecki @ 2022-03-15 18:44 UTC (permalink / raw)
  To: Florian Fainelli, Rob Herring
  Cc: linux-arm-kernel, devicetree, bcm-kernel-feedback-list,
	Rafał Miłecki

From: Rafał Miłecki <rafal@milecki.pl>

BCM4912 is a successor family to the BCM4908. It includes BCM4912,
BCM4915 and BCM49418. It's mostly used in home routers.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
---
 .../bindings/arm/bcm/brcm,bcm4912.yaml        | 38 +++++++++++++++++++
 1 file changed, 38 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/arm/bcm/brcm,bcm4912.yaml

diff --git a/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4912.yaml b/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4912.yaml
new file mode 100644
index 000000000000..438a6f20ca93
--- /dev/null
+++ b/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4912.yaml
@@ -0,0 +1,38 @@
+# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/arm/bcm/brcm,bcm4912.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Broadcom BCM4912 device tree bindings
+
+description:
+  Broadcom BCM4912 / BCM4915 / BCM49418 Wi-Fi/network SoCs with Brahma CPUs.
+
+maintainers:
+  - Rafał Miłecki <rafal@milecki.pl>
+
+properties:
+  $nodename:
+    const: '/'
+  compatible:
+    oneOf:
+      - description: BCM4912 based boards
+        items:
+          - enum:
+              - asus,gt-ax6000
+          - const: brcm,bcm4912
+
+      - description: BCM4915 based boards
+        items:
+          - const: brcm,bcm4915
+          - const: brcm,bcm4912
+
+      - description: BCM49418 based boards
+        items:
+          - const: brcm,bcm49418
+          - const: brcm,bcm4908
+
+additionalProperties: true
+
+...
-- 
2.34.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH] dt-bindings: arm: bcm: document BCM4912 bindings
  2022-03-15 18:44 [PATCH] dt-bindings: arm: bcm: document BCM4912 bindings Rafał Miłecki
@ 2022-03-16 16:15 ` Krzysztof Kozlowski
  0 siblings, 0 replies; 2+ messages in thread
From: Krzysztof Kozlowski @ 2022-03-16 16:15 UTC (permalink / raw)
  To: Rafał Miłecki, Florian Fainelli, Rob Herring
  Cc: linux-arm-kernel, devicetree, bcm-kernel-feedback-list,
	Rafał Miłecki

On 15/03/2022 19:44, Rafał Miłecki wrote:
> From: Rafał Miłecki <rafal@milecki.pl>
> 
> BCM4912 is a successor family to the BCM4908. It includes BCM4912,
> BCM4915 and BCM49418. It's mostly used in home routers.
> 
> Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
> ---
>  .../bindings/arm/bcm/brcm,bcm4912.yaml        | 38 +++++++++++++++++++
>  1 file changed, 38 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/arm/bcm/brcm,bcm4912.yaml
> 
> diff --git a/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4912.yaml b/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4912.yaml
> new file mode 100644
> index 000000000000..438a6f20ca93
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/arm/bcm/brcm,bcm4912.yaml
> @@ -0,0 +1,38 @@
> +# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/arm/bcm/brcm,bcm4912.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Broadcom BCM4912 device tree bindings
> +
> +description:
> +  Broadcom BCM4912 / BCM4915 / BCM49418 Wi-Fi/network SoCs with Brahma CPUs.
> +
> +maintainers:
> +  - Rafał Miłecki <rafal@milecki.pl>
> +
> +properties:
> +  $nodename:
> +    const: '/'
> +  compatible:
> +    oneOf:
> +      - description: BCM4912 based boards
> +        items:
> +          - enum:
> +              - asus,gt-ax6000
> +          - const: brcm,bcm4912
> +
> +      - description: BCM4915 based boards
> +        items:
> +          - const: brcm,bcm4915
> +          - const: brcm,bcm4912
> +
> +      - description: BCM49418 based boards
> +        items:
> +          - const: brcm,bcm49418
> +          - const: brcm,bcm4908

The last two entries do not look correct currently. You don't have any
boards. Maybe just skip them? Unless you plan to use these compatibles
in DTSI?


Best regards,
Krzysztof

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2022-03-16 16:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-15 18:44 [PATCH] dt-bindings: arm: bcm: document BCM4912 bindings Rafał Miłecki
2022-03-16 16:15 ` Krzysztof Kozlowski

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).