diff options
| author | Antony Kurniawan Soemardi <linux@smankusors.com> | 2026-05-10 07:01:45 +0000 |
|---|---|---|
| committer | Jonathan Cameron <jic23@kernel.org> | 2026-05-31 10:59:38 +0100 |
| commit | 70a1012793056852df6eda5a89cbf0476e0590e9 (patch) | |
| tree | 3e2533e990a951fdd3f0295aca5d4cce7069c5d0 /tools/perf/scripts/python | |
| parent | fcec89dfec1cb8fcd5ee7fb2b7d458633c4a8457 (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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
