Skip to content

Commit a564b65

Browse files
committed
Merge tag 'wireless-drivers-next-for-davem-2018-05-17' of git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-next
Kalle Valo says: ==================== wireless-drivers-next patches for 4.18 The first pull request for 4.18. As usual new features and bug fixes but nothing really special. I also merged wireless-drivers due to an iwlwifi patch dependency. Major changes: iwlwifi * implement Traffic Condition Monitor and use it for scan, BT coex and to detect when the AP doesn't support UAPSD properly * some more work for the 22000 family of devices; * introduce AMSDU rate control offload qtnfmac * DFS offload support rsi * roaming enhancements * increase max supported aggregation subframes * don't advertise 5 GHz support if the device doesn't support it brcmfmac * add support for BCM4366E chipset * add support for bcm43364 wireless chipset ath10k * enable temperature reads for QCA6174 and QCA9377 * add firmware memory dump support for QCA9984 * continue adding WCN3990 support via SNOC bus ==================== Signed-off-by: David S. Miller <[email protected]>
2 parents 93c65d1 + 763ece8 commit a564b65

File tree

179 files changed

+5580
-1480
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

179 files changed

+5580
-1480
lines changed

Documentation/devicetree/bindings/net/wireless/qcom,ath10k.txt

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Required properties:
44
- compatible: Should be one of the following:
55
* "qcom,ath10k"
66
* "qcom,ipq4019-wifi"
7+
* "qcom,wcn3990-wifi"
78

89
PCI based devices uses compatible string "qcom,ath10k" and takes calibration
910
data along with board specific data via "qcom,ath10k-calibration-data".
@@ -18,8 +19,12 @@ In general, entry "qcom,ath10k-pre-calibration-data" and
1819
"qcom,ath10k-calibration-data" conflict with each other and only one
1920
can be provided per device.
2021

22+
SNOC based devices (i.e. wcn3990) uses compatible string "qcom,wcn3990-wifi".
23+
2124
Optional properties:
2225
- reg: Address and length of the register set for the device.
26+
- reg-names: Must include the list of following reg names,
27+
"membase"
2328
- resets: Must contain an entry for each entry in reset-names.
2429
See ../reset/reseti.txt for details.
2530
- reset-names: Must include the list of following reset names,
@@ -49,6 +54,8 @@ Optional properties:
4954
hw versions.
5055
- qcom,ath10k-pre-calibration-data : pre calibration data as an array,
5156
the length can vary between hw versions.
57+
- <supply-name>-supply: handle to the regulator device tree node
58+
optional "supply-name" is "vdd-0.8-cx-mx".
5259

5360
Example (to supply the calibration data alone):
5461

@@ -119,3 +126,27 @@ wifi0: wifi@a000000 {
119126
qcom,msi_base = <0x40>;
120127
qcom,ath10k-pre-calibration-data = [ 01 02 03 ... ];
121128
};
129+
130+
Example (to supply wcn3990 SoC wifi block details):
131+
132+
wifi@18000000 {
133+
compatible = "qcom,wcn3990-wifi";
134+
reg = <0x18800000 0x800000>;
135+
reg-names = "membase";
136+
clocks = <&clock_gcc clk_aggre2_noc_clk>;
137+
clock-names = "smmu_aggre2_noc_clk"
138+
interrupts =
139+
<0 130 0 /* CE0 */ >,
140+
<0 131 0 /* CE1 */ >,
141+
<0 132 0 /* CE2 */ >,
142+
<0 133 0 /* CE3 */ >,
143+
<0 134 0 /* CE4 */ >,
144+
<0 135 0 /* CE5 */ >,
145+
<0 136 0 /* CE6 */ >,
146+
<0 137 0 /* CE7 */ >,
147+
<0 138 0 /* CE8 */ >,
148+
<0 139 0 /* CE9 */ >,
149+
<0 140 0 /* CE10 */ >,
150+
<0 141 0 /* CE11 */ >;
151+
vdd-0.8-cx-mx-supply = <&pm8998_l5>;
152+
};

drivers/net/wireless/ath/ath10k/Kconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,16 @@ config ATH10K
44
select ATH_COMMON
55
select CRC32
66
select WANT_DEV_COREDUMP
7+
select ATH10K_CE
78
---help---
89
This module adds support for wireless adapters based on
910
Atheros IEEE 802.11ac family of chipsets.
1011

1112
If you choose to build a module, it'll be called ath10k.
1213

14+
config ATH10K_CE
15+
bool
16+
1317
config ATH10K_PCI
1418
tristate "Atheros ath10k PCI support"
1519
depends on ATH10K && PCI
@@ -36,6 +40,14 @@ config ATH10K_USB
3640
This module adds experimental support for USB bus. Currently
3741
work in progress and will not fully work.
3842

43+
config ATH10K_SNOC
44+
tristate "Qualcomm ath10k SNOC support (EXPERIMENTAL)"
45+
depends on ATH10K && ARCH_QCOM
46+
---help---
47+
This module adds support for integrated WCN3990 chip connected
48+
to system NOC(SNOC). Currently work in progress and will not
49+
fully work.
50+
3951
config ATH10K_DEBUG
4052
bool "Atheros ath10k debugging"
4153
depends on ATH10K

drivers/net/wireless/ath/ath10k/Makefile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ ath10k_core-$(CONFIG_THERMAL) += thermal.o
2222
ath10k_core-$(CONFIG_MAC80211_DEBUGFS) += debugfs_sta.o
2323
ath10k_core-$(CONFIG_PM) += wow.o
2424
ath10k_core-$(CONFIG_DEV_COREDUMP) += coredump.o
25+
ath10k_core-$(CONFIG_ATH10K_CE) += ce.o
2526

2627
obj-$(CONFIG_ATH10K_PCI) += ath10k_pci.o
27-
ath10k_pci-y += pci.o \
28-
ce.o
28+
ath10k_pci-y += pci.o
2929

3030
ath10k_pci-$(CONFIG_ATH10K_AHB) += ahb.o
3131

@@ -35,5 +35,8 @@ ath10k_sdio-y += sdio.o
3535
obj-$(CONFIG_ATH10K_USB) += ath10k_usb.o
3636
ath10k_usb-y += usb.o
3737

38+
obj-$(CONFIG_ATH10K_SNOC) += ath10k_snoc.o
39+
ath10k_snoc-y += snoc.o
40+
3841
# for tracing framework to find trace.h
3942
CFLAGS_trace.o := -I$(src)

0 commit comments

Comments
 (0)