public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] regulator: Let raspberrypi drivers depend on ARM
@ 2025-10-27 12:22 Jean Delvare
  2025-10-28 11:17 ` Mark Brown
  2025-10-30 11:09 ` Dave Stevenson
  0 siblings, 2 replies; 5+ messages in thread
From: Jean Delvare @ 2025-10-27 12:22 UTC (permalink / raw)
  To: Marek Vasut, Dave Stevenson; +Cc: Liam Girdwood, Mark Brown, LKML

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>
---
Marek, Dave, would you be OK with that change?

 drivers/regulator/Kconfig |    2 ++
 1 file changed, 2 insertions(+)

--- linux-6.17.orig/drivers/regulator/Kconfig
+++ linux-6.17/drivers/regulator/Kconfig
@@ -1144,6 +1144,7 @@ config REGULATOR_RAA215300
 
 config REGULATOR_RASPBERRYPI_TOUCHSCREEN_ATTINY
 	tristate "Raspberry Pi 7-inch touchscreen panel ATTINY regulator"
+	depends on ARM || ARM64 || COMPILE_TEST
 	depends on BACKLIGHT_CLASS_DEVICE
 	depends on I2C
 	depends on OF_GPIO
@@ -1155,6 +1156,7 @@ config REGULATOR_RASPBERRYPI_TOUCHSCREEN
 
 config REGULATOR_RASPBERRYPI_TOUCHSCREEN_V2
 	tristate "Raspberry Pi 7-inch touchscreen panel V2 regulator"
+	depends on ARM || ARM64 || COMPILE_TEST
 	depends on GPIOLIB
 	depends on I2C && OF
 	select GPIO_REGMAP


-- 
Jean Delvare
SUSE L3 Support

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-12-15 12:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-27 12:22 [PATCH] regulator: Let raspberrypi drivers depend on ARM Jean Delvare
2025-10-28 11:17 ` Mark Brown
2025-10-30 11:09 ` Dave Stevenson
2025-10-30 12:33   ` Jean Delvare
2025-12-15 12:36     ` Geert Uytterhoeven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox