@@ -14,6 +14,7 @@ if WLAN_VENDOR_TI
source "drivers/net/wireless/ti/wl1251/Kconfig"
source "drivers/net/wireless/ti/wl12xx/Kconfig"
source "drivers/net/wireless/ti/wl18xx/Kconfig"
+source "drivers/net/wireless/ti/cc33xx/Kconfig"
# keep last for automatic dependencies
source "drivers/net/wireless/ti/wlcore/Kconfig"
@@ -3,3 +3,4 @@ obj-$(CONFIG_WLCORE) += wlcore/
obj-$(CONFIG_WL12XX) += wl12xx/
obj-$(CONFIG_WL1251) += wl1251/
obj-$(CONFIG_WL18XX) += wl18xx/
+obj-$(CONFIG_CC33XX) += cc33xx/
\ No newline at end of file
new file mode 100644
@@ -0,0 +1,24 @@
+# SPDX-License-Identifier: GPL-2.0-only
+config CC33XX
+ tristate "TI CC33XX support"
+ depends on MAC80211
+ select FW_LOADER
+ help
+ This module contains the main code for TI CC33XX WLAN chips. It abstracts
+ hardware-specific differences among different chipset families.
+ Each chipset family needs to implement its own lower-level module
+ that will depend on this module for the common code.
+
+ If you choose to build a module, it will be called cc33xx. Say N if
+ unsure.
+
+config CC33XX_SDIO
+ tristate "TI CC33XX SDIO support"
+ depends on CC33XX && MMC
+ help
+ This module adds support for the SDIO interface of adapters using
+ TI CC33XX WLAN chipsets. Select this if your platform is using
+ the SDIO bus.
+
+ If you choose to build a module, it'll be called cc33xx_sdio.
+ Say N if unsure.
new file mode 100644
@@ -0,0 +1,10 @@
+# SPDX-License-Identifier: GPL-2.0
+
+cc33xx-objs = main.o cmd.o io.o event.o tx.o rx.o ps.o acx.o \
+ boot.o init.o scan.o
+
+cc33xx_sdio-objs = sdio.o
+
+cc33xx-$(CONFIG_NL80211_TESTMODE) += testmode.o
+obj-$(CONFIG_CC33XX) += cc33xx.o
+obj-$(CONFIG_CC33XX_SDIO) += cc33xx_sdio.o