All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] dt: bindings: add new dt entry for ath11k calibration variant
@ 2020-10-15 13:15 ` Sven Eckelmann
  0 siblings, 0 replies; 8+ messages in thread
From: Sven Eckelmann @ 2020-10-15 13:15 UTC (permalink / raw)
  To: linux-wireless
  Cc: devicetree, Sven Eckelmann, Rob Herring, ath11k, Kalle Valo

The bus + qmi-chip-id + qmi-board-id is not enough to identify the correct
board data file on IPQ6018 based devices. Multiple different boards share
the same values. Only the original reference designs can currently be
identified and loaded from the board-2.bin. But these will not result in
the correct calibration data when combined with the pre-calibration data
from the device.

An additional "variant" information has to be provided to select the
correct board data for a design which was modified by an ODM. This follows
the same approach as ath10k.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
---
 .../devicetree/bindings/net/wireless/qcom,ath11k.yaml       | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml b/Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml
index 4b365c9d9378..6af999191559 100644
--- a/Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml
+++ b/Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml
@@ -144,6 +144,12 @@ properties:
         * reg
         * reg-names
 
+  qcom,ath11k-calibration-variant:
+    $ref: /schemas/types.yaml#/definitions/string
+    description:
+      string to uniquely identify variant of the calibration data in the
+      board-2.bin for designs with colliding bus and device specific ids
+
 required:
   - compatible
   - reg
-- 
2.28.0


-- 
ath11k mailing list
ath11k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath11k

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

end of thread, other threads:[~2020-11-07  8:02 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-15 13:15 [PATCH 1/2] dt: bindings: add new dt entry for ath11k calibration variant Sven Eckelmann
2020-10-15 13:15 ` Sven Eckelmann
2020-10-15 13:15 ` [PATCH 2/2] ath11k: search DT for qcom,ath11k-calibration-variant Sven Eckelmann
2020-10-15 13:15   ` Sven Eckelmann
2020-10-19 21:18 ` [PATCH 1/2] dt: bindings: add new dt entry for ath11k calibration variant Rob Herring
2020-10-19 21:18   ` Rob Herring
2020-11-07  8:01 ` Kalle Valo
2020-11-07  8:01 ` Kalle Valo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.