mbox series

[0/3] iio: add titles to some Kconfig symbols

Message ID 20200924111758.196367-1-alexandru.ardelean@analog.com (mailing list archive)
Headers show
Series iio: add titles to some Kconfig symbols | expand

Message

Alexandru Ardelean Sept. 24, 2020, 11:17 a.m. UTC
For some embedded systems, a workflow involving external kernel modules
that implement IIO devices is more practical than working with in-tree
sources. However, there are number of features in the IIO KConfig that can
only be switched on by enabling a particular sensor.

This came as a request a few years back:
   https://github.com/analogdevicesinc/linux/issues/140

This patch implements that request.

After a quick run-through the iio Kconfig files, 4 seem to be useful to add
titles to.
i.e. IIO_TRIGGERED_EVENT, IIO_TRIGGERED_BUFFER, IIO_BUFFER_DMAENGINE &
IIO_BUFFER_DMA.

It's possible that for some out-of-tree drivers this could be useful.

Alexandru Ardelean (3):
  iio: dma-buffer: Kconfig: Provide titles for IIO DMA Kconfig symbols
  iio: Kconfig: Provide title for IIO_TRIGGERED_EVENT symbol
  iio: buffer: Kconfig: add title for IIO_TRIGGERED_BUFFER symbol

 drivers/iio/Kconfig        |  2 +-
 drivers/iio/buffer/Kconfig | 10 +++++-----
 2 files changed, 6 insertions(+), 6 deletions(-)

Comments

Jonathan Cameron Sept. 26, 2020, 3:59 p.m. UTC | #1
On Thu, 24 Sep 2020 14:17:55 +0300
Alexandru Ardelean <alexandru.ardelean@analog.com> wrote:

> For some embedded systems, a workflow involving external kernel modules
> that implement IIO devices is more practical than working with in-tree
> sources. However, there are number of features in the IIO KConfig that can
> only be switched on by enabling a particular sensor.
> 
> This came as a request a few years back:
>    https://github.com/analogdevicesinc/linux/issues/140
> 
> This patch implements that request.
> 
> After a quick run-through the iio Kconfig files, 4 seem to be useful to add
> titles to.
> i.e. IIO_TRIGGERED_EVENT, IIO_TRIGGERED_BUFFER, IIO_BUFFER_DMAENGINE &
> IIO_BUFFER_DMA.
> 
> It's possible that for some out-of-tree drivers this could be useful.
I'm not particular keen on changes to support out of tree stuff, but
these are so trivial there is effectively 0 cost to doing it

Hence, series applied to the togreg branch of iio.git and pushed out
as testing for the autobuilders to find out if I'm wrong :)

Thanks,

Jonathan

> 
> Alexandru Ardelean (3):
>   iio: dma-buffer: Kconfig: Provide titles for IIO DMA Kconfig symbols
>   iio: Kconfig: Provide title for IIO_TRIGGERED_EVENT symbol
>   iio: buffer: Kconfig: add title for IIO_TRIGGERED_BUFFER symbol
> 
>  drivers/iio/Kconfig        |  2 +-
>  drivers/iio/buffer/Kconfig | 10 +++++-----
>  2 files changed, 6 insertions(+), 6 deletions(-)
>