--- zzzz-none-000/linux-4.4.271/drivers/base/regmap/Kconfig 2021-06-03 06:22:09.000000000 +0000 +++ maple-fsgw-759/linux-4.4.271/drivers/base/regmap/Kconfig 2023-12-20 10:37:06.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"