Re: [PATCH 1/2] dt-bindings: net: wireless: ath11k: add ieee80211-freq-limit property

From: Rob Herring
Date: Tue Apr 16 2024 - 09:21:41 EST


On Fri, Apr 12, 2024 at 06:24:08PM +0200, Robert Marko wrote:
> This is an existing optional property that ieee80211.yaml/cfg80211
> provides. It's useful to further restrict supported frequencies
> for a specified device through device-tree.
>
> Signed-off-by: Robert Marko <robimarko@xxxxxxxxx>
> ---
> .../devicetree/bindings/net/wireless/qcom,ath11k.yaml | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml b/Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml
> index 672282cdfc2f..907bbb646614 100644
> --- a/Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml
> +++ b/Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml
> @@ -55,6 +55,8 @@ properties:
> phandle to a node describing reserved memory (System RAM memory)
> used by ath11k firmware (see bindings/reserved-memory/reserved-memory.txt)
>
> + ieee80211-freq-limit: true
> +

Drop this and change additionalProperties to unevaluatedProperties.

> iommus:
> minItems: 1
> maxItems: 2
> @@ -88,6 +90,7 @@ required:
> additionalProperties: false
>
> allOf:
> + - $ref: ieee80211.yaml#
> - if:
> properties:
> compatible:
> --
> 2.44.0
>