--- zzzz-none-000/linux-4.4.60/drivers/base/regmap/Kconfig 2017-04-08 07:53:53.000000000 +0000 +++ wasp-540e-714/linux-4.4.60/drivers/base/regmap/Kconfig 2019-07-03 09:21:34.000000000 +0000 @@ -3,29 +3,39 @@ # subsystems should select the appropriate symbols. config REGMAP - default y if (REGMAP_I2C || REGMAP_SPI || REGMAP_SPMI || REGMAP_AC97 || REGMAP_MMIO || REGMAP_IRQ) select LZO_COMPRESS select LZO_DECOMPRESS select IRQ_DOMAIN if REGMAP_IRQ - bool + tristate "Regmap" config REGMAP_AC97 + select REGMAP tristate config REGMAP_I2C - tristate + tristate "Regmap I2C" + select REGMAP depends on I2C config REGMAP_SPI - tristate + tristate "Regmap SPI" + select REGMAP + depends on SPI_MASTER depends on SPI config REGMAP_SPMI + select REGMAP tristate depends on SPMI config REGMAP_MMIO - tristate + tristate "Regmap MMIO" + select REGMAP config REGMAP_IRQ + select REGMAP bool + +config REGMAP_ALLOW_WRITE_DEBUGFS + depends on REGMAP && DEBUG_FS + bool "Allow REGMAP debugfs write"