xref: /linux-6.15/drivers/base/regmap/Kconfig (revision 1e2bae6a)
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_SOUNDWIRE
45	tristate
46	depends on SOUNDWIRE
47
48config REGMAP_SOUNDWIRE_MBQ
49	tristate
50	depends on SOUNDWIRE
51
52config REGMAP_SCCB
53	tristate
54	depends on I2C
55
56config REGMAP_I3C
57	tristate
58	depends on I3C
59
60config REGMAP_SPI_AVMM
61	tristate
62	depends on SPI
63
64config REGMAP_FSI
65	tristate
66	depends on FSI
67