|
|
Log in / Subscribe / Register

Marvell 88PM886 PMIC GPADC driver

From:  Duje Mihanović <dujemihanovic32-AT-gmail.com>
To:  Jonathan Cameron <jic23-AT-kernel.org>, David Lechner <dlechner-AT-baylibre.com>, Nuno Sá <nuno.sa-AT-analog.com>, Andy Shevchenko <andy-AT-kernel.org>, Karel Balej <balejk-AT-matfyz.cz>, Lee Jones <lee-AT-kernel.org>, Rob Herring <robh-AT-kernel.org>, Krzysztof Kozlowski <krzk+dt-AT-kernel.org>, Conor Dooley <conor+dt-AT-kernel.org>
Subject:  [PATCH v4 0/3] Marvell 88PM886 PMIC GPADC driver
Date:  Thu, 11 Sep 2025 14:43:43 +0200
Message-ID:  <20250911-88pm886-gpadc-v4-0-60452710d3a0@dujemihanovic.xyz>
Cc:  David Wronek <david-AT-mainlining.org>, phone-devel-AT-vger.kernel.org, ~postmarketos/upstreaming-AT-lists.sr.ht, linux-kernel-AT-vger.kernel.org, linux-iio-AT-vger.kernel.org, devicetree-AT-vger.kernel.org, Duje Mihanović <duje-AT-dujemihanovic.xyz>, Krzysztof Kozlowski <krzysztof.kozlowski-AT-linaro.org>
Archive-link:  Article

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 v4:
- More refactoring
- Update trailers
- Rebase on v6.17-rc5
- Link to v3: https://lore.kernel.org/r/20250905-88pm886-gpadc-v3-0-460...

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-759...

Changes in v2:
- Refactor driver according to comments
- Add binding patch
- Link to v1: https://lore.kernel.org/r/20250829-88pm886-gpadc-v1-0-f60...

---
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                    | 393 +++++++++++++++++++++
 drivers/iio/adc/Kconfig                            |  13 +
 drivers/iio/adc/Makefile                           |   1 +
 drivers/mfd/88pm886.c                              |   1 +
 include/linux/mfd/88pm886.h                        |  58 +++
 7 files changed, 475 insertions(+)
---
base-commit: 76eeb9b8de9880ca38696b2fb56ac45ac0a25c6c
change-id: 20250827-88pm886-gpadc-81e2ca1d52ce

Best regards,
-- 
Duje Mihanović <duje@dujemihanovic.xyz>




Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds