Thread (5 messages) flat view 5 messages, 2 authors, 2023-02-07
STALE1316d

[PATCH v3 1/2] dt: bindings: net: ath11k: add dt entry for XO calibration support

From: Youghandhar Chintala <hidden>
Date: 2023-02-07 10:37:58
Also in: ath11k, linux-devicetree, linux-wireless, lkml
Subsystem: arm/qualcomm mailing list, networking drivers (wireless), open firmware and flattened device tree bindings, the rest · Maintainers: Johannes Berg, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Linus Torvalds

Add dt binding to get XO calibration data support for Wi-Fi RF clock.

Retrieve the XO trim offset via system firmware (e.g., device tree),
especially in the case where the device doesn't have a useful EEPROM
on which to store the calibrated XO offset.
Calibrated XO offset is sent to firmware, which compensate the RF clock
drift by programing the XO trim register.

Signed-off-by: Youghandhar Chintala <redacted>
---
 .../devicetree/bindings/net/wireless/qcom,ath11k.yaml         | 4 ++++
 1 file changed, 4 insertions(+)
diff --git a/Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml b/Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml
index f7cf135aa37f..4745251e70d4 100644
--- a/Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml
+++ b/Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml
@@ -41,6 +41,10 @@ properties:
         * reg
         * reg-names
 
+  xo-cal-data:
+    description:
+      XO frequency offset to program the XO trim register
+
   qcom,ath11k-calibration-variant:
     $ref: /schemas/types.yaml#/definitions/string
     description:
-- 
2.38.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help