[PATCH v4 0/2] iio: adc: ti-ads1015: Add support for label
From: Flaviu Nistor
Date: Tue Sep 08 2026 - 15:23:13 EST
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@xxxxxxxxx/
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@xxxxxxxxx/
Changes in v2:
- Implement changes suggested by Andy Shevchenko.
- Link to v1: https://lore.kernel.org/all/20260901184302.8127-2-flaviu.nistor@xxxxxxxxx/
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