dt: bindings: add new dt entry for ath11k calibration variant
authorSven Eckelmann <sven@narfation.org>
Thu, 15 Oct 2020 13:15:00 +0000 (15:15 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 7 Nov 2020 08:00:54 +0000 (10:00 +0200)
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>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20201015131501.1939685-1-sven@narfation.org
Documentation/devicetree/bindings/net/wireless/qcom,ath11k.yaml

index 4b365c9..6af9991 100644 (file)
@@ -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