Merge 6.4-rc5 into usb-next
[platform/kernel/linux-starfive.git] / drivers / base / regmap / Kconfig
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
6 config REGMAP
7         bool "Register Map support" if KUNIT_ALL_TESTS
8         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)
9         select IRQ_DOMAIN if REGMAP_IRQ
10         select MDIO_BUS if REGMAP_MDIO
11         help
12           Enable support for the Register Map (regmap) access API.
13
14           Usually, this option is automatically selected when needed.
15           However, you may want to enable it manually for running the regmap
16           KUnit tests.
17
18           If unsure, say N.
19
20 config REGMAP_KUNIT
21         tristate "KUnit tests for regmap"
22         depends on KUNIT && REGMAP
23         default KUNIT_ALL_TESTS
24         select REGMAP_RAM
25
26 config REGMAP_AC97
27         tristate
28
29 config REGMAP_I2C
30         tristate
31         depends on I2C
32
33 config REGMAP_SLIMBUS
34         tristate
35         depends on SLIMBUS
36
37 config REGMAP_SPI
38         tristate
39         depends on SPI
40
41 config REGMAP_SPMI
42         tristate
43         depends on SPMI
44
45 config REGMAP_W1
46         tristate
47         depends on W1
48
49 config REGMAP_MDIO
50         tristate
51
52 config REGMAP_MMIO
53         tristate
54
55 config REGMAP_IRQ
56         bool
57
58 config REGMAP_RAM
59         tristate
60
61 config REGMAP_SOUNDWIRE
62         tristate
63         depends on SOUNDWIRE
64
65 config REGMAP_SOUNDWIRE_MBQ
66         tristate
67         depends on SOUNDWIRE
68
69 config REGMAP_SCCB
70         tristate
71         depends on I2C
72
73 config REGMAP_I3C
74         tristate
75         depends on I3C
76
77 config REGMAP_SPI_AVMM
78         tristate
79         depends on SPI
80
81 config REGMAP_FSI
82         tristate
83         depends on FSI