summaryrefslogtreecommitdiffstats
path: root/drivers/nvmem/Kconfig
diff options
context:
space:
mode:
authorFreeman Liu <freeman.liu@spreadtrum.com>2018-07-11 12:20:41 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-07-15 14:03:05 +0200
commit19c54468f222d61f07ec83d13e46a4c78d326c80 (patch)
tree6c8587d80a1200b3105c90f9a53c1b52f2fe85de /drivers/nvmem/Kconfig
parentdt-bindings: nvmem: Add Spreadtrum SC27XX efuse controller documentation (diff)
downloadlinux-19c54468f222d61f07ec83d13e46a4c78d326c80.tar.xz
linux-19c54468f222d61f07ec83d13e46a4c78d326c80.zip
nvmem: Add Spreadtrum SC27XX efuse support
This patch add the efuse driver which is embeded in Spreadtrum SC27XX series PMICs. The sc27xx efuse contains 32 blocks and each block's data width is 16 bits. Signed-off-by: Freeman Liu <freeman.liu@spreadtrum.com> Signed-off-by: Baolin Wang <baolin.wang@linaro.org> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/nvmem/Kconfig')
-rw-r--r--drivers/nvmem/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/nvmem/Kconfig b/drivers/nvmem/Kconfig
index 54a3c298247b..0a7a470ee859 100644
--- a/drivers/nvmem/Kconfig
+++ b/drivers/nvmem/Kconfig
@@ -181,4 +181,15 @@ config RAVE_SP_EEPROM
help
Say y here to enable Rave SP EEPROM support.
+config SC27XX_EFUSE
+ tristate "Spreadtrum SC27XX eFuse Support"
+ depends on MFD_SC27XX_PMIC || COMPILE_TEST
+ depends on HAS_IOMEM
+ help
+ This is a simple driver to dump specified values of Spreadtrum
+ SC27XX PMICs from eFuse.
+
+ This driver can also be built as a module. If so, the module
+ will be called nvmem-sc27xx-efuse.
+
endif