Devicetree
 help / color / mirror / Atom feed
* [PATCH 0/2] Add ath12k calibration variant for Silex SX-PCEBE on Aquila AM69
@ 2026-11-17 17:41 Vitor Soares
  2026-11-17 17:41 ` [PATCH 1/2] dt-bindings: wireless: ath12k: Make WCN7850 supplies optional Vitor Soares
  2026-11-17 17:41 ` [PATCH 2/2] arm64: dts: ti: k3-am69-aquila: Add ath12k calibration variant Vitor Soares
  0 siblings, 2 replies; 3+ messages in thread
From: Vitor Soares @ 2026-11-17 17:41 UTC (permalink / raw)
  To: Johannes Berg, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Jeff Johnson, Nishanth Menon, Vignesh Raghavendra, Tero Kristo
  Cc: Vitor Soares, Jeff Johnson, linux-wireless, devicetree, ath12k,
	linux-kernel, linux-arm-kernel

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

The Aquila AM69 has a Silex SX-PCEBE Wi-Fi module (WCN7850). The module
reports the same PCI and QMI IDs as other WCN7850 designs, and its board
data also comes in variants for different regulatory domains. The IDs
alone therefore cannot identify the right board data. Patch 2 describes
the Wi-Fi device and sets qcom,calibration-variant to select it.

The qcom,ath12k binding requires all nine WCN7850 supplies, which only
fits designs with the chip on the board and its PMU described in DT. On
modules like the SX-PCEBE, the PMU is on the module and powered from the
slot, so there are no supplies to describe. Patch 1 makes them optional.

Patch 1 is for ath-next, patch 2 for ti-k3-dts-next. Patch 2 also relies
on commit 75bc725cd92b ("dt-bindings: wireless: ath12k: allow calibration
variant for WCN7850"), already in ath-next. There is no build dependency;
until both binding changes are merged, dtbs_check reports the missing
supplies and qcom,calibration-variant for the AM69 Wi-Fi node.

Based on ath/ath-next.

Vitor Soares (2):
  dt-bindings: wireless: ath12k: Make WCN7850 supplies optional
  arm64: dts: ti: k3-am69-aquila: Add ath12k calibration variant

 .../bindings/net/wireless/qcom,ath12k.yaml    | 33 ++++++++++++++-----
 arch/arm64/boot/dts/ti/k3-am69-aquila.dtsi    | 15 +++++++++
 2 files changed, 39 insertions(+), 9 deletions(-)


base-commit: 1be6c8d3027d4a421dc46b93a89a196c61945614
-- 
2.53.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 1/2] dt-bindings: wireless: ath12k: Make WCN7850 supplies optional
  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
  2026-11-17 17:41 ` [PATCH 2/2] arm64: dts: ti: k3-am69-aquila: Add ath12k calibration variant Vitor Soares
  1 sibling, 0 replies; 3+ messages in thread
From: Vitor Soares @ 2026-11-17 17:41 UTC (permalink / raw)
  To: Johannes Berg, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Jeff Johnson
  Cc: Vitor Soares, Jeff Johnson, linux-wireless, devicetree, ath12k,
	linux-kernel

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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 2/2] arm64: dts: ti: k3-am69-aquila: Add ath12k calibration variant
  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 ` [PATCH 1/2] dt-bindings: wireless: ath12k: Make WCN7850 supplies optional Vitor Soares
@ 2026-11-17 17:41 ` Vitor Soares
  1 sibling, 0 replies; 3+ messages in thread
From: Vitor Soares @ 2026-11-17 17:41 UTC (permalink / raw)
  To: Nishanth Menon, Vignesh Raghavendra, Tero Kristo, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: Vitor Soares, linux-arm-kernel, devicetree, linux-kernel

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

The Aquila AM69 has a Silex SX-PCEBE Wi-Fi module (WCN7850). The
module reports the same PCI and QMI IDs as other WCN7850 designs,
and its board data also comes in variants for different regulatory
domains (US/EU/JP, UK/CA low and high). The IDs alone therefore
cannot identify the right board data.

Describe the Wi-Fi device behind the PCIE3 root port and set
qcom,calibration-variant to the US/EU/JP board data.

Signed-off-by: Vitor Soares <vitor.soares@toradex.com>
---
 arch/arm64/boot/dts/ti/k3-am69-aquila.dtsi | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/arch/arm64/boot/dts/ti/k3-am69-aquila.dtsi b/arch/arm64/boot/dts/ti/k3-am69-aquila.dtsi
index b6854acee8fe..62904e9bcc71 100644
--- a/arch/arm64/boot/dts/ti/k3-am69-aquila.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am69-aquila.dtsi
@@ -1393,6 +1393,21 @@ &pcie3_rc {
 	reset-gpios = <&som_gpio_expander 4 GPIO_ACTIVE_HIGH>;
 	ti,syscon-acspcie-proxy-ctrl = <&acspcie0_proxy_ctrl 0x3>;
 	status = "okay";
+
+	pci@0,0 {
+		device_type = "pci";
+		compatible = "pciclass,0604";
+		reg = <0x0 0x0 0x0 0x0 0x0>;
+		ranges;
+		#address-cells = <3>;
+		#size-cells = <2>;
+
+		wifi@0 {
+			compatible = "pci17cb,1107";
+			reg = <0x0 0x0 0x0 0x0 0x0>;
+			qcom,calibration-variant = "Silex_SX-PCEBE_US_EU_JP";
+		};
+	};
 };
 
 &serdes0 {
-- 
2.53.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-11-17 17:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [PATCH 1/2] dt-bindings: wireless: ath12k: Make WCN7850 supplies optional Vitor Soares
2026-11-17 17:41 ` [PATCH 2/2] arm64: dts: ti: k3-am69-aquila: Add ath12k calibration variant Vitor Soares

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox