[PATCH 1/2] dt-bindings: wireless: ath12k: Make WCN7850 supplies optional
From: Vitor Soares
Date: Tue Nov 17 2026 - 12:42:23 EST
From: Vitor Soares <vitor.soares@xxxxxxxxxxx>
The binding requires all nine WCN7850 power inputs. This matches designs
where the chip is placed on the board and its rails come from the
WCN7850 PMU described in DT.
WCN7850 is also used in modules, such as the Silex SX-PCEBE, where the
PMU and its rails are on the module and powered from the slot. None of
these supplies are connected to the host, so there is nothing to
describe. The DT node is still needed to set qcom,calibration-variant.
When the binding was introduced, it was agreed that the supplies can
be made optional for cases such as M.2 boards once the need arises [1].
Make the supplies optional. Keep requiring all of them once any is
present, so designs using the PMU are validated as before.
Link: https://lore.kernel.org/all/87ikyenx5c.fsf@xxxxxxxxxx/ [1]
Signed-off-by: Vitor Soares <vitor.soares@xxxxxxxxxxx>
---
.../bindings/net/wireless/qcom,ath12k.yaml | 33 ++++++++++++++-----
1 file changed, 24 insertions(+), 9 deletions(-)
diff --git a/Documentation/devicetree/bindings/net/wireless/qcom,ath12k.yaml b/Documentation/devicetree/bindings/net/wireless/qcom,ath12k.yaml
index cf3e1fd99c12..27f443bbc401 100644
--- a/Documentation/devicetree/bindings/net/wireless/qcom,ath12k.yaml
+++ b/Documentation/devicetree/bindings/net/wireless/qcom,ath12k.yaml
@@ -63,15 +63,30 @@ properties:
required:
- compatible
- reg
- - vddaon-supply
- - vddwlcx-supply
- - vddwlmx-supply
- - vddrfacmn-supply
- - vddrfa0p8-supply
- - vddrfa1p2-supply
- - vddrfa1p8-supply
- - vddpcie0p9-supply
- - vddpcie1p8-supply
+
+allOf:
+ - if:
+ anyOf:
+ - required: [vddaon-supply]
+ - required: [vddwlcx-supply]
+ - required: [vddwlmx-supply]
+ - required: [vddrfacmn-supply]
+ - required: [vddrfa0p8-supply]
+ - required: [vddrfa1p2-supply]
+ - required: [vddrfa1p8-supply]
+ - required: [vddpcie0p9-supply]
+ - required: [vddpcie1p8-supply]
+ then:
+ required:
+ - vddaon-supply
+ - vddwlcx-supply
+ - vddwlmx-supply
+ - vddrfacmn-supply
+ - vddrfa0p8-supply
+ - vddrfa1p2-supply
+ - vddrfa1p8-supply
+ - vddpcie0p9-supply
+ - vddpcie1p8-supply
additionalProperties: false
--
2.53.0