[PATCH v4 0/7] mfd: qcom-pm8008: Add support for PM8010 over I2C

From: Jishnu Prakash

Date: Wed Nov 11 2026 - 12:28:19 EST


PM8010 is the next generation PMIC following PM8008 and has similar
functionality, providing 7 LDOs that power camera sensors and associated
hardware, with some differences from PM8008 LDOs. The series also adds
support for skipping interrupt configurations which is needed to support
SoCs where the PMIC's interrupt pin is grounded, such as Glymur.

Patch 1 adds the new compatible string for PM8010 over I2C

Patch 2 adds PM8010 LDO support

Patch 3 adds mode voting support for PM8010, which is not supported on PM8008

Patch 4 drops GPIO support from the MFD driver, as the GPIOs have fixed
functions and don't need SW configurations

Patch 5 adds PM8010 support in the MFD driver

Patch 6 updates documentation to make interrupt configuration optional

Patch 7 updates the MFD driver to tolerate a missing interrupt

Signed-off-by: Jishnu Prakash <jishnu.prakash@xxxxxxxxxxxxxxxx>
---
Changes in v4:
- Made following changes to address Konrad's comment to implement mode voting
through load currents set by consumers:
- Specified threshold current values for HPM for LDOs supporting mode setting.
- Implemented .get_optimum_mode callback in PM8010 regulator ops.
- Assigned PM8010 regulator ops only for LDOs supporting mode setting
(L1 and L2 of PM8010 right now).
- Removed ops member from struct pm8008_match_data and in probe, checked
hpm_min_load_uA in place of removed ops to identify LDOs supporting mode
voting.
- Link to v3: https://patch.msgid.link/20261030-pm8010_i2c_support-v3-0-995ed1ec7a72@xxxxxxxxxxxxxxxx

Changes in v3:
- Updated commit message of mode support patch and added regulator ops in match
data as suggested by Guru.
- Updated pm8010_regulator_get_mode() to read LDO_MODE_CTL1_REG instead of
LDO_STATUS1_REG as suggested by Sashiko.
- Added NULL check for of_device_get_match_data() as suggested by Sashiko and
updated TYPE_PM8008 from 0 to 1 to avoid confusion with this function
returning 0.
- Link to v2: https://patch.msgid.link/20261014-pm8010_i2c_support-v2-0-b395d2b3f668@xxxxxxxxxxxxxxxx

Changes in v2:
- Simplified of_device_is_compatible() call in mode support patch as
suggested by sashiko.
- Added a change to drop GPIO support in MFD driver as suggested by Konrad.
- Replaced match_data parsing in probe in PM8010 MFD support patch with enum
identifier and switch() statement as suggested by Lee.
- Moved interrupt configuration from probe into separate function in missing
interrupt support patch as suggested by Lee.
- Added MFD cells for no-IRQ variants of PM8008/PM8010 and updated probe to
use them in missing interrupt support patch as suggested by sashiko.
- Collected Rob's Acked-by tags on binding changes and Oleg's Tested-by tags
on regulator driver changes (not on MFD changes since some significant
changes are made in them now).
- Link to v1: https://patch.msgid.link/20260918-pm8010_i2c_support-v1-0-de33d78fad9d@xxxxxxxxxxxxxxxx

---
Dhruvin Rajpura (1):
regulator: pm8008: Add mode voting support for PM8010

Jishnu Prakash (1):
mfd: qcom-pm8008: Drop GPIO support

Konrad Dybcio (5):
dt-bindings: mfd: pm8008: Add qcom,pm8010-i2c compatible
regulator: pm8008: Add PM8010 support
mfd: qcom-pm8008: Add PM8010 support
dt-bindings: mfd: pm8008: Make interrupts optional
mfd: qcom-pm8008: Tolerate missing interrupt

.../devicetree/bindings/mfd/qcom,pm8008.yaml | 10 +-
drivers/mfd/qcom-pm8008.c | 172 ++++++++++++-----
drivers/regulator/qcom-pm8008-regulator.c | 203 ++++++++++++++++++---
3 files changed, 316 insertions(+), 69 deletions(-)
---
base-commit: 7475ea8b58616b33c04afb976cf0fbaad9dd63fb
change-id: 20260915-pm8010_i2c_support-3062421372c3

Best regards,
--
Jishnu Prakash <jishnu.prakash@xxxxxxxxxxxxxxxx>