Skip to content

Commit 0131366

Browse files
jdelvarebroonie
authored andcommitted
regulator: Let raspberrypi drivers depend on ARM
The Raspberry Pi drivers aren't useful on other architectures, so only offer them on ARM and ARM64, except for build testing purposes. Signed-off-by: Jean Delvare <jdelvare@suse.de> Link: https://patch.msgid.link/20251027132219.2f3274f0@endymion Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent d054cc3 commit 0131366

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

drivers/regulator/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1181,6 +1181,7 @@ config REGULATOR_RAA215300
11811181

11821182
config REGULATOR_RASPBERRYPI_TOUCHSCREEN_ATTINY
11831183
tristate "Raspberry Pi 7-inch touchscreen panel ATTINY regulator"
1184+
depends on ARM || ARM64 || COMPILE_TEST
11841185
depends on BACKLIGHT_CLASS_DEVICE
11851186
depends on I2C
11861187
depends on OF_GPIO
@@ -1192,6 +1193,7 @@ config REGULATOR_RASPBERRYPI_TOUCHSCREEN_ATTINY
11921193

11931194
config REGULATOR_RASPBERRYPI_TOUCHSCREEN_V2
11941195
tristate "Raspberry Pi 7-inch touchscreen panel V2 regulator"
1196+
depends on ARM || ARM64 || COMPILE_TEST
11951197
depends on GPIOLIB
11961198
depends on I2C && OF
11971199
select GPIO_REGMAP

0 commit comments

Comments
 (0)