This series adds a driver for the GPADC found on the Marvell 88PM886
PMIC. The GPADC monitors various system voltages and is a prerequisite
for battery monitoring on boards using the PMIC.
Signed-off-by: Duje Mihanović <duje@dujemihanovic.xyz>
---
Changes in v2:
- Refactor driver according to comments
- Add binding patch
- Link to v1: https://lore.kernel.org/r/20250829-88pm886-gpadc-v1-0-f60262266fea@dujemihanovic.xyz
---
Duje Mihanović (3):
dt-bindings: mfd: 88pm886: Add #io-channel-cells
iio: adc: Add driver for Marvell 88PM886 PMIC ADC
mfd: 88pm886: Add GPADC cell
.../bindings/mfd/marvell,88pm886-a1.yaml | 4 +
MAINTAINERS | 5 +
drivers/iio/adc/88pm886-gpadc.c | 383 +++++++++++++++++++++
drivers/iio/adc/Kconfig | 13 +
drivers/iio/adc/Makefile | 1 +
drivers/mfd/88pm886.c | 1 +
include/linux/mfd/88pm886.h | 54 +++
7 files changed, 461 insertions(+)
---
base-commit: 1b237f190eb3d36f52dffe07a40b5eb210280e00
change-id: 20250827-88pm886-gpadc-81e2ca1d52ce
Best regards,
--
Duje Mihanović <duje@dujemihanovic.xyz>