xref: /openbmc/linux/drivers/base/regmap/Kconfig (revision 375cccc6)
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_KUNIT
13	tristate "KUnit tests for regmap"
14	depends on KUNIT
15	default KUNIT_ALL_TESTS
16	select REGMAP
17	select REGMAP_RAM
18
19config REGMAP_AC97
20	tristate
21
22config REGMAP_I2C
23	tristate
24	depends on I2C
25
26config REGMAP_SLIMBUS
27	tristate
28	depends on SLIMBUS
29
30config REGMAP_SPI
31	tristate
32	depends on SPI
33
34config REGMAP_SPMI
35	tristate
36	depends on SPMI
37
38config REGMAP_W1
39	tristate
40	depends on W1
41
42config REGMAP_MDIO
43	tristate
44
45config REGMAP_MMIO
46	tristate
47
48config REGMAP_IRQ
49	bool
50
51config REGMAP_RAM
52	tristate
53
54config REGMAP_SOUNDWIRE
55	tristate
56	depends on SOUNDWIRE
57
58config REGMAP_SOUNDWIRE_MBQ
59	tristate
60	depends on SOUNDWIRE
61
62config REGMAP_SCCB
63	tristate
64	depends on I2C
65
66config REGMAP_I3C
67	tristate
68	depends on I3C
69
70config REGMAP_SPI_AVMM
71	tristate
72	depends on SPI
73
74config REGMAP_FSI
75	tristate
76	depends on FSI
77