41 lines
924 B
Text
41 lines
924 B
Text
# 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
|
|
default y if (REGMAP_I2C || REGMAP_SPI || REGMAP_SPMI || REGMAP_MMIO || REGMAP_IRQ || REGMAP_SWR)
|
|
select LZO_COMPRESS
|
|
select LZO_DECOMPRESS
|
|
select IRQ_DOMAIN if REGMAP_IRQ
|
|
bool
|
|
|
|
config REGMAP_I2C
|
|
tristate
|
|
depends on I2C
|
|
|
|
config REGMAP_SPI
|
|
tristate
|
|
depends on SPI
|
|
|
|
config REGMAP_SPMI
|
|
tristate
|
|
depends on SPMI || MSM_SPMI
|
|
|
|
config REGMAP_MMIO
|
|
tristate
|
|
|
|
config REGMAP_IRQ
|
|
bool
|
|
|
|
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.
|