* [PATCH 01/13] iio: accel: kx022a: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
2024-10-03 21:04 [PATCH 00/13] iio: add missing select REMAP_SPI, IIO_BUFFER, and IIO_TRIGGERED_BUFFER Javier Carrasco
@ 2024-10-03 21:04 ` Javier Carrasco
2024-10-04 8:17 ` Matti Vaittinen
2024-10-03 21:04 ` [PATCH 02/13] iio: adc: ad7944: " Javier Carrasco
` (11 subsequent siblings)
12 siblings, 1 reply; 39+ messages in thread
From: Javier Carrasco @ 2024-10-03 21:04 UTC (permalink / raw)
To: Jonathan Cameron, Lars-Peter Clausen, Matti Vaittinen,
Andy Shevchenko, David Lechner, Nuno Sa, Dan Murphy,
Sean Nyekjaer, Leonard Göhrs, Mihail Chindris,
Alexandru Ardelean, Gustavo Silva, Shoji Keita, Andrey Skvortsov,
Dalton Durst, Icenowy Zheng, Andreas Klinger
Cc: Jonathan Cameron, linux-iio, linux-kernel, Ondrej Jirman,
Javier Carrasco
This driver makes use of triggered buffers, but does not select the
required modules.
Add the missing 'select IIO_BUFFER' and 'select IIO_TRIGGERED_BUFFER'.
Fixes: 7c1d1677b322 ("iio: accel: Support Kionix/ROHM KX022A accelerometer")
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
---
drivers/iio/accel/Kconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/iio/accel/Kconfig b/drivers/iio/accel/Kconfig
index 516c1a8e4d56..8c3f7cf55d5f 100644
--- a/drivers/iio/accel/Kconfig
+++ b/drivers/iio/accel/Kconfig
@@ -447,6 +447,8 @@ config IIO_ST_ACCEL_SPI_3AXIS
config IIO_KX022A
tristate
+ select IIO_BUFFER
+ select IIO_TRIGGERED_BUFFER
config IIO_KX022A_SPI
tristate "Kionix KX022A tri-axis digital accelerometer SPI interface"
--
2.43.0
^ permalink raw reply related [flat|nested] 39+ messages in thread* Re: [PATCH 01/13] iio: accel: kx022a: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
2024-10-03 21:04 ` [PATCH 01/13] iio: accel: kx022a: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig Javier Carrasco
@ 2024-10-04 8:17 ` Matti Vaittinen
2024-10-05 17:47 ` Jonathan Cameron
0 siblings, 1 reply; 39+ messages in thread
From: Matti Vaittinen @ 2024-10-04 8:17 UTC (permalink / raw)
To: Javier Carrasco, Jonathan Cameron, Lars-Peter Clausen,
Andy Shevchenko, David Lechner, Nuno Sa, Dan Murphy,
Sean Nyekjaer, Leonard Göhrs, Mihail Chindris,
Alexandru Ardelean, Gustavo Silva, Shoji Keita, Andrey Skvortsov,
Dalton Durst, Icenowy Zheng, Andreas Klinger
Cc: Jonathan Cameron, linux-iio, linux-kernel, Ondrej Jirman
On 04/10/2024 00:04, Javier Carrasco wrote:
> This driver makes use of triggered buffers, but does not select the
> required modules.
>
> Add the missing 'select IIO_BUFFER' and 'select IIO_TRIGGERED_BUFFER'.
>
> Fixes: 7c1d1677b322 ("iio: accel: Support Kionix/ROHM KX022A accelerometer")
> Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Acked-by: Matti Vaittinen <mazziesaccount@gmail.com>
^ permalink raw reply [flat|nested] 39+ messages in thread* Re: [PATCH 01/13] iio: accel: kx022a: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
2024-10-04 8:17 ` Matti Vaittinen
@ 2024-10-05 17:47 ` Jonathan Cameron
0 siblings, 0 replies; 39+ messages in thread
From: Jonathan Cameron @ 2024-10-05 17:47 UTC (permalink / raw)
To: Matti Vaittinen
Cc: Javier Carrasco, Lars-Peter Clausen, Andy Shevchenko,
David Lechner, Nuno Sa, Dan Murphy, Sean Nyekjaer,
Leonard Göhrs, Mihail Chindris, Alexandru Ardelean,
Gustavo Silva, Shoji Keita, Andrey Skvortsov, Dalton Durst,
Icenowy Zheng, Andreas Klinger, Jonathan Cameron, linux-iio,
linux-kernel, Ondrej Jirman
On Fri, 4 Oct 2024 11:17:34 +0300
Matti Vaittinen <mazziesaccount@gmail.com> wrote:
> On 04/10/2024 00:04, Javier Carrasco wrote:
> > This driver makes use of triggered buffers, but does not select the
> > required modules.
> >
> > Add the missing 'select IIO_BUFFER' and 'select IIO_TRIGGERED_BUFFER'.
> >
> > Fixes: 7c1d1677b322 ("iio: accel: Support Kionix/ROHM KX022A accelerometer")
> > Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
>
> Acked-by: Matti Vaittinen <mazziesaccount@gmail.com>
>
>
Applied to the fixes-togreg branch of iio.git.
J
^ permalink raw reply [flat|nested] 39+ messages in thread
* [PATCH 02/13] iio: adc: ad7944: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
2024-10-03 21:04 [PATCH 00/13] iio: add missing select REMAP_SPI, IIO_BUFFER, and IIO_TRIGGERED_BUFFER Javier Carrasco
2024-10-03 21:04 ` [PATCH 01/13] iio: accel: kx022a: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig Javier Carrasco
@ 2024-10-03 21:04 ` Javier Carrasco
2024-10-03 23:00 ` David Lechner
2024-10-03 21:04 ` [PATCH 03/13] iio: adc: ti-ads124s08: " Javier Carrasco
` (10 subsequent siblings)
12 siblings, 1 reply; 39+ messages in thread
From: Javier Carrasco @ 2024-10-03 21:04 UTC (permalink / raw)
To: Jonathan Cameron, Lars-Peter Clausen, Matti Vaittinen,
Andy Shevchenko, David Lechner, Nuno Sa, Dan Murphy,
Sean Nyekjaer, Leonard Göhrs, Mihail Chindris,
Alexandru Ardelean, Gustavo Silva, Shoji Keita, Andrey Skvortsov,
Dalton Durst, Icenowy Zheng, Andreas Klinger
Cc: Jonathan Cameron, linux-iio, linux-kernel, Ondrej Jirman,
Javier Carrasco
This driver makes use of triggered buffers, but does not select the
required modules.
Add the missing 'select IIO_BUFFER' and 'select IIO_TRIGGERED_BUFFER'.
Fixes: d1efcf8871db ("iio: adc: ad7944: add driver for AD7944/AD7985/AD7986")
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
---
drivers/iio/adc/Kconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig
index 97ece1a4b7e3..6790e62700fe 100644
--- a/drivers/iio/adc/Kconfig
+++ b/drivers/iio/adc/Kconfig
@@ -328,6 +328,8 @@ config AD7923
config AD7944
tristate "Analog Devices AD7944 and similar ADCs driver"
depends on SPI
+ select IIO_BUFFER
+ select IIO_TRIGGERED_BUFFER
help
Say yes here to build support for Analog Devices
AD7944, AD7985, AD7986 ADCs.
--
2.43.0
^ permalink raw reply related [flat|nested] 39+ messages in thread* Re: [PATCH 02/13] iio: adc: ad7944: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
2024-10-03 21:04 ` [PATCH 02/13] iio: adc: ad7944: " Javier Carrasco
@ 2024-10-03 23:00 ` David Lechner
2024-10-05 17:48 ` Jonathan Cameron
0 siblings, 1 reply; 39+ messages in thread
From: David Lechner @ 2024-10-03 23:00 UTC (permalink / raw)
To: Javier Carrasco, Jonathan Cameron, Lars-Peter Clausen,
Matti Vaittinen, Andy Shevchenko, Nuno Sa, Dan Murphy,
Sean Nyekjaer, Leonard Göhrs, Mihail Chindris,
Alexandru Ardelean, Gustavo Silva, Shoji Keita, Andrey Skvortsov,
Dalton Durst, Icenowy Zheng, Andreas Klinger
Cc: Jonathan Cameron, linux-iio, linux-kernel, Ondrej Jirman
On 10/3/24 4:04 PM, Javier Carrasco wrote:
> This driver makes use of triggered buffers, but does not select the
> required modules.
>
> Add the missing 'select IIO_BUFFER' and 'select IIO_TRIGGERED_BUFFER'.
>
> Fixes: d1efcf8871db ("iio: adc: ad7944: add driver for AD7944/AD7985/AD7986")
> Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
> ---
Reviewed-by: David Lechner <dlechner@baylibre.com>
^ permalink raw reply [flat|nested] 39+ messages in thread* Re: [PATCH 02/13] iio: adc: ad7944: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
2024-10-03 23:00 ` David Lechner
@ 2024-10-05 17:48 ` Jonathan Cameron
0 siblings, 0 replies; 39+ messages in thread
From: Jonathan Cameron @ 2024-10-05 17:48 UTC (permalink / raw)
To: David Lechner
Cc: Javier Carrasco, Lars-Peter Clausen, Matti Vaittinen,
Andy Shevchenko, Nuno Sa, Dan Murphy, Sean Nyekjaer,
Leonard Göhrs, Mihail Chindris, Alexandru Ardelean,
Gustavo Silva, Shoji Keita, Andrey Skvortsov, Dalton Durst,
Icenowy Zheng, Andreas Klinger, Jonathan Cameron, linux-iio,
linux-kernel, Ondrej Jirman
On Thu, 3 Oct 2024 18:00:45 -0500
David Lechner <dlechner@baylibre.com> wrote:
> On 10/3/24 4:04 PM, Javier Carrasco wrote:
> > This driver makes use of triggered buffers, but does not select the
> > required modules.
> >
> > Add the missing 'select IIO_BUFFER' and 'select IIO_TRIGGERED_BUFFER'.
> >
> > Fixes: d1efcf8871db ("iio: adc: ad7944: add driver for AD7944/AD7985/AD7986")
> > Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
> > ---
>
> Reviewed-by: David Lechner <dlechner@baylibre.com>
>
Applied to the fixes-togreg branch of iio.git.
Thanks,
J
^ permalink raw reply [flat|nested] 39+ messages in thread
* [PATCH 03/13] iio: adc: ti-ads124s08: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
2024-10-03 21:04 [PATCH 00/13] iio: add missing select REMAP_SPI, IIO_BUFFER, and IIO_TRIGGERED_BUFFER Javier Carrasco
2024-10-03 21:04 ` [PATCH 01/13] iio: accel: kx022a: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig Javier Carrasco
2024-10-03 21:04 ` [PATCH 02/13] iio: adc: ad7944: " Javier Carrasco
@ 2024-10-03 21:04 ` Javier Carrasco
2024-10-03 21:04 ` [PATCH 04/13] iio: adc: ti-ads8688: " Javier Carrasco
` (9 subsequent siblings)
12 siblings, 0 replies; 39+ messages in thread
From: Javier Carrasco @ 2024-10-03 21:04 UTC (permalink / raw)
To: Jonathan Cameron, Lars-Peter Clausen, Matti Vaittinen,
Andy Shevchenko, David Lechner, Nuno Sa, Dan Murphy,
Sean Nyekjaer, Leonard Göhrs, Mihail Chindris,
Alexandru Ardelean, Gustavo Silva, Shoji Keita, Andrey Skvortsov,
Dalton Durst, Icenowy Zheng, Andreas Klinger
Cc: Jonathan Cameron, linux-iio, linux-kernel, Ondrej Jirman,
Javier Carrasco
This driver makes use of triggered buffers, but does not select the
required modules.
Add the missing 'select IIO_BUFFER' and 'select IIO_TRIGGERED_BUFFER'.
Fixes: e717f8c6dfec ("iio: adc: Add the TI ads124s08 ADC code")
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
---
drivers/iio/adc/Kconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig
index 6790e62700fe..45872a4e2acf 100644
--- a/drivers/iio/adc/Kconfig
+++ b/drivers/iio/adc/Kconfig
@@ -1493,6 +1493,8 @@ config TI_ADS8688
config TI_ADS124S08
tristate "Texas Instruments ADS124S08"
depends on SPI
+ select IIO_BUFFER
+ select IIO_TRIGGERED_BUFFER
help
If you say yes here you get support for Texas Instruments ADS124S08
and ADS124S06 ADC chips
--
2.43.0
^ permalink raw reply related [flat|nested] 39+ messages in thread* [PATCH 04/13] iio: adc: ti-ads8688: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
2024-10-03 21:04 [PATCH 00/13] iio: add missing select REMAP_SPI, IIO_BUFFER, and IIO_TRIGGERED_BUFFER Javier Carrasco
` (2 preceding siblings ...)
2024-10-03 21:04 ` [PATCH 03/13] iio: adc: ti-ads124s08: " Javier Carrasco
@ 2024-10-03 21:04 ` Javier Carrasco
2024-10-04 6:40 ` Sean Nyekjaer
2024-10-05 17:40 ` Jonathan Cameron
2024-10-03 21:04 ` [PATCH 05/13] iio: adc: ti-lmp92064: add missing select REGMAP_SPI " Javier Carrasco
` (8 subsequent siblings)
12 siblings, 2 replies; 39+ messages in thread
From: Javier Carrasco @ 2024-10-03 21:04 UTC (permalink / raw)
To: Jonathan Cameron, Lars-Peter Clausen, Matti Vaittinen,
Andy Shevchenko, David Lechner, Nuno Sa, Dan Murphy,
Sean Nyekjaer, Leonard Göhrs, Mihail Chindris,
Alexandru Ardelean, Gustavo Silva, Shoji Keita, Andrey Skvortsov,
Dalton Durst, Icenowy Zheng, Andreas Klinger
Cc: Jonathan Cameron, linux-iio, linux-kernel, Ondrej Jirman,
Javier Carrasco
This driver makes use of triggered buffers, but does not select the
required modules.
Fixes: 2a86487786b5 ("iio: adc: ti-ads8688: add trigger and buffer support")
Add the missing 'select IIO_BUFFER' and 'select IIO_TRIGGERED_BUFFER'.
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
---
drivers/iio/adc/Kconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig
index 45872a4e2acf..e6be1f1ec79f 100644
--- a/drivers/iio/adc/Kconfig
+++ b/drivers/iio/adc/Kconfig
@@ -1483,6 +1483,8 @@ config TI_ADS8344
config TI_ADS8688
tristate "Texas Instruments ADS8688"
depends on SPI
+ select IIO_BUFFER
+ select IIO_TRIGGERED_BUFFER
help
If you say yes here you get support for Texas Instruments ADS8684 and
and ADS8688 ADC chips
--
2.43.0
^ permalink raw reply related [flat|nested] 39+ messages in thread* Re: [PATCH 04/13] iio: adc: ti-ads8688: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
2024-10-03 21:04 ` [PATCH 04/13] iio: adc: ti-ads8688: " Javier Carrasco
@ 2024-10-04 6:40 ` Sean Nyekjaer
2024-10-05 17:40 ` Jonathan Cameron
1 sibling, 0 replies; 39+ messages in thread
From: Sean Nyekjaer @ 2024-10-04 6:40 UTC (permalink / raw)
To: Javier Carrasco
Cc: Jonathan Cameron, Lars-Peter Clausen, Matti Vaittinen,
Andy Shevchenko, David Lechner, Nuno Sa, Dan Murphy,
Leonard Göhrs, Mihail Chindris, Alexandru Ardelean,
Gustavo Silva, Shoji Keita, Andrey Skvortsov, Dalton Durst,
Icenowy Zheng, Andreas Klinger, Jonathan Cameron, linux-iio,
linux-kernel, Ondrej Jirman
On Thu, Oct 03, 2024 at 11:04:50PM UTC, Javier Carrasco wrote:
> This driver makes use of triggered buffers, but does not select the
> required modules.
>
> Fixes: 2a86487786b5 ("iio: adc: ti-ads8688: add trigger and buffer support")
> Add the missing 'select IIO_BUFFER' and 'select IIO_TRIGGERED_BUFFER'.
>
> Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Reviewed-by: Sean Nyekjaer <sean@geanix.com>
> ---
> drivers/iio/adc/Kconfig | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig
> index 45872a4e2acf..e6be1f1ec79f 100644
> --- a/drivers/iio/adc/Kconfig
> +++ b/drivers/iio/adc/Kconfig
> @@ -1483,6 +1483,8 @@ config TI_ADS8344
> config TI_ADS8688
> tristate "Texas Instruments ADS8688"
> depends on SPI
> + select IIO_BUFFER
> + select IIO_TRIGGERED_BUFFER
> help
> If you say yes here you get support for Texas Instruments ADS8684 and
> and ADS8688 ADC chips
>
> --
> 2.43.0
>
^ permalink raw reply [flat|nested] 39+ messages in thread* Re: [PATCH 04/13] iio: adc: ti-ads8688: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
2024-10-03 21:04 ` [PATCH 04/13] iio: adc: ti-ads8688: " Javier Carrasco
2024-10-04 6:40 ` Sean Nyekjaer
@ 2024-10-05 17:40 ` Jonathan Cameron
2024-10-05 18:21 ` Javier Carrasco
1 sibling, 1 reply; 39+ messages in thread
From: Jonathan Cameron @ 2024-10-05 17:40 UTC (permalink / raw)
To: Javier Carrasco
Cc: Lars-Peter Clausen, Matti Vaittinen, Andy Shevchenko,
David Lechner, Nuno Sa, Dan Murphy, Sean Nyekjaer,
Leonard Göhrs, Mihail Chindris, Alexandru Ardelean,
Gustavo Silva, Shoji Keita, Andrey Skvortsov, Dalton Durst,
Icenowy Zheng, Andreas Klinger, Jonathan Cameron, linux-iio,
linux-kernel, Ondrej Jirman
On Thu, 03 Oct 2024 23:04:50 +0200
Javier Carrasco <javier.carrasco.cruz@gmail.com> wrote:
> This driver makes use of triggered buffers, but does not select the
> required modules.
>
> Fixes: 2a86487786b5 ("iio: adc: ti-ads8688: add trigger and buffer support")
> Add the missing 'select IIO_BUFFER' and 'select IIO_TRIGGERED_BUFFER'.
Fixes tag must be part of the tag block.
Also this one looks to be a false positive. The driver includes
buffer.h but doesn't actually have buffered support.
>
> Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
> ---
> drivers/iio/adc/Kconfig | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig
> index 45872a4e2acf..e6be1f1ec79f 100644
> --- a/drivers/iio/adc/Kconfig
> +++ b/drivers/iio/adc/Kconfig
> @@ -1483,6 +1483,8 @@ config TI_ADS8344
> config TI_ADS8688
> tristate "Texas Instruments ADS8688"
> depends on SPI
> + select IIO_BUFFER
> + select IIO_TRIGGERED_BUFFER
> help
> If you say yes here you get support for Texas Instruments ADS8684 and
> and ADS8688 ADC chips
>
^ permalink raw reply [flat|nested] 39+ messages in thread* Re: [PATCH 04/13] iio: adc: ti-ads8688: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
2024-10-05 17:40 ` Jonathan Cameron
@ 2024-10-05 18:21 ` Javier Carrasco
2024-10-10 18:00 ` Jonathan Cameron
0 siblings, 1 reply; 39+ messages in thread
From: Javier Carrasco @ 2024-10-05 18:21 UTC (permalink / raw)
To: Jonathan Cameron
Cc: Lars-Peter Clausen, Matti Vaittinen, Andy Shevchenko,
David Lechner, Nuno Sa, Dan Murphy, Sean Nyekjaer,
Leonard Göhrs, Mihail Chindris, Alexandru Ardelean,
Gustavo Silva, Shoji Keita, Andrey Skvortsov, Dalton Durst,
Icenowy Zheng, Andreas Klinger, Jonathan Cameron, linux-iio,
linux-kernel, Ondrej Jirman
On 05/10/2024 19:40, Jonathan Cameron wrote:
> On Thu, 03 Oct 2024 23:04:50 +0200
> Javier Carrasco <javier.carrasco.cruz@gmail.com> wrote:
>
>> This driver makes use of triggered buffers, but does not select the
>> required modules.
>>
>> Fixes: 2a86487786b5 ("iio: adc: ti-ads8688: add trigger and buffer support")
>> Add the missing 'select IIO_BUFFER' and 'select IIO_TRIGGERED_BUFFER'.
> Fixes tag must be part of the tag block.
>
> Also this one looks to be a false positive. The driver includes
> buffer.h but doesn't actually have buffered support.
>
Are you sure? These are the errors I get when I compile the ti-ads8688.c:
ld: drivers/iio/adc/ti-ads8688.o: in function `ads8688_probe':
ti-ads8688.c:(.text+0x1cf): undefined reference to
`devm_iio_triggered_buffer_setup_ext'
ld: drivers/iio/adc/ti-ads8688.o: in function `ads8688_trigger_handler':
ti-ads8688.c:(.text+0x3be): undefined reference to `iio_push_to_buffers'
ld: ti-ads8688.c:(.text+0x3c9): undefined reference to
`iio_trigger_notify_done'
make[2]: *** [scripts/Makefile.vmlinux:34: vmlinux] Error 1
make[1]: *** [/home/jc/pw/linux/linux-next/Makefile:1173: vmlinux] Error 2
make: *** [Makefile:224: __sub-make] Error 2
And I see the offending functions in its code. Am I missing something
here or are we talking about different drivers?
>>
>> Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
>> ---
>> drivers/iio/adc/Kconfig | 2 ++
>> 1 file changed, 2 insertions(+)
>>
>> diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig
>> index 45872a4e2acf..e6be1f1ec79f 100644
>> --- a/drivers/iio/adc/Kconfig
>> +++ b/drivers/iio/adc/Kconfig
>> @@ -1483,6 +1483,8 @@ config TI_ADS8344
>> config TI_ADS8688
>> tristate "Texas Instruments ADS8688"
>> depends on SPI
>> + select IIO_BUFFER
>> + select IIO_TRIGGERED_BUFFER
>> help
>> If you say yes here you get support for Texas Instruments ADS8684 and
>> and ADS8688 ADC chips
>>
>
^ permalink raw reply [flat|nested] 39+ messages in thread* Re: [PATCH 04/13] iio: adc: ti-ads8688: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
2024-10-05 18:21 ` Javier Carrasco
@ 2024-10-10 18:00 ` Jonathan Cameron
0 siblings, 0 replies; 39+ messages in thread
From: Jonathan Cameron @ 2024-10-10 18:00 UTC (permalink / raw)
To: Javier Carrasco
Cc: Lars-Peter Clausen, Matti Vaittinen, Andy Shevchenko,
David Lechner, Nuno Sa, Dan Murphy, Sean Nyekjaer,
Leonard Göhrs, Mihail Chindris, Alexandru Ardelean,
Gustavo Silva, Shoji Keita, Andrey Skvortsov, Dalton Durst,
Icenowy Zheng, Andreas Klinger, Jonathan Cameron, linux-iio,
linux-kernel, Ondrej Jirman
On Sat, 5 Oct 2024 20:21:06 +0200
Javier Carrasco <javier.carrasco.cruz@gmail.com> wrote:
> On 05/10/2024 19:40, Jonathan Cameron wrote:
> > On Thu, 03 Oct 2024 23:04:50 +0200
> > Javier Carrasco <javier.carrasco.cruz@gmail.com> wrote:
> >
> >> This driver makes use of triggered buffers, but does not select the
> >> required modules.
> >>
> >> Fixes: 2a86487786b5 ("iio: adc: ti-ads8688: add trigger and buffer support")
> >> Add the missing 'select IIO_BUFFER' and 'select IIO_TRIGGERED_BUFFER'.
> > Fixes tag must be part of the tag block.
> >
> > Also this one looks to be a false positive. The driver includes
> > buffer.h but doesn't actually have buffered support.
> >
>
> Are you sure? These are the errors I get when I compile the ti-ads8688.c:
>
> ld: drivers/iio/adc/ti-ads8688.o: in function `ads8688_probe':
> ti-ads8688.c:(.text+0x1cf): undefined reference to
> `devm_iio_triggered_buffer_setup_ext'
> ld: drivers/iio/adc/ti-ads8688.o: in function `ads8688_trigger_handler':
> ti-ads8688.c:(.text+0x3be): undefined reference to `iio_push_to_buffers'
> ld: ti-ads8688.c:(.text+0x3c9): undefined reference to
> `iio_trigger_notify_done'
> make[2]: *** [scripts/Makefile.vmlinux:34: vmlinux] Error 1
> make[1]: *** [/home/jc/pw/linux/linux-next/Makefile:1173: vmlinux] Error 2
> make: *** [Makefile:224: __sub-make] Error 2
>
> And I see the offending functions in its code. Am I missing something
> here or are we talking about different drivers?
Miss read by me. I picked up on the 8344 in diff.
That does have a spurious include so I stopped looking closer!
Anyhow, now applied to the fixes-togreg branch of iio.git and
marked for stable.
Sorry about that!
Thanks,
Jonathan
>
> >>
> >> Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
> >> ---
> >> drivers/iio/adc/Kconfig | 2 ++
> >> 1 file changed, 2 insertions(+)
> >>
> >> diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig
> >> index 45872a4e2acf..e6be1f1ec79f 100644
> >> --- a/drivers/iio/adc/Kconfig
> >> +++ b/drivers/iio/adc/Kconfig
> >> @@ -1483,6 +1483,8 @@ config TI_ADS8344
> >> config TI_ADS8688
> >> tristate "Texas Instruments ADS8688"
> >> depends on SPI
> >> + select IIO_BUFFER
> >> + select IIO_TRIGGERED_BUFFER
> >> help
> >> If you say yes here you get support for Texas Instruments ADS8684 and
> >> and ADS8688 ADC chips
> >>
> >
>
^ permalink raw reply [flat|nested] 39+ messages in thread
* [PATCH 05/13] iio: adc: ti-lmp92064: add missing select REGMAP_SPI in Kconfig
2024-10-03 21:04 [PATCH 00/13] iio: add missing select REMAP_SPI, IIO_BUFFER, and IIO_TRIGGERED_BUFFER Javier Carrasco
` (3 preceding siblings ...)
2024-10-03 21:04 ` [PATCH 04/13] iio: adc: ti-ads8688: " Javier Carrasco
@ 2024-10-03 21:04 ` Javier Carrasco
2024-10-05 17:50 ` Jonathan Cameron
2024-10-03 21:04 ` [PATCH 06/13] iio: adc: ti-lmp92064: add missing select IIO_(TRIGGERED_)BUFFER " Javier Carrasco
` (7 subsequent siblings)
12 siblings, 1 reply; 39+ messages in thread
From: Javier Carrasco @ 2024-10-03 21:04 UTC (permalink / raw)
To: Jonathan Cameron, Lars-Peter Clausen, Matti Vaittinen,
Andy Shevchenko, David Lechner, Nuno Sa, Dan Murphy,
Sean Nyekjaer, Leonard Göhrs, Mihail Chindris,
Alexandru Ardelean, Gustavo Silva, Shoji Keita, Andrey Skvortsov,
Dalton Durst, Icenowy Zheng, Andreas Klinger
Cc: Jonathan Cameron, linux-iio, linux-kernel, Ondrej Jirman,
Javier Carrasco
This driver makes use of regmap_spi, but does not select the required
module.
Add the missing 'select REGMAP_SPI'.
Fixes: 627198942641 ("iio: adc: add ADC driver for the TI LMP92064 controller")
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@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 e6be1f1ec79f..1206a5487334 100644
--- a/drivers/iio/adc/Kconfig
+++ b/drivers/iio/adc/Kconfig
@@ -1531,6 +1531,7 @@ config TI_AM335X_ADC
config TI_LMP92064
tristate "Texas Instruments LMP92064 ADC driver"
depends on SPI
+ select REGMAP_SPI
help
Say yes here to build support for the LMP92064 Precision Current and Voltage
sensor.
--
2.43.0
^ permalink raw reply related [flat|nested] 39+ messages in thread* Re: [PATCH 05/13] iio: adc: ti-lmp92064: add missing select REGMAP_SPI in Kconfig
2024-10-03 21:04 ` [PATCH 05/13] iio: adc: ti-lmp92064: add missing select REGMAP_SPI " Javier Carrasco
@ 2024-10-05 17:50 ` Jonathan Cameron
0 siblings, 0 replies; 39+ messages in thread
From: Jonathan Cameron @ 2024-10-05 17:50 UTC (permalink / raw)
To: Javier Carrasco
Cc: Lars-Peter Clausen, Matti Vaittinen, Andy Shevchenko,
David Lechner, Nuno Sa, Dan Murphy, Sean Nyekjaer,
Leonard Göhrs, Mihail Chindris, Alexandru Ardelean,
Gustavo Silva, Shoji Keita, Andrey Skvortsov, Dalton Durst,
Icenowy Zheng, Andreas Klinger, Jonathan Cameron, linux-iio,
linux-kernel, Ondrej Jirman
On Thu, 03 Oct 2024 23:04:51 +0200
Javier Carrasco <javier.carrasco.cruz@gmail.com> wrote:
> This driver makes use of regmap_spi, but does not select the required
> module.
> Add the missing 'select REGMAP_SPI'.
>
> Fixes: 627198942641 ("iio: adc: add ADC driver for the TI LMP92064 controller")
> Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Applied to the fixes-togreg branch of iio.git.
Thanks,
J
> ---
> drivers/iio/adc/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig
> index e6be1f1ec79f..1206a5487334 100644
> --- a/drivers/iio/adc/Kconfig
> +++ b/drivers/iio/adc/Kconfig
> @@ -1531,6 +1531,7 @@ config TI_AM335X_ADC
> config TI_LMP92064
> tristate "Texas Instruments LMP92064 ADC driver"
> depends on SPI
> + select REGMAP_SPI
> help
> Say yes here to build support for the LMP92064 Precision Current and Voltage
> sensor.
>
^ permalink raw reply [flat|nested] 39+ messages in thread
* [PATCH 06/13] iio: adc: ti-lmp92064: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
2024-10-03 21:04 [PATCH 00/13] iio: add missing select REMAP_SPI, IIO_BUFFER, and IIO_TRIGGERED_BUFFER Javier Carrasco
` (4 preceding siblings ...)
2024-10-03 21:04 ` [PATCH 05/13] iio: adc: ti-lmp92064: add missing select REGMAP_SPI " Javier Carrasco
@ 2024-10-03 21:04 ` Javier Carrasco
2024-10-05 17:51 ` Jonathan Cameron
2024-10-03 21:04 ` [PATCH 07/13] iio: dac: ad3552r: " Javier Carrasco
` (6 subsequent siblings)
12 siblings, 1 reply; 39+ messages in thread
From: Javier Carrasco @ 2024-10-03 21:04 UTC (permalink / raw)
To: Jonathan Cameron, Lars-Peter Clausen, Matti Vaittinen,
Andy Shevchenko, David Lechner, Nuno Sa, Dan Murphy,
Sean Nyekjaer, Leonard Göhrs, Mihail Chindris,
Alexandru Ardelean, Gustavo Silva, Shoji Keita, Andrey Skvortsov,
Dalton Durst, Icenowy Zheng, Andreas Klinger
Cc: Jonathan Cameron, linux-iio, linux-kernel, Ondrej Jirman,
Javier Carrasco
This driver makes use of triggered buffers, but does not select the
required modules.
Add the missing 'select IIO_BUFFER' and 'select IIO_TRIGGERED_BUFFER'.
Fixes: 6c7bc1d27bb2 ("iio: adc: ti-lmp92064: add buffering support")
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
---
drivers/iio/adc/Kconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig
index 1206a5487334..1bf915c3d053 100644
--- a/drivers/iio/adc/Kconfig
+++ b/drivers/iio/adc/Kconfig
@@ -1532,6 +1532,8 @@ config TI_LMP92064
tristate "Texas Instruments LMP92064 ADC driver"
depends on SPI
select REGMAP_SPI
+ select IIO_BUFFER
+ select IIO_TRIGGERED_BUFFER
help
Say yes here to build support for the LMP92064 Precision Current and Voltage
sensor.
--
2.43.0
^ permalink raw reply related [flat|nested] 39+ messages in thread* Re: [PATCH 06/13] iio: adc: ti-lmp92064: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
2024-10-03 21:04 ` [PATCH 06/13] iio: adc: ti-lmp92064: add missing select IIO_(TRIGGERED_)BUFFER " Javier Carrasco
@ 2024-10-05 17:51 ` Jonathan Cameron
0 siblings, 0 replies; 39+ messages in thread
From: Jonathan Cameron @ 2024-10-05 17:51 UTC (permalink / raw)
To: Javier Carrasco
Cc: Lars-Peter Clausen, Matti Vaittinen, Andy Shevchenko,
David Lechner, Nuno Sa, Dan Murphy, Sean Nyekjaer,
Leonard Göhrs, Mihail Chindris, Alexandru Ardelean,
Gustavo Silva, Shoji Keita, Andrey Skvortsov, Dalton Durst,
Icenowy Zheng, Andreas Klinger, Jonathan Cameron, linux-iio,
linux-kernel, Ondrej Jirman
On Thu, 03 Oct 2024 23:04:52 +0200
Javier Carrasco <javier.carrasco.cruz@gmail.com> wrote:
> This driver makes use of triggered buffers, but does not select the
> required modules.
>
> Add the missing 'select IIO_BUFFER' and 'select IIO_TRIGGERED_BUFFER'.
>
> Fixes: 6c7bc1d27bb2 ("iio: adc: ti-lmp92064: add buffering support")
> Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Applied to the fixes-togreg branch of iio.git.
Thanks,
Jonathan
> ---
> drivers/iio/adc/Kconfig | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig
> index 1206a5487334..1bf915c3d053 100644
> --- a/drivers/iio/adc/Kconfig
> +++ b/drivers/iio/adc/Kconfig
> @@ -1532,6 +1532,8 @@ config TI_LMP92064
> tristate "Texas Instruments LMP92064 ADC driver"
> depends on SPI
> select REGMAP_SPI
> + select IIO_BUFFER
> + select IIO_TRIGGERED_BUFFER
> help
> Say yes here to build support for the LMP92064 Precision Current and Voltage
> sensor.
>
^ permalink raw reply [flat|nested] 39+ messages in thread
* [PATCH 07/13] iio: dac: ad3552r: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
2024-10-03 21:04 [PATCH 00/13] iio: add missing select REMAP_SPI, IIO_BUFFER, and IIO_TRIGGERED_BUFFER Javier Carrasco
` (5 preceding siblings ...)
2024-10-03 21:04 ` [PATCH 06/13] iio: adc: ti-lmp92064: add missing select IIO_(TRIGGERED_)BUFFER " Javier Carrasco
@ 2024-10-03 21:04 ` Javier Carrasco
2024-10-05 17:52 ` Jonathan Cameron
2024-10-03 21:04 ` [PATCH 08/13] iio: dac: ad5766: " Javier Carrasco
` (5 subsequent siblings)
12 siblings, 1 reply; 39+ messages in thread
From: Javier Carrasco @ 2024-10-03 21:04 UTC (permalink / raw)
To: Jonathan Cameron, Lars-Peter Clausen, Matti Vaittinen,
Andy Shevchenko, David Lechner, Nuno Sa, Dan Murphy,
Sean Nyekjaer, Leonard Göhrs, Mihail Chindris,
Alexandru Ardelean, Gustavo Silva, Shoji Keita, Andrey Skvortsov,
Dalton Durst, Icenowy Zheng, Andreas Klinger
Cc: Jonathan Cameron, linux-iio, linux-kernel, Ondrej Jirman,
Javier Carrasco
This driver makes use of triggered buffers, but does not select the
required modules.
Add the missing 'select IIO_BUFFER' and 'select IIO_TRIGGERED_BUFFER'.
Fixes: 8f2b54824b28 ("drivers:iio:dac: Add AD3552R driver support")
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
---
drivers/iio/dac/Kconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/iio/dac/Kconfig b/drivers/iio/dac/Kconfig
index 1cfd7e2a622f..9d4600ce0427 100644
--- a/drivers/iio/dac/Kconfig
+++ b/drivers/iio/dac/Kconfig
@@ -9,6 +9,8 @@ menu "Digital to analog converters"
config AD3552R
tristate "Analog Devices AD3552R DAC driver"
depends on SPI_MASTER
+ select IIO_BUFFER
+ select IIO_TRIGGERED_BUFFER
help
Say yes here to build support for Analog Devices AD3552R
Digital to Analog Converter.
--
2.43.0
^ permalink raw reply related [flat|nested] 39+ messages in thread* Re: [PATCH 07/13] iio: dac: ad3552r: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
2024-10-03 21:04 ` [PATCH 07/13] iio: dac: ad3552r: " Javier Carrasco
@ 2024-10-05 17:52 ` Jonathan Cameron
0 siblings, 0 replies; 39+ messages in thread
From: Jonathan Cameron @ 2024-10-05 17:52 UTC (permalink / raw)
To: Javier Carrasco
Cc: Lars-Peter Clausen, Matti Vaittinen, Andy Shevchenko,
David Lechner, Nuno Sa, Dan Murphy, Sean Nyekjaer,
Leonard Göhrs, Mihail Chindris, Alexandru Ardelean,
Gustavo Silva, Shoji Keita, Andrey Skvortsov, Dalton Durst,
Icenowy Zheng, Andreas Klinger, Jonathan Cameron, linux-iio,
linux-kernel, Ondrej Jirman
On Thu, 03 Oct 2024 23:04:53 +0200
Javier Carrasco <javier.carrasco.cruz@gmail.com> wrote:
> This driver makes use of triggered buffers, but does not select the
> required modules.
>
> Add the missing 'select IIO_BUFFER' and 'select IIO_TRIGGERED_BUFFER'.
>
> Fixes: 8f2b54824b28 ("drivers:iio:dac: Add AD3552R driver support")
> Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Applied to the fixes-togreg branch of iio.git
Thanks,
J
> ---
> drivers/iio/dac/Kconfig | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/iio/dac/Kconfig b/drivers/iio/dac/Kconfig
> index 1cfd7e2a622f..9d4600ce0427 100644
> --- a/drivers/iio/dac/Kconfig
> +++ b/drivers/iio/dac/Kconfig
> @@ -9,6 +9,8 @@ menu "Digital to analog converters"
> config AD3552R
> tristate "Analog Devices AD3552R DAC driver"
> depends on SPI_MASTER
> + select IIO_BUFFER
> + select IIO_TRIGGERED_BUFFER
> help
> Say yes here to build support for Analog Devices AD3552R
> Digital to Analog Converter.
>
^ permalink raw reply [flat|nested] 39+ messages in thread
* [PATCH 08/13] iio: dac: ad5766: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
2024-10-03 21:04 [PATCH 00/13] iio: add missing select REMAP_SPI, IIO_BUFFER, and IIO_TRIGGERED_BUFFER Javier Carrasco
` (6 preceding siblings ...)
2024-10-03 21:04 ` [PATCH 07/13] iio: dac: ad3552r: " Javier Carrasco
@ 2024-10-03 21:04 ` Javier Carrasco
2024-10-05 17:53 ` Jonathan Cameron
2024-10-03 21:04 ` [PATCH 09/13] iio: chemical: ens160: " Javier Carrasco
` (4 subsequent siblings)
12 siblings, 1 reply; 39+ messages in thread
From: Javier Carrasco @ 2024-10-03 21:04 UTC (permalink / raw)
To: Jonathan Cameron, Lars-Peter Clausen, Matti Vaittinen,
Andy Shevchenko, David Lechner, Nuno Sa, Dan Murphy,
Sean Nyekjaer, Leonard Göhrs, Mihail Chindris,
Alexandru Ardelean, Gustavo Silva, Shoji Keita, Andrey Skvortsov,
Dalton Durst, Icenowy Zheng, Andreas Klinger
Cc: Jonathan Cameron, linux-iio, linux-kernel, Ondrej Jirman,
Javier Carrasco
This driver makes use of triggered buffers, but does not select the
required modules.
Add the missing 'select IIO_BUFFER' and 'select IIO_TRIGGERED_BUFFER'.
Fixes: 885b9790c25a ("drivers:iio:dac:ad5766.c: Add trigger buffer")
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
---
drivers/iio/dac/Kconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/iio/dac/Kconfig b/drivers/iio/dac/Kconfig
index 9d4600ce0427..bb6cb9af9ed9 100644
--- a/drivers/iio/dac/Kconfig
+++ b/drivers/iio/dac/Kconfig
@@ -254,6 +254,8 @@ config AD5764
config AD5766
tristate "Analog Devices AD5766/AD5767 DAC driver"
depends on SPI_MASTER
+ select IIO_BUFFER
+ select IIO_TRIGGERED_BUFFER
help
Say yes here to build support for Analog Devices AD5766, AD5767
Digital to Analog Converter.
--
2.43.0
^ permalink raw reply related [flat|nested] 39+ messages in thread* Re: [PATCH 08/13] iio: dac: ad5766: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
2024-10-03 21:04 ` [PATCH 08/13] iio: dac: ad5766: " Javier Carrasco
@ 2024-10-05 17:53 ` Jonathan Cameron
0 siblings, 0 replies; 39+ messages in thread
From: Jonathan Cameron @ 2024-10-05 17:53 UTC (permalink / raw)
To: Javier Carrasco
Cc: Lars-Peter Clausen, Matti Vaittinen, Andy Shevchenko,
David Lechner, Nuno Sa, Dan Murphy, Sean Nyekjaer,
Leonard Göhrs, Mihail Chindris, Alexandru Ardelean,
Gustavo Silva, Shoji Keita, Andrey Skvortsov, Dalton Durst,
Icenowy Zheng, Andreas Klinger, Jonathan Cameron, linux-iio,
linux-kernel, Ondrej Jirman
On Thu, 03 Oct 2024 23:04:54 +0200
Javier Carrasco <javier.carrasco.cruz@gmail.com> wrote:
> This driver makes use of triggered buffers, but does not select the
> required modules.
>
> Add the missing 'select IIO_BUFFER' and 'select IIO_TRIGGERED_BUFFER'.
>
> Fixes: 885b9790c25a ("drivers:iio:dac:ad5766.c: Add trigger buffer")
> Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Applied to the fixes-togreg branch of iio.git.
thanks,
J
> ---
> drivers/iio/dac/Kconfig | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/iio/dac/Kconfig b/drivers/iio/dac/Kconfig
> index 9d4600ce0427..bb6cb9af9ed9 100644
> --- a/drivers/iio/dac/Kconfig
> +++ b/drivers/iio/dac/Kconfig
> @@ -254,6 +254,8 @@ config AD5764
> config AD5766
> tristate "Analog Devices AD5766/AD5767 DAC driver"
> depends on SPI_MASTER
> + select IIO_BUFFER
> + select IIO_TRIGGERED_BUFFER
> help
> Say yes here to build support for Analog Devices AD5766, AD5767
> Digital to Analog Converter.
>
^ permalink raw reply [flat|nested] 39+ messages in thread
* [PATCH 09/13] iio: chemical: ens160: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
2024-10-03 21:04 [PATCH 00/13] iio: add missing select REMAP_SPI, IIO_BUFFER, and IIO_TRIGGERED_BUFFER Javier Carrasco
` (7 preceding siblings ...)
2024-10-03 21:04 ` [PATCH 08/13] iio: dac: ad5766: " Javier Carrasco
@ 2024-10-03 21:04 ` Javier Carrasco
2024-10-04 14:27 ` Gustavo Silva
2024-10-03 21:04 ` [PATCH 10/13] iio: light: bu27008: " Javier Carrasco
` (3 subsequent siblings)
12 siblings, 1 reply; 39+ messages in thread
From: Javier Carrasco @ 2024-10-03 21:04 UTC (permalink / raw)
To: Jonathan Cameron, Lars-Peter Clausen, Matti Vaittinen,
Andy Shevchenko, David Lechner, Nuno Sa, Dan Murphy,
Sean Nyekjaer, Leonard Göhrs, Mihail Chindris,
Alexandru Ardelean, Gustavo Silva, Shoji Keita, Andrey Skvortsov,
Dalton Durst, Icenowy Zheng, Andreas Klinger
Cc: Jonathan Cameron, linux-iio, linux-kernel, Ondrej Jirman,
Javier Carrasco
This driver makes use of triggered buffers, but does not select the
required modules.
Add the missing 'select IIO_BUFFER' and 'select IIO_TRIGGERED_BUFFER'.
Fixes: 0fc26596b4b3 ("iio: chemical: ens160: add triggered buffer support")
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
---
drivers/iio/chemical/Kconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/iio/chemical/Kconfig b/drivers/iio/chemical/Kconfig
index 678a6adb9a75..6c87223f58d9 100644
--- a/drivers/iio/chemical/Kconfig
+++ b/drivers/iio/chemical/Kconfig
@@ -80,6 +80,8 @@ config ENS160
tristate "ScioSense ENS160 sensor driver"
depends on (I2C || SPI)
select REGMAP
+ select IIO_BUFFER
+ select IIO_TRIGGERED_BUFFER
select ENS160_I2C if I2C
select ENS160_SPI if SPI
help
--
2.43.0
^ permalink raw reply related [flat|nested] 39+ messages in thread* Re: [PATCH 09/13] iio: chemical: ens160: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
2024-10-03 21:04 ` [PATCH 09/13] iio: chemical: ens160: " Javier Carrasco
@ 2024-10-04 14:27 ` Gustavo Silva
2024-10-05 17:54 ` Jonathan Cameron
0 siblings, 1 reply; 39+ messages in thread
From: Gustavo Silva @ 2024-10-04 14:27 UTC (permalink / raw)
To: Javier Carrasco
Cc: Jonathan Cameron, Lars-Peter Clausen, Matti Vaittinen,
Andy Shevchenko, David Lechner, Nuno Sa, Dan Murphy,
Sean Nyekjaer, Leonard Göhrs, Mihail Chindris,
Alexandru Ardelean, Shoji Keita, Andrey Skvortsov, Dalton Durst,
Icenowy Zheng, Andreas Klinger, Jonathan Cameron, linux-iio,
linux-kernel, Ondrej Jirman
On Thu, Oct 03, 2024 at 11:04:55PM +0200, Javier Carrasco wrote:
> This driver makes use of triggered buffers, but does not select the
> required modules.
>
> Add the missing 'select IIO_BUFFER' and 'select IIO_TRIGGERED_BUFFER'.
>
> Fixes: 0fc26596b4b3 ("iio: chemical: ens160: add triggered buffer support")
> Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Acked-by: Gustavo Silva
<gustavograzs@gmail.com>
^ permalink raw reply [flat|nested] 39+ messages in thread* Re: [PATCH 09/13] iio: chemical: ens160: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
2024-10-04 14:27 ` Gustavo Silva
@ 2024-10-05 17:54 ` Jonathan Cameron
0 siblings, 0 replies; 39+ messages in thread
From: Jonathan Cameron @ 2024-10-05 17:54 UTC (permalink / raw)
To: Gustavo Silva
Cc: Javier Carrasco, Lars-Peter Clausen, Matti Vaittinen,
Andy Shevchenko, David Lechner, Nuno Sa, Dan Murphy,
Sean Nyekjaer, Leonard Göhrs, Mihail Chindris,
Alexandru Ardelean, Shoji Keita, Andrey Skvortsov, Dalton Durst,
Icenowy Zheng, Andreas Klinger, Jonathan Cameron, linux-iio,
linux-kernel, Ondrej Jirman
On Fri, 4 Oct 2024 11:27:49 -0300
Gustavo Silva <gustavograzs@gmail.com> wrote:
> On Thu, Oct 03, 2024 at 11:04:55PM +0200, Javier Carrasco wrote:
> > This driver makes use of triggered buffers, but does not select the
> > required modules.
> >
> > Add the missing 'select IIO_BUFFER' and 'select IIO_TRIGGERED_BUFFER'.
> >
> > Fixes: 0fc26596b4b3 ("iio: chemical: ens160: add triggered buffer support")
> > Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
>
> Acked-by: Gustavo Silva
> <gustavograzs@gmail.com>
Applied
^ permalink raw reply [flat|nested] 39+ messages in thread
* [PATCH 10/13] iio: light: bu27008: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
2024-10-03 21:04 [PATCH 00/13] iio: add missing select REMAP_SPI, IIO_BUFFER, and IIO_TRIGGERED_BUFFER Javier Carrasco
` (8 preceding siblings ...)
2024-10-03 21:04 ` [PATCH 09/13] iio: chemical: ens160: " Javier Carrasco
@ 2024-10-03 21:04 ` Javier Carrasco
2024-10-04 8:16 ` Matti Vaittinen
2024-10-03 21:04 ` [PATCH 11/13] iio: magnetometer: af8133j: " Javier Carrasco
` (2 subsequent siblings)
12 siblings, 1 reply; 39+ messages in thread
From: Javier Carrasco @ 2024-10-03 21:04 UTC (permalink / raw)
To: Jonathan Cameron, Lars-Peter Clausen, Matti Vaittinen,
Andy Shevchenko, David Lechner, Nuno Sa, Dan Murphy,
Sean Nyekjaer, Leonard Göhrs, Mihail Chindris,
Alexandru Ardelean, Gustavo Silva, Shoji Keita, Andrey Skvortsov,
Dalton Durst, Icenowy Zheng, Andreas Klinger
Cc: Jonathan Cameron, linux-iio, linux-kernel, Ondrej Jirman,
Javier Carrasco
This driver makes use of triggered buffers, but does not select the
required modules.
Add the missing 'select IIO_BUFFER' and 'select IIO_TRIGGERED_BUFFER'.
Fixes: 41ff93d14f78 ("iio: light: ROHM BU27008 color sensor")
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
---
drivers/iio/light/Kconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/iio/light/Kconfig b/drivers/iio/light/Kconfig
index 515ff46b5b82..f2f3e414849a 100644
--- a/drivers/iio/light/Kconfig
+++ b/drivers/iio/light/Kconfig
@@ -335,6 +335,8 @@ config ROHM_BU27008
depends on I2C
select REGMAP_I2C
select IIO_GTS_HELPER
+ select IIO_BUFFER
+ select IIO_TRIGGERED_BUFFER
help
Enable support for the ROHM BU27008 color sensor.
The ROHM BU27008 is a sensor with 5 photodiodes (red, green,
--
2.43.0
^ permalink raw reply related [flat|nested] 39+ messages in thread* Re: [PATCH 10/13] iio: light: bu27008: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
2024-10-03 21:04 ` [PATCH 10/13] iio: light: bu27008: " Javier Carrasco
@ 2024-10-04 8:16 ` Matti Vaittinen
2024-10-05 17:56 ` Jonathan Cameron
0 siblings, 1 reply; 39+ messages in thread
From: Matti Vaittinen @ 2024-10-04 8:16 UTC (permalink / raw)
To: Javier Carrasco, Jonathan Cameron, Lars-Peter Clausen,
Andy Shevchenko, David Lechner, Nuno Sa, Dan Murphy,
Sean Nyekjaer, Leonard Göhrs, Mihail Chindris,
Alexandru Ardelean, Gustavo Silva, Shoji Keita, Andrey Skvortsov,
Dalton Durst, Icenowy Zheng, Andreas Klinger
Cc: Jonathan Cameron, linux-iio, linux-kernel, Ondrej Jirman
On 04/10/2024 00:04, Javier Carrasco wrote:
> This driver makes use of triggered buffers, but does not select the
> required modules.
>
> Add the missing 'select IIO_BUFFER' and 'select IIO_TRIGGERED_BUFFER'.
>
> Fixes: 41ff93d14f78 ("iio: light: ROHM BU27008 color sensor")
> Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Acked-by: Matti Vaittinen <mazziesaccount@gmail.com>
^ permalink raw reply [flat|nested] 39+ messages in thread* Re: [PATCH 10/13] iio: light: bu27008: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
2024-10-04 8:16 ` Matti Vaittinen
@ 2024-10-05 17:56 ` Jonathan Cameron
0 siblings, 0 replies; 39+ messages in thread
From: Jonathan Cameron @ 2024-10-05 17:56 UTC (permalink / raw)
To: Matti Vaittinen
Cc: Javier Carrasco, Lars-Peter Clausen, Andy Shevchenko,
David Lechner, Nuno Sa, Dan Murphy, Sean Nyekjaer,
Leonard Göhrs, Mihail Chindris, Alexandru Ardelean,
Gustavo Silva, Shoji Keita, Andrey Skvortsov, Dalton Durst,
Icenowy Zheng, Andreas Klinger, Jonathan Cameron, linux-iio,
linux-kernel, Ondrej Jirman
On Fri, 4 Oct 2024 11:16:05 +0300
Matti Vaittinen <mazziesaccount@gmail.com> wrote:
> On 04/10/2024 00:04, Javier Carrasco wrote:
> > This driver makes use of triggered buffers, but does not select the
> > required modules.
> >
> > Add the missing 'select IIO_BUFFER' and 'select IIO_TRIGGERED_BUFFER'.
> >
> > Fixes: 41ff93d14f78 ("iio: light: ROHM BU27008 color sensor")
> > Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
>
> Acked-by: Matti Vaittinen <mazziesaccount@gmail.com>
>
Applied to the fixes-togreg branch of iio.git
Thanks,
Jonathan
^ permalink raw reply [flat|nested] 39+ messages in thread
* [PATCH 11/13] iio: magnetometer: af8133j: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
2024-10-03 21:04 [PATCH 00/13] iio: add missing select REMAP_SPI, IIO_BUFFER, and IIO_TRIGGERED_BUFFER Javier Carrasco
` (9 preceding siblings ...)
2024-10-03 21:04 ` [PATCH 10/13] iio: light: bu27008: " Javier Carrasco
@ 2024-10-03 21:04 ` Javier Carrasco
2024-10-04 8:58 ` Andrey Skvortsov
2024-10-03 21:04 ` [PATCH 12/13] iio: pressure: bu1390: " Javier Carrasco
2024-10-03 21:04 ` [PATCH 13/13] iio: proximity: mb1232: " Javier Carrasco
12 siblings, 1 reply; 39+ messages in thread
From: Javier Carrasco @ 2024-10-03 21:04 UTC (permalink / raw)
To: Jonathan Cameron, Lars-Peter Clausen, Matti Vaittinen,
Andy Shevchenko, David Lechner, Nuno Sa, Dan Murphy,
Sean Nyekjaer, Leonard Göhrs, Mihail Chindris,
Alexandru Ardelean, Gustavo Silva, Shoji Keita, Andrey Skvortsov,
Dalton Durst, Icenowy Zheng, Andreas Klinger
Cc: Jonathan Cameron, linux-iio, linux-kernel, Ondrej Jirman,
Javier Carrasco
This driver makes use of triggered buffers, but does not select the
required modules.
Add the missing 'select IIO_BUFFER' and 'select IIO_TRIGGERED_BUFFER'.
Fixes: 1d8f4b04621f ("iio: magnetometer: add a driver for Voltafield AF8133J magnetometer")
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
---
drivers/iio/magnetometer/Kconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/iio/magnetometer/Kconfig b/drivers/iio/magnetometer/Kconfig
index 8eb718f5e50f..f69ac75500f9 100644
--- a/drivers/iio/magnetometer/Kconfig
+++ b/drivers/iio/magnetometer/Kconfig
@@ -11,6 +11,8 @@ config AF8133J
depends on I2C
depends on OF
select REGMAP_I2C
+ select IIO_BUFFER
+ select IIO_TRIGGERED_BUFFER
help
Say yes here to build support for Voltafield AF8133J I2C-based
3-axis magnetometer chip.
--
2.43.0
^ permalink raw reply related [flat|nested] 39+ messages in thread* Re: [PATCH 11/13] iio: magnetometer: af8133j: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
2024-10-03 21:04 ` [PATCH 11/13] iio: magnetometer: af8133j: " Javier Carrasco
@ 2024-10-04 8:58 ` Andrey Skvortsov
2024-10-05 17:57 ` Jonathan Cameron
0 siblings, 1 reply; 39+ messages in thread
From: Andrey Skvortsov @ 2024-10-04 8:58 UTC (permalink / raw)
To: Javier Carrasco
Cc: Jonathan Cameron, Lars-Peter Clausen, Matti Vaittinen,
Andy Shevchenko, David Lechner, Nuno Sa, Dan Murphy,
Sean Nyekjaer, Leonard Göhrs, Mihail Chindris,
Alexandru Ardelean, Gustavo Silva, Shoji Keita, Dalton Durst,
Icenowy Zheng, Andreas Klinger, Jonathan Cameron, linux-iio,
linux-kernel, Ondrej Jirman
On 24-10-03 23:04, Javier Carrasco wrote:
> This driver makes use of triggered buffers, but does not select the
> required modules.
>
> Add the missing 'select IIO_BUFFER' and 'select IIO_TRIGGERED_BUFFER'.
>
> Fixes: 1d8f4b04621f ("iio: magnetometer: add a driver for Voltafield AF8133J magnetometer")
> Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
> ---
> drivers/iio/magnetometer/Kconfig | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/iio/magnetometer/Kconfig b/drivers/iio/magnetometer/Kconfig
> index 8eb718f5e50f..f69ac75500f9 100644
> --- a/drivers/iio/magnetometer/Kconfig
> +++ b/drivers/iio/magnetometer/Kconfig
> @@ -11,6 +11,8 @@ config AF8133J
> depends on I2C
> depends on OF
> select REGMAP_I2C
> + select IIO_BUFFER
> + select IIO_TRIGGERED_BUFFER
> help
> Say yes here to build support for Voltafield AF8133J I2C-based
> 3-axis magnetometer chip.
>
> --
> 2.43.0
>
Reviewed-by: Andrey Skvortsov <andrej.skvortzov@gmail.com>
--
Best regards,
Andrey Skvortsov
^ permalink raw reply [flat|nested] 39+ messages in thread* Re: [PATCH 11/13] iio: magnetometer: af8133j: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
2024-10-04 8:58 ` Andrey Skvortsov
@ 2024-10-05 17:57 ` Jonathan Cameron
0 siblings, 0 replies; 39+ messages in thread
From: Jonathan Cameron @ 2024-10-05 17:57 UTC (permalink / raw)
To: Andrey Skvortsov
Cc: Javier Carrasco, Lars-Peter Clausen, Matti Vaittinen,
Andy Shevchenko, David Lechner, Nuno Sa, Dan Murphy,
Sean Nyekjaer, Leonard Göhrs, Mihail Chindris,
Alexandru Ardelean, Gustavo Silva, Shoji Keita, Dalton Durst,
Icenowy Zheng, Andreas Klinger, Jonathan Cameron, linux-iio,
linux-kernel, Ondrej Jirman
On Fri, 4 Oct 2024 11:58:13 +0300
Andrey Skvortsov <andrej.skvortzov@gmail.com> wrote:
> On 24-10-03 23:04, Javier Carrasco wrote:
> > This driver makes use of triggered buffers, but does not select the
> > required modules.
> >
> > Add the missing 'select IIO_BUFFER' and 'select IIO_TRIGGERED_BUFFER'.
> >
> > Fixes: 1d8f4b04621f ("iio: magnetometer: add a driver for Voltafield AF8133J magnetometer")
> > Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
> > ---
> > drivers/iio/magnetometer/Kconfig | 2 ++
> > 1 file changed, 2 insertions(+)
> >
> > diff --git a/drivers/iio/magnetometer/Kconfig b/drivers/iio/magnetometer/Kconfig
> > index 8eb718f5e50f..f69ac75500f9 100644
> > --- a/drivers/iio/magnetometer/Kconfig
> > +++ b/drivers/iio/magnetometer/Kconfig
> > @@ -11,6 +11,8 @@ config AF8133J
> > depends on I2C
> > depends on OF
> > select REGMAP_I2C
> > + select IIO_BUFFER
> > + select IIO_TRIGGERED_BUFFER
> > help
> > Say yes here to build support for Voltafield AF8133J I2C-based
> > 3-axis magnetometer chip.
> >
> > --
> > 2.43.0
> >
>
> Reviewed-by: Andrey Skvortsov <andrej.skvortzov@gmail.com>
>
Applied to the fixes-togreg branch of iio.git
^ permalink raw reply [flat|nested] 39+ messages in thread
* [PATCH 12/13] iio: pressure: bu1390: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
2024-10-03 21:04 [PATCH 00/13] iio: add missing select REMAP_SPI, IIO_BUFFER, and IIO_TRIGGERED_BUFFER Javier Carrasco
` (10 preceding siblings ...)
2024-10-03 21:04 ` [PATCH 11/13] iio: magnetometer: af8133j: " Javier Carrasco
@ 2024-10-03 21:04 ` Javier Carrasco
2024-10-04 8:16 ` Matti Vaittinen
2024-10-05 18:01 ` Jonathan Cameron
2024-10-03 21:04 ` [PATCH 13/13] iio: proximity: mb1232: " Javier Carrasco
12 siblings, 2 replies; 39+ messages in thread
From: Javier Carrasco @ 2024-10-03 21:04 UTC (permalink / raw)
To: Jonathan Cameron, Lars-Peter Clausen, Matti Vaittinen,
Andy Shevchenko, David Lechner, Nuno Sa, Dan Murphy,
Sean Nyekjaer, Leonard Göhrs, Mihail Chindris,
Alexandru Ardelean, Gustavo Silva, Shoji Keita, Andrey Skvortsov,
Dalton Durst, Icenowy Zheng, Andreas Klinger
Cc: Jonathan Cameron, linux-iio, linux-kernel, Ondrej Jirman,
Javier Carrasco
This driver makes use of triggered buffers, but does not select the
required modules.
Add the missing 'select IIO_BUFFER' and 'select IIO_TRIGGERED_BUFFER'.
Fixes: 81ca5979b6ed ("iio: pressure: Support ROHM BU1390")
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
---
drivers/iio/pressure/Kconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/iio/pressure/Kconfig b/drivers/iio/pressure/Kconfig
index df65438c771e..d2cb8c871f6a 100644
--- a/drivers/iio/pressure/Kconfig
+++ b/drivers/iio/pressure/Kconfig
@@ -19,6 +19,9 @@ config ABP060MG
config ROHM_BM1390
tristate "ROHM BM1390GLV-Z pressure sensor driver"
depends on I2C
+ select REGMAP_I2C
+ select IIO_BUFFER
+ select IIO_TRIGGERED_BUFFER
help
Support for the ROHM BM1390 pressure sensor. The BM1390GLV-Z
can measure pressures ranging from 300 hPa to 1300 hPa with
--
2.43.0
^ permalink raw reply related [flat|nested] 39+ messages in thread* Re: [PATCH 12/13] iio: pressure: bu1390: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
2024-10-03 21:04 ` [PATCH 12/13] iio: pressure: bu1390: " Javier Carrasco
@ 2024-10-04 8:16 ` Matti Vaittinen
2024-10-05 18:01 ` Jonathan Cameron
1 sibling, 0 replies; 39+ messages in thread
From: Matti Vaittinen @ 2024-10-04 8:16 UTC (permalink / raw)
To: Javier Carrasco, Jonathan Cameron, Lars-Peter Clausen,
Andy Shevchenko, David Lechner, Nuno Sa, Dan Murphy,
Sean Nyekjaer, Leonard Göhrs, Mihail Chindris,
Alexandru Ardelean, Gustavo Silva, Shoji Keita, Andrey Skvortsov,
Dalton Durst, Icenowy Zheng, Andreas Klinger
Cc: Jonathan Cameron, linux-iio, linux-kernel, Ondrej Jirman
On 04/10/2024 00:04, Javier Carrasco wrote:
> This driver makes use of triggered buffers, but does not select the
> required modules.
>
> Add the missing 'select IIO_BUFFER' and 'select IIO_TRIGGERED_BUFFER'.
>
> Fixes: 81ca5979b6ed ("iio: pressure: Support ROHM BU1390")
> Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Acked-by: Matti Vaittinen <mazziesaccount@gmail.com>
^ permalink raw reply [flat|nested] 39+ messages in thread* Re: [PATCH 12/13] iio: pressure: bu1390: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
2024-10-03 21:04 ` [PATCH 12/13] iio: pressure: bu1390: " Javier Carrasco
2024-10-04 8:16 ` Matti Vaittinen
@ 2024-10-05 18:01 ` Jonathan Cameron
2024-10-05 18:12 ` Javier Carrasco
2024-10-10 13:46 ` Andy Shevchenko
1 sibling, 2 replies; 39+ messages in thread
From: Jonathan Cameron @ 2024-10-05 18:01 UTC (permalink / raw)
To: Javier Carrasco
Cc: Lars-Peter Clausen, Matti Vaittinen, Andy Shevchenko,
David Lechner, Nuno Sa, Dan Murphy, Sean Nyekjaer,
Leonard Göhrs, Mihail Chindris, Alexandru Ardelean,
Gustavo Silva, Shoji Keita, Andrey Skvortsov, Dalton Durst,
Icenowy Zheng, Andreas Klinger, Jonathan Cameron, linux-iio,
linux-kernel, Ondrej Jirman
On Thu, 03 Oct 2024 23:04:58 +0200
Javier Carrasco <javier.carrasco.cruz@gmail.com> wrote:
> This driver makes use of triggered buffers, but does not select the
> required modules.
>
> Add the missing 'select IIO_BUFFER' and 'select IIO_TRIGGERED_BUFFER'.
>
> Fixes: 81ca5979b6ed ("iio: pressure: Support ROHM BU1390")
Seems unlikely in the bm1390 driver. Huh. It is accurate, but I'll fix the
patch description to refer to the bm1390 which seems to be the right
name and add a note on this as it looks suspect otherwise.
> Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
> ---
> drivers/iio/pressure/Kconfig | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/drivers/iio/pressure/Kconfig b/drivers/iio/pressure/Kconfig
> index df65438c771e..d2cb8c871f6a 100644
> --- a/drivers/iio/pressure/Kconfig
> +++ b/drivers/iio/pressure/Kconfig
> @@ -19,6 +19,9 @@ config ABP060MG
> config ROHM_BM1390
> tristate "ROHM BM1390GLV-Z pressure sensor driver"
> depends on I2C
> + select REGMAP_I2C
> + select IIO_BUFFER
> + select IIO_TRIGGERED_BUFFER
> help
> Support for the ROHM BM1390 pressure sensor. The BM1390GLV-Z
> can measure pressures ranging from 300 hPa to 1300 hPa with
>
^ permalink raw reply [flat|nested] 39+ messages in thread* Re: [PATCH 12/13] iio: pressure: bu1390: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
2024-10-05 18:01 ` Jonathan Cameron
@ 2024-10-05 18:12 ` Javier Carrasco
2024-10-06 11:13 ` Matti Vaittinen
2024-10-10 13:46 ` Andy Shevchenko
1 sibling, 1 reply; 39+ messages in thread
From: Javier Carrasco @ 2024-10-05 18:12 UTC (permalink / raw)
To: Jonathan Cameron
Cc: Lars-Peter Clausen, Matti Vaittinen, Andy Shevchenko,
David Lechner, Nuno Sa, Dan Murphy, Sean Nyekjaer,
Leonard Göhrs, Mihail Chindris, Alexandru Ardelean,
Gustavo Silva, Shoji Keita, Andrey Skvortsov, Dalton Durst,
Icenowy Zheng, Andreas Klinger, Jonathan Cameron, linux-iio,
linux-kernel, Ondrej Jirman
On 05/10/2024 20:01, Jonathan Cameron wrote:
> On Thu, 03 Oct 2024 23:04:58 +0200
> Javier Carrasco <javier.carrasco.cruz@gmail.com> wrote:
>
>> This driver makes use of triggered buffers, but does not select the
>> required modules.
>>
>> Add the missing 'select IIO_BUFFER' and 'select IIO_TRIGGERED_BUFFER'.
>>
>> Fixes: 81ca5979b6ed ("iio: pressure: Support ROHM BU1390")
> Seems unlikely in the bm1390 driver. Huh. It is accurate, but I'll fix the
> patch description to refer to the bm1390 which seems to be the right
> name and add a note on this as it looks suspect otherwise.
>
Yes, it seems that there was a typo in the title of the patch that added
the driver (The "Fixes:" is therefore right as it is), and I propagated
it in the title of this patch as well. But you are right, the driver's
name is indeed bm1390.
>> Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
>> ---
>> drivers/iio/pressure/Kconfig | 3 +++
>> 1 file changed, 3 insertions(+)
>>
>> diff --git a/drivers/iio/pressure/Kconfig b/drivers/iio/pressure/Kconfig
>> index df65438c771e..d2cb8c871f6a 100644
>> --- a/drivers/iio/pressure/Kconfig
>> +++ b/drivers/iio/pressure/Kconfig
>> @@ -19,6 +19,9 @@ config ABP060MG
>> config ROHM_BM1390
>> tristate "ROHM BM1390GLV-Z pressure sensor driver"
>> depends on I2C
>> + select REGMAP_I2C
>> + select IIO_BUFFER
>> + select IIO_TRIGGERED_BUFFER
>> help
>> Support for the ROHM BM1390 pressure sensor. The BM1390GLV-Z
>> can measure pressures ranging from 300 hPa to 1300 hPa with
>>
>
^ permalink raw reply [flat|nested] 39+ messages in thread* Re: [PATCH 12/13] iio: pressure: bu1390: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
2024-10-05 18:12 ` Javier Carrasco
@ 2024-10-06 11:13 ` Matti Vaittinen
0 siblings, 0 replies; 39+ messages in thread
From: Matti Vaittinen @ 2024-10-06 11:13 UTC (permalink / raw)
To: Javier Carrasco, Jonathan Cameron
Cc: Lars-Peter Clausen, Andy Shevchenko, David Lechner, Nuno Sa,
Dan Murphy, Sean Nyekjaer, Leonard Göhrs, Mihail Chindris,
Alexandru Ardelean, Gustavo Silva, Shoji Keita, Andrey Skvortsov,
Dalton Durst, Icenowy Zheng, Andreas Klinger, Jonathan Cameron,
linux-iio, linux-kernel, Ondrej Jirman
On 05/10/2024 21:12, Javier Carrasco wrote:
> On 05/10/2024 20:01, Jonathan Cameron wrote:
>> On Thu, 03 Oct 2024 23:04:58 +0200
>> Javier Carrasco <javier.carrasco.cruz@gmail.com> wrote:
>>
>>> This driver makes use of triggered buffers, but does not select the
>>> required modules.
>>>
>>> Add the missing 'select IIO_BUFFER' and 'select IIO_TRIGGERED_BUFFER'.
>>>
>>> Fixes: 81ca5979b6ed ("iio: pressure: Support ROHM BU1390")
>> Seems unlikely in the bm1390 driver. Huh. It is accurate, but I'll fix the
>> patch description to refer to the bm1390 which seems to be the right
>> name and add a note on this as it looks suspect otherwise.
>>
> Yes, it seems that there was a typo in the title of the patch that added
> the driver (The "Fixes:" is therefore right as it is), and I propagated
> it in the title of this patch as well. But you are right, the driver's
> name is indeed bm1390.
Yep. I typoed the original patch. The correct sensor model is
BM1390GLV-Z. I got things mixed up in my head as I was simultaneously
writing drivers the BU270xx light sensors, a BD71851 power management IC
and BU18xxxx video serializer and deserializer. All the B?<bunch of
numbers> part IDs got better of me :)
Yours,
-- Matti
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: [PATCH 12/13] iio: pressure: bu1390: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
2024-10-05 18:01 ` Jonathan Cameron
2024-10-05 18:12 ` Javier Carrasco
@ 2024-10-10 13:46 ` Andy Shevchenko
2024-10-10 17:54 ` Jonathan Cameron
1 sibling, 1 reply; 39+ messages in thread
From: Andy Shevchenko @ 2024-10-10 13:46 UTC (permalink / raw)
To: Jonathan Cameron
Cc: Javier Carrasco, Lars-Peter Clausen, Matti Vaittinen,
David Lechner, Nuno Sa, Dan Murphy, Sean Nyekjaer,
Leonard Göhrs, Mihail Chindris, Alexandru Ardelean,
Gustavo Silva, Shoji Keita, Andrey Skvortsov, Dalton Durst,
Icenowy Zheng, Andreas Klinger, Jonathan Cameron, linux-iio,
linux-kernel, Ondrej Jirman
On Sat, Oct 05, 2024 at 07:01:47PM +0100, Jonathan Cameron wrote:
> On Thu, 03 Oct 2024 23:04:58 +0200
> Javier Carrasco <javier.carrasco.cruz@gmail.com> wrote:
...
> > Fixes: 81ca5979b6ed ("iio: pressure: Support ROHM BU1390")
> Seems unlikely in the bm1390 driver. Huh. It is accurate, but I'll fix the
> patch description to refer to the bm1390 which seems to be the right
> name and add a note on this as it looks suspect otherwise.
Fixes tag shouldn't be mangled, even if it has a typo.
--
With Best Regards,
Andy Shevchenko
^ permalink raw reply [flat|nested] 39+ messages in thread* Re: [PATCH 12/13] iio: pressure: bu1390: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
2024-10-10 13:46 ` Andy Shevchenko
@ 2024-10-10 17:54 ` Jonathan Cameron
0 siblings, 0 replies; 39+ messages in thread
From: Jonathan Cameron @ 2024-10-10 17:54 UTC (permalink / raw)
To: Andy Shevchenko
Cc: Javier Carrasco, Lars-Peter Clausen, Matti Vaittinen,
David Lechner, Nuno Sa, Dan Murphy, Sean Nyekjaer,
Leonard Göhrs, Mihail Chindris, Alexandru Ardelean,
Gustavo Silva, Shoji Keita, Andrey Skvortsov, Dalton Durst,
Icenowy Zheng, Andreas Klinger, Jonathan Cameron, linux-iio,
linux-kernel, Ondrej Jirman
On Thu, 10 Oct 2024 16:46:19 +0300
Andy Shevchenko <andriy.shevchenko@linux.intel.com> wrote:
> On Sat, Oct 05, 2024 at 07:01:47PM +0100, Jonathan Cameron wrote:
> > On Thu, 03 Oct 2024 23:04:58 +0200
> > Javier Carrasco <javier.carrasco.cruz@gmail.com> wrote:
>
> ...
>
> > > Fixes: 81ca5979b6ed ("iio: pressure: Support ROHM BU1390")
> > Seems unlikely in the bm1390 driver. Huh. It is accurate, but I'll fix the
> > patch description to refer to the bm1390 which seems to be the right
> > name and add a note on this as it looks suspect otherwise.
>
> Fixes tag shouldn't be mangled, even if it has a typo.
>
Agreed. I added a note above it and modified name of this patch
to reflect the correct driver.
Jonathan
^ permalink raw reply [flat|nested] 39+ messages in thread
* [PATCH 13/13] iio: proximity: mb1232: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
2024-10-03 21:04 [PATCH 00/13] iio: add missing select REMAP_SPI, IIO_BUFFER, and IIO_TRIGGERED_BUFFER Javier Carrasco
` (11 preceding siblings ...)
2024-10-03 21:04 ` [PATCH 12/13] iio: pressure: bu1390: " Javier Carrasco
@ 2024-10-03 21:04 ` Javier Carrasco
2024-10-05 18:03 ` Jonathan Cameron
12 siblings, 1 reply; 39+ messages in thread
From: Javier Carrasco @ 2024-10-03 21:04 UTC (permalink / raw)
To: Jonathan Cameron, Lars-Peter Clausen, Matti Vaittinen,
Andy Shevchenko, David Lechner, Nuno Sa, Dan Murphy,
Sean Nyekjaer, Leonard Göhrs, Mihail Chindris,
Alexandru Ardelean, Gustavo Silva, Shoji Keita, Andrey Skvortsov,
Dalton Durst, Icenowy Zheng, Andreas Klinger
Cc: Jonathan Cameron, linux-iio, linux-kernel, Ondrej Jirman,
Javier Carrasco
This driver makes use of triggered buffers, but does not select the
required modules.
Add the missing 'select IIO_BUFFER' and 'select IIO_TRIGGERED_BUFFER'.
Fixes: 16b05261537e ("mb1232.c: add distance iio sensor with i2c")
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
---
drivers/iio/proximity/Kconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/iio/proximity/Kconfig b/drivers/iio/proximity/Kconfig
index 31c679074b25..a562a78b7d0d 100644
--- a/drivers/iio/proximity/Kconfig
+++ b/drivers/iio/proximity/Kconfig
@@ -86,6 +86,8 @@ config LIDAR_LITE_V2
config MB1232
tristate "MaxSonar I2CXL family ultrasonic sensors"
depends on I2C
+ select IIO_BUFFER
+ select IIO_TRIGGERED_BUFFER
help
Say Y to build a driver for the ultrasonic sensors I2CXL of
MaxBotix which have an i2c interface. It can be used to measure
--
2.43.0
^ permalink raw reply related [flat|nested] 39+ messages in thread* Re: [PATCH 13/13] iio: proximity: mb1232: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
2024-10-03 21:04 ` [PATCH 13/13] iio: proximity: mb1232: " Javier Carrasco
@ 2024-10-05 18:03 ` Jonathan Cameron
0 siblings, 0 replies; 39+ messages in thread
From: Jonathan Cameron @ 2024-10-05 18:03 UTC (permalink / raw)
To: Javier Carrasco
Cc: Lars-Peter Clausen, Matti Vaittinen, Andy Shevchenko,
David Lechner, Nuno Sa, Dan Murphy, Sean Nyekjaer,
Leonard Göhrs, Mihail Chindris, Alexandru Ardelean,
Gustavo Silva, Shoji Keita, Andrey Skvortsov, Dalton Durst,
Icenowy Zheng, Andreas Klinger, Jonathan Cameron, linux-iio,
linux-kernel, Ondrej Jirman
On Thu, 03 Oct 2024 23:04:59 +0200
Javier Carrasco <javier.carrasco.cruz@gmail.com> wrote:
> This driver makes use of triggered buffers, but does not select the
> required modules.
>
> Add the missing 'select IIO_BUFFER' and 'select IIO_TRIGGERED_BUFFER'.
>
> Fixes: 16b05261537e ("mb1232.c: add distance iio sensor with i2c")
> Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Applied.
Thanks for going through looking for these. Hopefully this will reduce
chance of us getting a rand config hitting this in the future!
Jonathan
> ---
> drivers/iio/proximity/Kconfig | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/iio/proximity/Kconfig b/drivers/iio/proximity/Kconfig
> index 31c679074b25..a562a78b7d0d 100644
> --- a/drivers/iio/proximity/Kconfig
> +++ b/drivers/iio/proximity/Kconfig
> @@ -86,6 +86,8 @@ config LIDAR_LITE_V2
> config MB1232
> tristate "MaxSonar I2CXL family ultrasonic sensors"
> depends on I2C
> + select IIO_BUFFER
> + select IIO_TRIGGERED_BUFFER
> help
> Say Y to build a driver for the ultrasonic sensors I2CXL of
> MaxBotix which have an i2c interface. It can be used to measure
>
^ permalink raw reply [flat|nested] 39+ messages in thread