2020-06-09 13:35:25

by Anilkumar Kolli

[permalink] [raw]
Subject: [PATCH v2 1/8] dt: bindings: net: update compatible for ath11k

Add IPQ6018 wireless driver support,
its based on ath11k driver.

Signed-off-by: Anilkumar Kolli <[email protected]>
---
Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml b/Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml
index a1717db36dba..844edd87be20 100644
--- a/Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml
+++ b/Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml
@@ -17,7 +17,9 @@ description: |

properties:
compatible:
- const: qcom,ipq8074-wifi
+ oneOf:
+ - const: qcom,ipq8074-wifi
+ - const: qcom,ipq6018-wifi

reg:
maxItems: 1
--
2.7.4


2020-06-17 21:47:04

by Rob Herring (Arm)

[permalink] [raw]
Subject: Re: [PATCH v2 1/8] dt: bindings: net: update compatible for ath11k

On Tue, Jun 09, 2020 at 07:02:54PM +0530, Anilkumar Kolli wrote:
> Add IPQ6018 wireless driver support,
> its based on ath11k driver.
>
> Signed-off-by: Anilkumar Kolli <[email protected]>
> ---
> Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml b/Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml
> index a1717db36dba..844edd87be20 100644
> --- a/Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml
> +++ b/Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml
> @@ -17,7 +17,9 @@ description: |
>
> properties:
> compatible:
> - const: qcom,ipq8074-wifi
> + oneOf:
> + - const: qcom,ipq8074-wifi
> + - const: qcom,ipq6018-wifi

Use 'enum' rather than oneOf+const.

>
> reg:
> maxItems: 1
> --
> 2.7.4
>