Kconfig (0a30901b0732a59e038088d3de3e5611db1870d3) | Kconfig (47ee108a113c72ec8ceee2c7af52c19ed72e6ad7) |
---|---|
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 | 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 bool "Register Map support" if KUNIT_ALL_TESTS | 7 bool |
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 20config REGMAP_KUNIT 21 tristate "KUnit tests for regmap" 22 depends on KUNIT && REGMAP 23 default KUNIT_ALL_TESTS 24 select REGMAP_RAM 25 | 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 20config REGMAP_KUNIT 21 tristate "KUnit tests for regmap" 22 depends on KUNIT && REGMAP 23 default KUNIT_ALL_TESTS 24 select REGMAP_RAM 25 |
26config REGMAP_BUILD 27 bool "Enable regmap build" 28 depends on KUNIT 29 select REGMAP 30 help 31 This option exists purely to allow the regmap KUnit tests to 32 be enabled without having to enable some driver that uses 33 regmap due to unfortunate issues with how KUnit tests are 34 normally enabled. 35 |
|
26config REGMAP_AC97 27 tristate 28 29config REGMAP_I2C 30 tristate 31 depends on I2C 32 33config REGMAP_SLIMBUS --- 50 unchanged lines hidden --- | 36config REGMAP_AC97 37 tristate 38 39config REGMAP_I2C 40 tristate 41 depends on I2C 42 43config REGMAP_SLIMBUS --- 50 unchanged lines hidden --- |