diff options
| author | 2026-05-10 07:01:45 +0000 | |
|---|---|---|
| committer | 2026-05-31 10:59:38 +0100 | |
| commit | 70a1012793056852df6eda5a89cbf0476e0590e9 (patch) | |
| tree | 3e2533e990a951fdd3f0295aca5d4cce7069c5d0 /scripts/Makefile.thinlto | |
| parent | iio: adc: qcom-pm8xxx-xoadc: remove redundant error logs when reading values (diff) | |
iio: adc: qcom-pm8xxx-xoadc: add support for reading channel labels
Implement the .read_label callback to allow userspace to identify ADC
channels via the "label" property in the device tree. The name field in
pm8xxx_chan_info is renamed to label to better reflect its purpose. If
no label is provided in the device tree, it defaults to the hardware
datasheet name.
The change has been tested on Sony Xperia SP (PM8921).
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Antony Kurniawan Soemardi <linux@smankusors.com>
Reviewed-by: Linus Walleij <linusw@kernel.org>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
