[PATCH v4 0/2] iio: adc: ti-ads1015: Add support for label

Flaviu Nistor posted 2 patches 2 weeks, 3 days ago
.../bindings/iio/adc/ti,ads1015.yaml          |  6 ++++
drivers/iio/adc/ti-ads1015.c                  | 30 +++++++++++++++++++
2 files changed, 36 insertions(+)
[PATCH v4 0/2] iio: adc: ti-ads1015: Add support for label
Posted by Flaviu Nistor 2 weeks, 3 days ago
This patch series intention is to add support for label sysfs attribute
similar to other ADC devices for ti-ads1015. The patch series adds label
property in the dt-binding and the needed functionality in the driver.

Changes in v4:
- Added this cover letter
- Use Uper Case letters for "ADC" instead of "adc" in both commit messages
and move static label assignment to probe as suggested by Andy Shevchenko.
- Link to v3: https://lore.kernel.org/all/20260907152304.4992-1-flaviu.nistor@gmail.com/
Changes in v3:
- Return datasheet_name of the channel in user space if label is not present in dts. 
- Link to v2: https://lore.kernel.org/all/20260902172230.5234-2-flaviu.nistor@gmail.com/
Changes in v2:
- Implement changes suggested by Andy Shevchenko. 
- Link to v1: https://lore.kernel.org/all/20260901184302.8127-2-flaviu.nistor@gmail.com/


Flaviu Nistor (2):
  iio: adc: ti-ads1015: Add support for label
  dt-bindings: iio: adc: ti,ads1015: Add label property

 .../bindings/iio/adc/ti,ads1015.yaml          |  6 ++++
 drivers/iio/adc/ti-ads1015.c                  | 30 +++++++++++++++++++
 2 files changed, 36 insertions(+)

-- 
2.34.1

Re: [PATCH v4 0/2] iio: adc: ti-ads1015: Add support for label
Posted by Jonathan Cameron 1 week, 4 days ago
On Tue,  8 Sep 2026 22:20:34 +0300
Flaviu Nistor <flaviu.nistor@gmail.com> wrote:

> This patch series intention is to add support for label sysfs attribute
> similar to other ADC devices for ti-ads1015. The patch series adds label
> property in the dt-binding and the needed functionality in the driver.
> 
> Changes in v4:
> - Added this cover letter
> - Use Uper Case letters for "ADC" instead of "adc" in both commit messages
> and move static label assignment to probe as suggested by Andy Shevchenko.
> - Link to v3: https://lore.kernel.org/all/20260907152304.4992-1-flaviu.nistor@gmail.com/
> Changes in v3:
> - Return datasheet_name of the channel in user space if label is not present in dts. 
> - Link to v2: https://lore.kernel.org/all/20260902172230.5234-2-flaviu.nistor@gmail.com/
> Changes in v2:
> - Implement changes suggested by Andy Shevchenko. 
> - Link to v1: https://lore.kernel.org/all/20260901184302.8127-2-flaviu.nistor@gmail.com/
> 
Applied to the testing branch of iio.git where the bots can have
a first look at it before I push out as a tree I'd rather not rebase!
(that normally happens after a few days to 1 week).

Thanks,

Jonathan

> 
> Flaviu Nistor (2):
>   iio: adc: ti-ads1015: Add support for label
>   dt-bindings: iio: adc: ti,ads1015: Add label property
> 
>  .../bindings/iio/adc/ti,ads1015.yaml          |  6 ++++
>  drivers/iio/adc/ti-ads1015.c                  | 30 +++++++++++++++++++
>  2 files changed, 36 insertions(+)
>