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>
This commit is contained in:
Jean Delvare 2025-10-27 13:22:19 +01:00 committed by Mark Brown
parent d054cc3a2c
commit 01313661b2
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0
1 changed files with 2 additions and 0 deletions

View File

@ -1181,6 +1181,7 @@ config REGULATOR_RAA215300
config REGULATOR_RASPBERRYPI_TOUCHSCREEN_ATTINY config REGULATOR_RASPBERRYPI_TOUCHSCREEN_ATTINY
tristate "Raspberry Pi 7-inch touchscreen panel ATTINY regulator" tristate "Raspberry Pi 7-inch touchscreen panel ATTINY regulator"
depends on ARM || ARM64 || COMPILE_TEST
depends on BACKLIGHT_CLASS_DEVICE depends on BACKLIGHT_CLASS_DEVICE
depends on I2C depends on I2C
depends on OF_GPIO depends on OF_GPIO
@ -1192,6 +1193,7 @@ config REGULATOR_RASPBERRYPI_TOUCHSCREEN_ATTINY
config REGULATOR_RASPBERRYPI_TOUCHSCREEN_V2 config REGULATOR_RASPBERRYPI_TOUCHSCREEN_V2
tristate "Raspberry Pi 7-inch touchscreen panel V2 regulator" tristate "Raspberry Pi 7-inch touchscreen panel V2 regulator"
depends on ARM || ARM64 || COMPILE_TEST
depends on GPIOLIB depends on GPIOLIB
depends on I2C && OF depends on I2C && OF
select GPIO_REGMAP select GPIO_REGMAP