This series adds support for reading channel labels from the device tree in the the Qualcomm PM8xxx XOADC driver, along with the corresponding DT updates for the PM8921 PMIC.
Tested on Sony Xperia SP (PM8921): > cat /sys/bus/iio/devices/iio\:device0/in_voltage7_label usb_vbus > cat /sys/bus/iio/devices/iio\:device0/in_temp12_label ref_muxoff This patch was originally part of the larger series addressing the said driver improvements. As the calibration fixes are not yet ready, the label support is split out to allow independent review and merging. Changes since original patch: - The label is now read from the platform description (device tree) instead of the internal datasheet name. - Link to original patch: https://lore.kernel.org/all/[email protected]/ Signed-off-by: Antony Kurniawan Soemardi <[email protected]> --- Antony Kurniawan Soemardi (2): ARM: dts: qcom: pm8921: add labels for ADC channels iio: adc: qcom-pm8xxx-xoadc: add support for reading channel labels arch/arm/boot/dts/qcom/pm8921.dtsi | 12 ++++++++++++ drivers/iio/adc/qcom-pm8xxx-xoadc.c | 26 +++++++++++++++++++++----- 2 files changed, 33 insertions(+), 5 deletions(-) --- base-commit: c612261bedd6bbab7109f798715e449c9d20ff2f change-id: 20260321-pm8xxx-xoadc-label-47afdf7f06a9 Best regards, -- Antony Kurniawan Soemardi <[email protected]>

