diff mbox series

[2/3] dt-bindings: net: wireless: brcm,bcm4329-fmac: allow generic properties

Message ID 20230602135925.14143-2-zajec5@gmail.com (mailing list archive)
State New, archived
Headers show
Series [1/3] dt-bindings: net: wireless: brcm,bcm4329-fmac: add BCM4366 binding | expand

Commit Message

Rafał Miłecki June 2, 2023, 1:59 p.m. UTC
From: Rafał Miłecki <rafal@milecki.pl>

Include ieee80211.yaml to allow using generic 802.11 properties for
bindings of Broadcom FullMAC devices. That allows specifying frequencies
ranges.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
---
 .../devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml  | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Comments

Conor Dooley June 2, 2023, 6:08 p.m. UTC | #1
On Fri, Jun 02, 2023 at 03:59:24PM +0200, Rafał Miłecki wrote:
> From: Rafał Miłecki <rafal@milecki.pl>
> 
> Include ieee80211.yaml to allow using generic 802.11 properties for
> bindings of Broadcom FullMAC devices. That allows specifying frequencies
> ranges.
> 
> Signed-off-by: Rafał Miłecki <rafal@milecki.pl>

Acked-by: Conor Dooley <conor.dooley@microchip.com>

Thanks,
Conor.

> ---
>  .../devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml  | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml b/Documentation/devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml
> index 527f055a6683..4aa521f1be8c 100644
> --- a/Documentation/devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml
> +++ b/Documentation/devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml
> @@ -15,6 +15,9 @@ description:
>    These chips also have a Bluetooth portion described in a separate
>    binding.
>  
> +allOf:
> +  - $ref: ieee80211.yaml#
> +
>  properties:
>    compatible:
>      oneOf:
> @@ -121,7 +124,7 @@ required:
>    - compatible
>    - reg
>  
> -additionalProperties: false
> +unevaluatedProperties: false
>  
>  examples:
>    - |
> -- 
> 2.35.3
>
Florian Fainelli June 9, 2023, 12:01 a.m. UTC | #2
From: Florian Fainelli <f.fainelli@gmail.com>

On Fri,  2 Jun 2023 15:59:24 +0200, Rafał Miłecki <zajec5@gmail.com> wrote:
> From: Rafał Miłecki <rafal@milecki.pl>
> 
> Include ieee80211.yaml to allow using generic 802.11 properties for
> bindings of Broadcom FullMAC devices. That allows specifying frequencies
> ranges.
> 
> Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
> ---

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

Patch

diff --git a/Documentation/devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml b/Documentation/devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml
index 527f055a6683..4aa521f1be8c 100644
--- a/Documentation/devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml
+++ b/Documentation/devicetree/bindings/net/wireless/brcm,bcm4329-fmac.yaml
@@ -15,6 +15,9 @@  description:
   These chips also have a Bluetooth portion described in a separate
   binding.
 
+allOf:
+  - $ref: ieee80211.yaml#
+
 properties:
   compatible:
     oneOf:
@@ -121,7 +124,7 @@  required:
   - compatible
   - reg
 
-additionalProperties: false
+unevaluatedProperties: false
 
 examples:
   - |