Linux IIO development
 help / color / mirror / Atom feed
* [PATCH 0/2] iio: adc: add missing 'select IIO_TRIGGERED_BUFFER' to Kconfig entries
@ 2026-07-01 19:21 Joshua Crofts
  2026-07-01 19:21 ` [PATCH 1/2] iio: adc: ad4130: add missing `select IIO_TRIGGERED_BUFFER` to Kconfig Joshua Crofts
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Joshua Crofts @ 2026-07-01 19:21 UTC (permalink / raw)
  To: Jonathan Cameron, David Lechner, Nuno Sá, Andy Shevchenko,
	Jonathan Santos, Ramona Alexandra Nechita
  Cc: linux-iio, linux-kernel, Joshua Crofts, Jonathan Cameron, stable

The AD4130 and AD7779 entries are missing 'select IIO_TRIGGERED_BUFFER'
entries, causing potential build failures.

Steps to reproduce:
1. Run `make allnoconfig`
2. Run `make menuconfig` and select any afformentioned driver and
   modules it depends on.
3. Run `make .` and the build will fail due to missing triggered
   buffer definitions etc.

I seem to have stumbled upon a lot of drivers which have incomplete
Kconfigs, expect more patch series per sensor type.

Signed-off-by: Joshua Crofts <joshua.crofts1@gmail.com>
---
Joshua Crofts (2):
      iio: adc: ad4130: add missing `select IIO_TRIGGERED_BUFFER` to Kconfig
      iio: adc: ad7779: add missing 'select IIO_TRIGGERED_BUFFER' to Kconfig

 drivers/iio/adc/Kconfig | 2 ++
 1 file changed, 2 insertions(+)
---
base-commit: 022cc99d5d1cdc76b09b424a769c3cfea3812378
change-id: 20260701-add-adc-kconfig-deps-b2cc49b98417

Best regards,
-- 
Kind regards

CJD


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

* [PATCH 1/2] iio: adc: ad4130: add missing `select IIO_TRIGGERED_BUFFER` to Kconfig
  2026-07-01 19:21 [PATCH 0/2] iio: adc: add missing 'select IIO_TRIGGERED_BUFFER' to Kconfig entries Joshua Crofts
@ 2026-07-01 19:21 ` Joshua Crofts
  2026-07-01 19:21 ` [PATCH 2/2] iio: adc: ad7779: add missing 'select IIO_TRIGGERED_BUFFER' " Joshua Crofts
  2026-07-02 11:02 ` [PATCH 0/2] iio: adc: add missing 'select IIO_TRIGGERED_BUFFER' to Kconfig entries Andy Shevchenko
  2 siblings, 0 replies; 6+ messages in thread
From: Joshua Crofts @ 2026-07-01 19:21 UTC (permalink / raw)
  To: Jonathan Cameron, David Lechner, Nuno Sá, Andy Shevchenko,
	Jonathan Santos, Ramona Alexandra Nechita
  Cc: linux-iio, linux-kernel, Joshua Crofts, Jonathan Cameron, stable

The Kconfig entry is missing a `select IIO_TRIGGERED_BUFFER` parameter,
causing potential build failures.

Fixes: ec98c3b50157 ("iio: adc: ad4130: add new supported parts")
Cc: stable@vger.kernel.org
Signed-off-by: Joshua Crofts <joshua.crofts1@gmail.com>
---
 drivers/iio/adc/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig
index 441e5c660716..b1437e6b02fd 100644
--- a/drivers/iio/adc/Kconfig
+++ b/drivers/iio/adc/Kconfig
@@ -109,6 +109,7 @@ config AD4130
 	depends on SPI
 	depends on GPIOLIB
 	select IIO_BUFFER
+	select IIO_TRIGGERED_BUFFER
 	select IIO_KFIFO_BUF
 	select REGMAP_SPI
 	depends on COMMON_CLK

-- 
2.54.0


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

* [PATCH 2/2] iio: adc: ad7779: add missing 'select IIO_TRIGGERED_BUFFER' to Kconfig
  2026-07-01 19:21 [PATCH 0/2] iio: adc: add missing 'select IIO_TRIGGERED_BUFFER' to Kconfig entries Joshua Crofts
  2026-07-01 19:21 ` [PATCH 1/2] iio: adc: ad4130: add missing `select IIO_TRIGGERED_BUFFER` to Kconfig Joshua Crofts
@ 2026-07-01 19:21 ` Joshua Crofts
  2026-07-02 11:03   ` Andy Shevchenko
  2026-07-02 11:02 ` [PATCH 0/2] iio: adc: add missing 'select IIO_TRIGGERED_BUFFER' to Kconfig entries Andy Shevchenko
  2 siblings, 1 reply; 6+ messages in thread
From: Joshua Crofts @ 2026-07-01 19:21 UTC (permalink / raw)
  To: Jonathan Cameron, David Lechner, Nuno Sá, Andy Shevchenko,
	Jonathan Santos, Ramona Alexandra Nechita
  Cc: linux-iio, linux-kernel, Joshua Crofts, Jonathan Cameron, stable

The Kconfig entry for the AD7779 is missing a
'select IIO_TRIGGERED_BUFFER' parameter, causing build failures.

Fixes: c9a3f8c7bfcb ("drivers: iio: adc: add support for ad777x family")
Cc: stable@vger.kernel.org
Signed-off-by: Joshua Crofts <joshua.crofts1@gmail.com>
---
 drivers/iio/adc/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig
index b1437e6b02fd..878f8145406f 100644
--- a/drivers/iio/adc/Kconfig
+++ b/drivers/iio/adc/Kconfig
@@ -454,6 +454,7 @@ config AD7779
 	depends on SPI
 	select CRC8
 	select IIO_BUFFER
+	select IIO_TRIGGERED_BUFFER
 	select IIO_BACKEND
 	help
 	  Say yes here to build support for Analog Devices AD777X family

-- 
2.54.0


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

* Re: [PATCH 0/2] iio: adc: add missing 'select IIO_TRIGGERED_BUFFER' to Kconfig entries
  2026-07-01 19:21 [PATCH 0/2] iio: adc: add missing 'select IIO_TRIGGERED_BUFFER' to Kconfig entries Joshua Crofts
  2026-07-01 19:21 ` [PATCH 1/2] iio: adc: ad4130: add missing `select IIO_TRIGGERED_BUFFER` to Kconfig Joshua Crofts
  2026-07-01 19:21 ` [PATCH 2/2] iio: adc: ad7779: add missing 'select IIO_TRIGGERED_BUFFER' " Joshua Crofts
@ 2026-07-02 11:02 ` Andy Shevchenko
  2026-07-02 17:05   ` Jonathan Cameron
  2 siblings, 1 reply; 6+ messages in thread
From: Andy Shevchenko @ 2026-07-02 11:02 UTC (permalink / raw)
  To: Joshua Crofts
  Cc: Jonathan Cameron, David Lechner, Nuno Sá, Andy Shevchenko,
	Jonathan Santos, Ramona Alexandra Nechita, linux-iio,
	linux-kernel, stable

On Wed, Jul 01, 2026 at 09:21:45PM +0200, Joshua Crofts wrote:
> The AD4130 and AD7779 entries are missing 'select IIO_TRIGGERED_BUFFER'
> entries, causing potential build failures.
> 
> Steps to reproduce:
> 1. Run `make allnoconfig`
> 2. Run `make menuconfig` and select any afformentioned driver and
>    modules it depends on.
> 3. Run `make .` and the build will fail due to missing triggered
>    buffer definitions etc.

Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>

> I seem to have stumbled upon a lot of drivers which have incomplete
> Kconfigs, expect more patch series per sensor type.



-- 
With Best Regards,
Andy Shevchenko



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

* Re: [PATCH 2/2] iio: adc: ad7779: add missing 'select IIO_TRIGGERED_BUFFER' to Kconfig
  2026-07-01 19:21 ` [PATCH 2/2] iio: adc: ad7779: add missing 'select IIO_TRIGGERED_BUFFER' " Joshua Crofts
@ 2026-07-02 11:03   ` Andy Shevchenko
  0 siblings, 0 replies; 6+ messages in thread
From: Andy Shevchenko @ 2026-07-02 11:03 UTC (permalink / raw)
  To: Joshua Crofts
  Cc: Jonathan Cameron, David Lechner, Nuno Sá, Andy Shevchenko,
	Jonathan Santos, Ramona Alexandra Nechita, linux-iio,
	linux-kernel, stable

On Wed, Jul 01, 2026 at 09:21:47PM +0200, Joshua Crofts wrote:
> The Kconfig entry for the AD7779 is missing a
> 'select IIO_TRIGGERED_BUFFER' parameter, causing build failures.

Tested-by: Andy Shevchenko <andriy.shevchenko@intel.com>

-- 
With Best Regards,
Andy Shevchenko



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

* Re: [PATCH 0/2] iio: adc: add missing 'select IIO_TRIGGERED_BUFFER' to Kconfig entries
  2026-07-02 11:02 ` [PATCH 0/2] iio: adc: add missing 'select IIO_TRIGGERED_BUFFER' to Kconfig entries Andy Shevchenko
@ 2026-07-02 17:05   ` Jonathan Cameron
  0 siblings, 0 replies; 6+ messages in thread
From: Jonathan Cameron @ 2026-07-02 17:05 UTC (permalink / raw)
  To: Andy Shevchenko
  Cc: Joshua Crofts, David Lechner, Nuno Sá, Andy Shevchenko,
	Jonathan Santos, Ramona Alexandra Nechita, linux-iio,
	linux-kernel, stable

On Thu, 2 Jul 2026 14:02:36 +0300
Andy Shevchenko <andriy.shevchenko@intel.com> wrote:

> On Wed, Jul 01, 2026 at 09:21:45PM +0200, Joshua Crofts wrote:
> > The AD4130 and AD7779 entries are missing 'select IIO_TRIGGERED_BUFFER'
> > entries, causing potential build failures.
> > 
> > Steps to reproduce:
> > 1. Run `make allnoconfig`
> > 2. Run `make menuconfig` and select any afformentioned driver and
> >    modules it depends on.
> > 3. Run `make .` and the build will fail due to missing triggered
> >    buffer definitions etc.  
> 
> Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
> 
> > I seem to have stumbled upon a lot of drivers which have incomplete
> > Kconfigs, expect more patch series per sensor type.  
> 
> 
> 
Applied to the fixes-togreg branch of iio.git.

Thanks,

Jonathan


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

end of thread, other threads:[~2026-07-02 17:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-01 19:21 [PATCH 0/2] iio: adc: add missing 'select IIO_TRIGGERED_BUFFER' to Kconfig entries Joshua Crofts
2026-07-01 19:21 ` [PATCH 1/2] iio: adc: ad4130: add missing `select IIO_TRIGGERED_BUFFER` to Kconfig Joshua Crofts
2026-07-01 19:21 ` [PATCH 2/2] iio: adc: ad7779: add missing 'select IIO_TRIGGERED_BUFFER' " Joshua Crofts
2026-07-02 11:03   ` Andy Shevchenko
2026-07-02 11:02 ` [PATCH 0/2] iio: adc: add missing 'select IIO_TRIGGERED_BUFFER' to Kconfig entries Andy Shevchenko
2026-07-02 17:05   ` Jonathan Cameron

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