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 v3:
- Refactor driver according to comments
- Update trailers
- Rebase on v6.17-rc4
- Link to v2: https://lore.kernel.org/r/20250831-88pm886-gpadc-v2-0-759c1e14d95f@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 | 388 +++++++++++++++++++++
drivers/iio/adc/Kconfig | 13 +
drivers/iio/adc/Makefile | 1 +
drivers/mfd/88pm886.c | 1 +
include/linux/mfd/88pm886.h | 58 +++
7 files changed, 470 insertions(+)
---
base-commit: b320789d6883cc00ac78ce83bccbfe7ed58afcf0
change-id: 20250827-88pm886-gpadc-81e2ca1d52ce
Best regards,
--
Duje Mihanović <duje@dujemihanovic.xyz>