[PATCH v3 00/15] make iio inkern interface firmware agnostic

Jonathan Cameron jic23 at kernel.org
Sat Aug 6 11:56:49 PDT 2022


On Fri, 15 Jul 2022 14:28:48 +0200
Nuno Sá <nuno.sa at analog.com> wrote:

> First version of the series can be found here:
> 
> https://lore.kernel.org/linux-iio/20220610084545.547700-1-nuno.sa@analog.com/
> 
> Second version:
> 
> https://lore.kernel.org/linux-iio/20220711123835.811358-1-nuno.sa@analog.com/
> 
> v3 changes:
> 
> [1/15]:
>   * Improved (spell fixes) commit message.
> 
> [13/15]:
>   * Get back to u32 API for 'st,adc-diff-channels' but making it more clear
> what's going on;
>   * Fix infinite loop;
>   * Store number of st,min-sample-time-nsecs properties to avoid
> duplication in sanity checks.
> 
> [15/15]
>   * Improved 'if' condition for readability.
> 
> (hopefulyl did not forgot any tag)


Very nice work.  All applied, with a few minor tweaks as called out in
relevant patches.  Note I'll push this out as testing.  Will go out as togreg
only after I can rebase on rc1 in a week or so time.

Thanks,

Jonathan

> 
> Nuno Sá (15):
>   iio: inkern: only release the device node when done with it
>   iio: inkern: fix return value in devm_of_iio_channel_get_by_name()
>   iio: inkern: only return error codes in iio_channel_get_*() APIs
>   iio: inkern: split of_iio_channel_get_by_name()
>   iio: inkern: move to fwnode properties
>   thermal: qcom: qcom-spmi-adc-tm5: convert to IIO fwnode API
>   iio: adc: ingenic-adc: convert to IIO fwnode interface
>   iio: adc: ab8500-gpadc: convert to device properties
>   iio: adc: at91-sama5d2_adc: convert to device properties
>   iio: adc: qcom-pm8xxx-xoadc: convert to device properties
>   iio: adc: qcom-spmi-vadc: convert to device properties
>   iio: adc: qcom-spmi-adc5: convert to device properties
>   iio: adc: stm32-adc: convert to device properties
>   iio: inkern: remove OF dependencies
>   iio: inkern: fix coding style warnings
> 
>  drivers/iio/adc/ab8500-gpadc.c           |  27 +--
>  drivers/iio/adc/at91-sama5d2_adc.c       |  30 +--
>  drivers/iio/adc/ingenic-adc.c            |   8 +-
>  drivers/iio/adc/qcom-pm8xxx-xoadc.c      |  58 +++--
>  drivers/iio/adc/qcom-spmi-adc5.c         |  63 +++---
>  drivers/iio/adc/qcom-spmi-vadc.c         |  44 ++--
>  drivers/iio/adc/stm32-adc.c              | 125 ++++++-----
>  drivers/iio/inkern.c                     | 271 +++++++++++++----------
>  drivers/thermal/qcom/qcom-spmi-adc-tm5.c |   3 +-
>  include/linux/iio/consumer.h             |  28 +--
>  include/linux/iio/iio.h                  |   8 +-
>  11 files changed, 350 insertions(+), 315 deletions(-)
> 




More information about the Linux-mediatek mailing list