xref: /linux/drivers/base/regmap/Kconfig (revision f6352424e37e7bf72291ceab87dc620172be0999)
1# SPDX-License-Identifier: GPL-2.0
2# Generic register map support.  There are no user servicable options here,
3# this is an API intended to be used by other kernel subsystems.  These
4# subsystems should select the appropriate symbols.
5
6config REGMAP
7	default y if (REGMAP_I2C || REGMAP_SPI || REGMAP_SPMI || REGMAP_W1 || REGMAP_AC97 || REGMAP_MMIO || REGMAP_IRQ || REGMAP_SOUNDWIRE || REGMAP_SOUNDWIRE_MBQ || REGMAP_SCCB || REGMAP_I3C || REGMAP_SPI_AVMM || REGMAP_MDIO || REGMAP_FSI)
8	select IRQ_DOMAIN if REGMAP_IRQ
9	select MDIO_BUS if REGMAP_MDIO
10	bool
11
12config REGMAP_AC97
13	tristate
14
15config REGMAP_I2C
16	tristate
17	depends on I2C
18
19config REGMAP_SLIMBUS
20	tristate
21	depends on SLIMBUS
22
23config REGMAP_SPI
24	tristate
25	depends on SPI
26
27config REGMAP_SPMI
28	tristate
29	depends on SPMI
30
31config REGMAP_W1
32	tristate
33	depends on W1
34
35config REGMAP_MDIO
36	tristate
37
38config REGMAP_MMIO
39	tristate
40
41config REGMAP_IRQ
42	bool
43
44config REGMAP_RAM
45	tristate
46
47config REGMAP_SOUNDWIRE
48	tristate
49	depends on SOUNDWIRE
50
51config REGMAP_SOUNDWIRE_MBQ
52	tristate
53	depends on SOUNDWIRE
54
55config REGMAP_SCCB
56	tristate
57	depends on I2C
58
59config REGMAP_I3C
60	tristate
61	depends on I3C
62
63config REGMAP_SPI_AVMM
64	tristate
65	depends on SPI
66
67config REGMAP_FSI
68	tristate
69	depends on FSI
70