18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
28c2ecf20Sopenharmony_ci# Generic register map support.  There are no user servicable options here,
38c2ecf20Sopenharmony_ci# this is an API intended to be used by other kernel subsystems.  These
48c2ecf20Sopenharmony_ci# subsystems should select the appropriate symbols.
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ciconfig REGMAP
78c2ecf20Sopenharmony_ci	default y if (REGMAP_I2C || REGMAP_SPI || REGMAP_SPMI || REGMAP_W1 || REGMAP_AC97 || REGMAP_MMIO || REGMAP_IRQ || REGMAP_SOUNDWIRE || REGMAP_SCCB || REGMAP_I3C || REGMAP_SPI_AVMM)
88c2ecf20Sopenharmony_ci	select IRQ_DOMAIN if REGMAP_IRQ
98c2ecf20Sopenharmony_ci	bool
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ciconfig REGCACHE_COMPRESSED
128c2ecf20Sopenharmony_ci	select LZO_COMPRESS
138c2ecf20Sopenharmony_ci	select LZO_DECOMPRESS
148c2ecf20Sopenharmony_ci	bool
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_ciconfig REGMAP_AC97
178c2ecf20Sopenharmony_ci	tristate
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ciconfig REGMAP_I2C
208c2ecf20Sopenharmony_ci	tristate
218c2ecf20Sopenharmony_ci	depends on I2C
228c2ecf20Sopenharmony_ci
238c2ecf20Sopenharmony_ciconfig REGMAP_SLIMBUS
248c2ecf20Sopenharmony_ci	tristate
258c2ecf20Sopenharmony_ci	depends on SLIMBUS
268c2ecf20Sopenharmony_ci
278c2ecf20Sopenharmony_ciconfig REGMAP_SPI
288c2ecf20Sopenharmony_ci	tristate
298c2ecf20Sopenharmony_ci	depends on SPI
308c2ecf20Sopenharmony_ci
318c2ecf20Sopenharmony_ciconfig REGMAP_SPMI
328c2ecf20Sopenharmony_ci	tristate
338c2ecf20Sopenharmony_ci	depends on SPMI
348c2ecf20Sopenharmony_ci
358c2ecf20Sopenharmony_ciconfig REGMAP_W1
368c2ecf20Sopenharmony_ci	tristate
378c2ecf20Sopenharmony_ci	depends on W1
388c2ecf20Sopenharmony_ci
398c2ecf20Sopenharmony_ciconfig REGMAP_MMIO
408c2ecf20Sopenharmony_ci	tristate
418c2ecf20Sopenharmony_ci
428c2ecf20Sopenharmony_ciconfig REGMAP_IRQ
438c2ecf20Sopenharmony_ci	bool
448c2ecf20Sopenharmony_ci
458c2ecf20Sopenharmony_ciconfig REGMAP_SOUNDWIRE
468c2ecf20Sopenharmony_ci	tristate
478c2ecf20Sopenharmony_ci	depends on SOUNDWIRE
488c2ecf20Sopenharmony_ci
498c2ecf20Sopenharmony_ciconfig REGMAP_SCCB
508c2ecf20Sopenharmony_ci	tristate
518c2ecf20Sopenharmony_ci	depends on I2C
528c2ecf20Sopenharmony_ci
538c2ecf20Sopenharmony_ciconfig REGMAP_I3C
548c2ecf20Sopenharmony_ci	tristate
558c2ecf20Sopenharmony_ci	depends on I3C
568c2ecf20Sopenharmony_ci
578c2ecf20Sopenharmony_ciconfig REGMAP_SPI_AVMM
588c2ecf20Sopenharmony_ci	tristate
598c2ecf20Sopenharmony_ci	depends on SPI
60