regmap: Add kconfig flag for wcd regmap

Add config flag to enable wcd regmap irq driver.

Change-Id: Ic25600c8702293c489f09a82de3e506cd17880e4
Signed-off-by: Ramprasad Katkam <katkam@codeaurora.org>
This commit is contained in:
Ramprasad Katkam 2018-08-11 15:35:27 +05:30 committed by Vatsal Bucha
parent 90d7baa99d
commit b2cd493025

View File

@ -38,6 +38,17 @@ config REGMAP_MMIO
config REGMAP_IRQ
bool
config REGMAP_WCD_IRQ
depends on SND_SOC
bool "Enable REGMAP IRQ for WCD"
select REGMAP_IRQ
default n
help
Say 'y' here to enable REGMAP_IRQ for generic WCD IRQ.
This config is intended for enabling REGMAP_IRQ for
WCD IRQ. Generic WCD IRQ will be used for
wcd937x and later targets.
config REGMAP_ALLOW_WRITE_DEBUGFS
depends on REGMAP && DEBUG_FS
bool "Allow REGMAP debugfs write"