M7350/kernel/drivers/base/regmap/Kconfig

42 lines
924 B
Plaintext
Raw Permalink Normal View History

2024-09-09 08:52:07 +00:00
# Generic register map support. There are no user servicable options here,
# this is an API intended to be used by other kernel subsystems. These
# subsystems should select the appropriate symbols.
config REGMAP
2024-09-09 08:57:42 +00:00
default y if (REGMAP_I2C || REGMAP_SPI || REGMAP_SPMI || REGMAP_MMIO || REGMAP_IRQ || REGMAP_SWR)
2024-09-09 08:52:07 +00:00
select LZO_COMPRESS
select LZO_DECOMPRESS
2024-09-09 08:57:42 +00:00
select IRQ_DOMAIN if REGMAP_IRQ
2024-09-09 08:52:07 +00:00
bool
config REGMAP_I2C
tristate
2024-09-09 08:57:42 +00:00
depends on I2C
2024-09-09 08:52:07 +00:00
config REGMAP_SPI
tristate
2024-09-09 08:57:42 +00:00
depends on SPI
config REGMAP_SPMI
tristate
depends on SPMI || MSM_SPMI
config REGMAP_MMIO
tristate
2024-09-09 08:52:07 +00:00
config REGMAP_IRQ
bool
2024-09-09 08:57:42 +00:00
config REGMAP_SWR
tristate
config REGMAP_ALLOW_WRITE_DEBUGFS
bool "Allow register writes through debugfs"
depends on DEBUG_FS
depends on REGMAP
help
Add support to allow register writes through
debugfs. Client driver can enable this config
option to write registers using debugfs from
regmap registers file.