Devicetree
 help / color / mirror / Atom feed
From: Vitor Soares <ivitro@gmail.com>
To: Johannes Berg <johannes@sipsolutions.net>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Jeff Johnson <jjohnson@kernel.org>
Cc: Vitor Soares <vitor.soares@toradex.com>,
	Jeff Johnson <jeff.johnson@oss.qualcomm.com>,
	linux-wireless@vger.kernel.org, devicetree@vger.kernel.org,
	ath12k@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: [PATCH 1/2] dt-bindings: wireless: ath12k: Make WCN7850 supplies optional
Date: Tue, 17 Nov 2026 17:41:55 +0000	[thread overview]
Message-ID: <20261117174154.549590-5-ivitro@gmail.com> (raw)
In-Reply-To: <20261117174154.549590-4-ivitro@gmail.com>

From: Vitor Soares <vitor.soares@toradex.com>

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@kernel.org/ [1]
Signed-off-by: Vitor Soares <vitor.soares@toradex.com>
---
 .../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


  reply	other threads:[~2026-11-17 17:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-17 17:41 [PATCH 0/2] Add ath12k calibration variant for Silex SX-PCEBE on Aquila AM69 Vitor Soares
2026-11-17 17:41 ` Vitor Soares [this message]
2026-11-17 17:41 ` [PATCH 2/2] arm64: dts: ti: k3-am69-aquila: Add ath12k calibration variant Vitor Soares

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261117174154.549590-5-ivitro@gmail.com \
    --to=ivitro@gmail.com \
    --cc=ath12k@lists.infradead.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=jeff.johnson@oss.qualcomm.com \
    --cc=jjohnson@kernel.org \
    --cc=johannes@sipsolutions.net \
    --cc=krzk+dt@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=vitor.soares@toradex.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox