mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] aiodev: Enable saradc for RK3588
@ 2026-03-05  6:53 Sascha Hauer
  2026-03-05  7:35 ` Ahmad Fatoum
  2026-03-05 12:15 ` Sascha Hauer
  0 siblings, 2 replies; 4+ messages in thread
From: Sascha Hauer @ 2026-03-05  6:53 UTC (permalink / raw)
  To: Barebox List

The RK3588 also has a saradc, add the SoC to the dependency list.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 drivers/aiodev/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/aiodev/Kconfig b/drivers/aiodev/Kconfig
index 1c7bf16546..5c925109fb 100644
--- a/drivers/aiodev/Kconfig
+++ b/drivers/aiodev/Kconfig
@@ -60,7 +60,7 @@ config STM32_ADC
 
 config ROCKCHIP_SARADC
 	tristate "Rockchip SARADC driver"
-	depends on ARCH_RK3568 || ARCH_RK3576 || COMPILE_TEST
+	depends on ARCH_RK3568 || ARCH_RK3576 || ARCH_RK3588 || COMPILE_TEST
 	depends on OFDEVICE
 	help
 	  Support for Successive Approximation Register (SAR) ADC in Rockchip
-- 
2.47.3




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

* Re: [PATCH] aiodev: Enable saradc for RK3588
  2026-03-05  6:53 [PATCH] aiodev: Enable saradc for RK3588 Sascha Hauer
@ 2026-03-05  7:35 ` Ahmad Fatoum
  2026-03-05 12:15   ` Sascha Hauer
  2026-03-05 12:15 ` Sascha Hauer
  1 sibling, 1 reply; 4+ messages in thread
From: Ahmad Fatoum @ 2026-03-05  7:35 UTC (permalink / raw)
  To: Sascha Hauer, Barebox List

Hello Sascha,

On 3/5/26 07:53, Sascha Hauer wrote:
> The RK3588 also has a saradc, add the SoC to the dependency list.
> 
> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
> ---
>  drivers/aiodev/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/aiodev/Kconfig b/drivers/aiodev/Kconfig
> index 1c7bf16546..5c925109fb 100644
> --- a/drivers/aiodev/Kconfig
> +++ b/drivers/aiodev/Kconfig
> @@ -60,7 +60,7 @@ config STM32_ADC
>  
>  config ROCKCHIP_SARADC
>  	tristate "Rockchip SARADC driver"
> -	depends on ARCH_RK3568 || ARCH_RK3576 || COMPILE_TEST
> +	depends on ARCH_RK3568 || ARCH_RK3576 || ARCH_RK3588 || COMPILE_TEST

Given that there are so many RK35xx variants, let's just turn this into ARCH_ROCKCHIP?

Cheers,
Ahmad

>  	depends on OFDEVICE
>  	help
>  	  Support for Successive Approximation Register (SAR) ADC in Rockchip


-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



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

* Re: [PATCH] aiodev: Enable saradc for RK3588
  2026-03-05  6:53 [PATCH] aiodev: Enable saradc for RK3588 Sascha Hauer
  2026-03-05  7:35 ` Ahmad Fatoum
@ 2026-03-05 12:15 ` Sascha Hauer
  1 sibling, 0 replies; 4+ messages in thread
From: Sascha Hauer @ 2026-03-05 12:15 UTC (permalink / raw)
  To: Barebox List, Sascha Hauer


On Thu, 05 Mar 2026 07:53:52 +0100, Sascha Hauer wrote:
> The RK3588 also has a saradc, add the SoC to the dependency list.
> 
> 

Applied, thanks!

[1/1] aiodev: Enable saradc for RK3588
      https://git.pengutronix.de/cgit/barebox/commit/?id=303f569a666d (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer@pengutronix.de>




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

* Re: [PATCH] aiodev: Enable saradc for RK3588
  2026-03-05  7:35 ` Ahmad Fatoum
@ 2026-03-05 12:15   ` Sascha Hauer
  0 siblings, 0 replies; 4+ messages in thread
From: Sascha Hauer @ 2026-03-05 12:15 UTC (permalink / raw)
  To: Ahmad Fatoum; +Cc: Barebox List

On Thu, Mar 05, 2026 at 08:35:27AM +0100, Ahmad Fatoum wrote:
> Hello Sascha,
> 
> On 3/5/26 07:53, Sascha Hauer wrote:
> > The RK3588 also has a saradc, add the SoC to the dependency list.
> > 
> > Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
> > ---
> >  drivers/aiodev/Kconfig | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/drivers/aiodev/Kconfig b/drivers/aiodev/Kconfig
> > index 1c7bf16546..5c925109fb 100644
> > --- a/drivers/aiodev/Kconfig
> > +++ b/drivers/aiodev/Kconfig
> > @@ -60,7 +60,7 @@ config STM32_ADC
> >  
> >  config ROCKCHIP_SARADC
> >  	tristate "Rockchip SARADC driver"
> > -	depends on ARCH_RK3568 || ARCH_RK3576 || COMPILE_TEST
> > +	depends on ARCH_RK3568 || ARCH_RK3576 || ARCH_RK3588 || COMPILE_TEST
> 
> Given that there are so many RK35xx variants, let's just turn this into ARCH_ROCKCHIP?

Did that.

Sascha

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



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

end of thread, other threads:[~2026-03-05 12:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-03-05  6:53 [PATCH] aiodev: Enable saradc for RK3588 Sascha Hauer
2026-03-05  7:35 ` Ahmad Fatoum
2026-03-05 12:15   ` Sascha Hauer
2026-03-05 12:15 ` Sascha Hauer

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