[PATCH v2 0/6] iio: Add support for MT6363/6373 Auxiliary ADC

From: AngeloGioacchino Del Regno
Date: Thu Jul 03 2025 - 10:14:00 EST


Changes in v2:
- Added error checks to all regmap r/w operations
- Moved adc_vref addition to different commit
- Various other fixes

This series adds support for the Auxiliary ADC IP found on the new
MediaTek MT6363 and MT6373 PMICs, found on board designs featuring
the MT8196 Chromebook SoC or the MT6991 Dimensity 9400 Smartphone SoC.

AngeloGioacchino Del Regno (6):
dt-bindings: iio: adc: mt6359: Add MT6363 PMIC AuxADC
dt-bindings: iio: adc: mt6359: Add MT6373 PMIC AuxADC
iio: adc: mt6359: Add ready register index and mask to channel data
iio: adc: mt6359: Move reference voltage to platform data
iio: adc: mt6359: Add support for MediaTek MT6363 PMIC AUXADC
iio: adc: mt6359: Add support for MediaTek MT6373 PMIC AUXADC

.../iio/adc/mediatek,mt6359-auxadc.yaml | 2 +
drivers/iio/adc/mt6359-auxadc.c | 440 +++++++++++++++---
.../iio/adc/mediatek,mt6363-auxadc.h | 24 +
.../iio/adc/mediatek,mt6373-auxadc.h | 19 +
4 files changed, 416 insertions(+), 69 deletions(-)
create mode 100644 include/dt-bindings/iio/adc/mediatek,mt6363-auxadc.h
create mode 100644 include/dt-bindings/iio/adc/mediatek,mt6373-auxadc.h

--
2.49.0