# 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_MMIO || REGMAP_IRQ)
	default y if (REGMAP_SWR)
	select LZO_COMPRESS
	select LZO_DECOMPRESS
	select IRQ_DOMAIN if REGMAP_IRQ
	bool

config REGMAP_I2C
	tristate

config REGMAP_SPI
	tristate

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.
