diff options
author | Sven Eckelmann <sven.eckelmann@open-mesh.com> | 2017-11-30 14:30:06 +0100 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2018-07-07 18:33:57 +0200 |
commit | 1c01e02575bd2af96741ba79ed12004fdfb15544 (patch) | |
tree | 48e8c871df056e3d01fe3d79149d306c4ddf912a /package/kernel/ath10k-ct/Makefile | |
parent | 206fbbfec2d0cc40266674e93e7e01e307847a6d (diff) | |
download | upstream-1c01e02575bd2af96741ba79ed12004fdfb15544.tar.gz upstream-1c01e02575bd2af96741ba79ed12004fdfb15544.tar.bz2 upstream-1c01e02575bd2af96741ba79ed12004fdfb15544.zip |
ath10k-ct: search DT for BDF variant info
Board Data File (BDF) is loaded upon driver boot-up procedure. The right
board data file is identified on QCA4019 using bus, bmi-chip-id and
bmi-board-id.
The problem, however, can occur when the (default) board data file cannot
fulfill the vendor requirements and it is necessary to use a different
board data file.
This problem was solved for SMBIOS by adding a special SMBIOS type 0xF8.
Something similar has to be provided for systems without SMBIOS but with
device trees. No solution was specified by QCA and therefore a new one has
to be found for ath10k.
The device tree requires addition strings to define the variant name
wifi@a000000 {
status = "okay";
qcom,ath10k-calibration-variant = "RT-AC58U";
};
wifi@a800000 {
status = "okay";
qcom,ath10k-calibration-variant = "RT-AC58U";
};
This would create the boarddata identifiers for the board-2.bin search
* bus=ahb,bmi-chip-id=0,bmi-board-id=16,variant=RT-AC58U
* bus=ahb,bmi-chip-id=0,bmi-board-id=17,variant=RT-AC58U
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
Diffstat (limited to 'package/kernel/ath10k-ct/Makefile')
-rw-r--r-- | package/kernel/ath10k-ct/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/kernel/ath10k-ct/Makefile b/package/kernel/ath10k-ct/Makefile index e5d505b9f6..634bdf14be 100644 --- a/package/kernel/ath10k-ct/Makefile +++ b/package/kernel/ath10k-ct/Makefile @@ -1,7 +1,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=ath10k-ct -PKG_RELEASE=2 +PKG_RELEASE=3 PKG_LICENSE:=GPLv2 PKG_LICENSE_FILES:= |