lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAPY8ntCTuTBU9PRkt-ja540ir+0HUZCuYvPpFgKhWpFsOvM8Ww@mail.gmail.com>
Date: Thu, 30 Oct 2025 11:09:00 +0000
From: Dave Stevenson <dave.stevenson@...pberrypi.com>
To: Jean Delvare <jdelvare@...e.de>
Cc: Marek Vasut <marex@...x.de>, Liam Girdwood <lgirdwood@...il.com>, Mark Brown <broonie@...nel.org>, 
	LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] regulator: Let raspberrypi drivers depend on ARM

Hi Jean

Sorry I was out of the office for a few days.

On Mon, 27 Oct 2025 at 12:22, Jean Delvare <jdelvare@...e.de> wrote:
>
> 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@...e.de>
> ---
> Marek, Dave, would you be OK with that change?

These regulator drivers are for a MIPI DSI display, so they can work
with any platform that has a DSI interface. Currently that is mainly
ARM/ARM64 SoC, but there's nothing stopping RISC-V or x86 having a DSI
interface.

Checking and [1] says the Intel Alder Lake 12th gen processors support
DSI, although presumably that would also then need ACPI support in the
driver.
[2] says the OrangePi RV2 is a RISC-V board with DSI interface, and
there is at least basic support for the board in mainline, although
not obviously the DSI block.

Personally I see little point in reducing the scope to just ARM/ARM64
as it may well need to be extended again. What's your reasoning for
saying they aren't useful on other architectures?

  Dave

[1] https://edc.intel.com/content/www/us/en/design/ipla/software-development-platforms/client/platforms/alder-lake-desktop/12th-generation-intel-core-processors-datasheet-volume-1-of-2/010/mipi-dsi/
[2] http://www.orangepi.org/orangepiwiki/index.php/Orange_Pi_RV2

>  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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ