From 9370bb92b2d16684ee45cf24e879c93c509162da Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Thu, 19 Dec 2024 01:47:39 +0000
Subject: [PATCH] add wifi6 8852be driver

---
 kernel/drivers/nvmem/Kconfig |   83 +++++++++++++++++++++++++++++++++++++----
 1 files changed, 75 insertions(+), 8 deletions(-)

diff --git a/kernel/drivers/nvmem/Kconfig b/kernel/drivers/nvmem/Kconfig
index 9651f3f..d6ec24c 100644
--- a/kernel/drivers/nvmem/Kconfig
+++ b/kernel/drivers/nvmem/Kconfig
@@ -1,3 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
 menuconfig NVMEM
 	bool "NVMEM Support"
 	help
@@ -5,9 +6,6 @@
 
 	  This framework is designed to provide a generic interface to NVMEM
 	  from both the Linux Kernel and the userspace.
-
-	  This driver can also be built as a module. If so, the module
-	  will be called nvmem_core.
 
 	  If unsure, say no.
 
@@ -35,8 +33,8 @@
 	  will be called nvmem-imx-iim.
 
 config NVMEM_IMX_OCOTP
-	tristate "i.MX6 On-Chip OTP Controller support"
-	depends on SOC_IMX6 || COMPILE_TEST
+	tristate "i.MX 6/7/8 On-Chip OTP Controller support"
+	depends on ARCH_MXC || COMPILE_TEST
 	depends on HAS_IOMEM
 	help
 	  This is a driver for the On-Chip OTP Controller (OCOTP) available on
@@ -45,6 +43,26 @@
 
 	  This driver can also be built as a module. If so, the module
 	  will be called nvmem-imx-ocotp.
+
+config NVMEM_IMX_OCOTP_SCU
+	tristate "i.MX8 SCU On-Chip OTP Controller support"
+	depends on IMX_SCU
+	depends on HAVE_ARM_SMCCC
+	help
+	  This is a driver for the SCU On-Chip OTP Controller (OCOTP)
+	  available on i.MX8 SoCs.
+
+config JZ4780_EFUSE
+	tristate "JZ4780 EFUSE Memory Support"
+	depends on MACH_INGENIC || COMPILE_TEST
+	depends on HAS_IOMEM
+	depends on OF
+	select REGMAP_MMIO
+	help
+	  Say Y here to include support for JZ4780 efuse memory found on
+	  all JZ4780 SoC based devices.
+	  To compile this driver as a module, choose M here: the module
+	  will be called nvmem_jz4780_efuse.
 
 config NVMEM_LPC18XX_EEPROM
 	tristate "NXP LPC18XX EEPROM Memory Support"
@@ -100,12 +118,19 @@
 	  This driver can also be built as a module. If so, the module
 	  will be called nvmem_qfprom.
 
+config NVMEM_SPMI_SDAM
+	tristate "SPMI SDAM Support"
+	depends on SPMI
+	help
+	  This driver supports the Shared Direct Access Memory Module on
+	  Qualcomm Technologies, Inc. PMICs. It provides the clients
+	  an interface to read/write to the SDAM module's shared memory.
+
 config RK628_EFUSE
 	tristate "RK628 eFuse Support"
 	depends on ARCH_ROCKCHIP || COMPILE_TEST
 	depends on HAS_IOMEM
 	depends on MFD_RK628
-	default MFD_RK630
 	help
 	  This is a simple drive to dump specified values of Rk628 SoC
 	  from eFuse, such as cpu-leakage.
@@ -125,7 +150,7 @@
 	  will be called nvmem_rockchip_efuse.
 
 config ROCKCHIP_OTP
-	tristate "Rockchip OTP Support"
+	tristate "Rockchip OTP controller support"
 	depends on ARCH_ROCKCHIP || COMPILE_TEST
 	depends on HAS_IOMEM
 	help
@@ -134,6 +159,17 @@
 
 	  This driver can also be built as a module. If so, the module
 	  will be called nvmem_rockchip_otp.
+
+config NVMEM_ROCKCHIP_SEC_OTP
+	tristate "Rockchip Secure OTP controller support"
+	depends on ARCH_ROCKCHIP || COMPILE_TEST
+	depends on TEE && OPTEE
+	help
+	  This is a simple drive to read and write non-protected
+	  oem zone in secure otp.
+
+	  This driver can also be built as a module. If so, the module
+	  will be called nvmem-rockchip-secure-otp.
 
 config NVMEM_BCM_OCOTP
 	tristate "Broadcom On-Chip OTP Controller support"
@@ -146,6 +182,16 @@
 
 	  This driver can also be built as a module. If so, the module
 	  will be called nvmem-bcm-ocotp.
+
+config NVMEM_STM32_ROMEM
+	tristate "STMicroelectronics STM32 factory-programmed memory support"
+	depends on ARCH_STM32 || COMPILE_TEST
+	help
+	  Say y here to enable read-only access for STMicroelectronics STM32
+	  factory-programmed memory area.
+
+	  This driver can also be built as a module. If so, the module
+	  will be called nvmem-stm32-romem.
 
 config NVMEM_SUNXI_SID
 	tristate "Allwinner SoCs SID support"
@@ -201,7 +247,7 @@
 
 config NVMEM_SNVS_LPGPR
 	tristate "Support for Low Power General Purpose Register"
-	depends on SOC_IMX6 || SOC_IMX7D || COMPILE_TEST
+	depends on ARCH_MXC || COMPILE_TEST
 	help
 	  This is a driver for Low Power General Purpose Register (LPGPR) available on
 	  i.MX6 and i.MX7 SoCs in Secure Non-Volatile Storage (SNVS) of this chip.
@@ -226,4 +272,25 @@
 	  This driver can also be built as a module. If so, the module
 	  will be called nvmem-sc27xx-efuse.
 
+config NVMEM_ZYNQMP
+	bool "Xilinx ZYNQMP SoC nvmem firmware support"
+	depends on ARCH_ZYNQMP
+	help
+	  This is a driver to access hardware related data like
+	  soc revision, IDCODE... etc by using the firmware
+	  interface.
+
+	  If sure, say yes. If unsure, say no.
+
+config SPRD_EFUSE
+	tristate "Spreadtrum SoC eFuse Support"
+	depends on ARCH_SPRD || COMPILE_TEST
+	depends on HAS_IOMEM
+	help
+	  This is a simple driver to dump specified values of Spreadtrum
+	  SoCs from eFuse.
+
+	  This driver can also be built as a module. If so, the module
+	  will be called nvmem-sprd-efuse.
+
 endif

--
Gitblit v1.6.2