[PATCH] dt-bindings: net: wireless: ath11k: Combine two if:then: clauses

Krzysztof Kozlowski posted 1 patch 1 month, 1 week ago
.../devicetree/bindings/net/wireless/qcom,ath11k.yaml    | 9 ---------
1 file changed, 9 deletions(-)
[PATCH] dt-bindings: net: wireless: ath11k: Combine two if:then: clauses
Posted by Krzysztof Kozlowski 1 month, 1 week ago
Simplify the binding by combining two if:then: clauses which have
exactly the same conditional part.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
---
 .../devicetree/bindings/net/wireless/qcom,ath11k.yaml    | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml b/Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml
index c089677702cf..0cc1dbf2beef 100644
--- a/Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml
+++ b/Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml
@@ -214,15 +214,6 @@ allOf:
             - const: wbm2host-tx-completions-ring2
             - const: wbm2host-tx-completions-ring1
             - const: tcl2host-status-ring
-
-  - if:
-      properties:
-        compatible:
-          contains:
-            enum:
-              - qcom,ipq8074-wifi
-              - qcom,ipq6018-wifi
-    then:
       required:
         - interrupt-names
 
-- 
2.51.0
Re: [PATCH] dt-bindings: net: wireless: ath11k: Combine two if:then: clauses
Posted by Jeff Johnson 3 weeks, 2 days ago
On Tue, 30 Dec 2025 12:48:36 +0100, Krzysztof Kozlowski wrote:
> Simplify the binding by combining two if:then: clauses which have
> exactly the same conditional part.
> 
> 

Applied, thanks!

[1/1] dt-bindings: net: wireless: ath11k: Combine two if:then: clauses
      commit: 2125381d60c572684cc4ca61a2b1cf44c7eab059

Best regards,
-- 
Jeff Johnson <jeff.johnson@oss.qualcomm.com>
Re: [PATCH] dt-bindings: net: wireless: ath11k: Combine two if:then: clauses
Posted by Rob Herring (Arm) 1 month ago
On Tue, 30 Dec 2025 12:48:36 +0100, Krzysztof Kozlowski wrote:
> Simplify the binding by combining two if:then: clauses which have
> exactly the same conditional part.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
> ---
>  .../devicetree/bindings/net/wireless/qcom,ath11k.yaml    | 9 ---------
>  1 file changed, 9 deletions(-)
> 

Acked-by: Rob Herring (Arm) <robh@kernel.org>