[PATCH v3 0/7] mfd: qcom-pm8008: Add support for PM8010 over I2C
From: Jishnu Prakash
Date: Fri Oct 30 2026 - 02:21:13 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 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 | 183 ++++++++++++++++++---
3 files changed, 295 insertions(+), 70 deletions(-)
---
base-commit: c03c1a14507dfaf8b856c2608f9ac216021fc222
change-id: 20260915-pm8010_i2c_support-3062421372c3
Best regards,
--
Jishnu Prakash <jishnu.prakash@xxxxxxxxxxxxxxxx>