Skip to content

mfd: Intel SoC Power Management IC

Zhu, Lejun lkml 6 versions – Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest3 patches 10 repliesApplied
  2. v43 patches 10 repliesSuperseded
  3. v34 patches 5 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v2 posting 2/24 patches11 repliesSuperseded
v2 posting 1/23 of 4 patches0 repliesSuperseded
v14 patches6 repliesSuperseded

Changes in v5 from the cover letter

- Add comment to describe what is done in _find_gpio_irq().
- Remove i2c id. Only keep ACPI id and match it in _probe().
- Further fix of coding style issues.
- Add the GPIO patch, to merge it along with the MFD changes.

Patches in v5 Applied

#Subject and filesSizeRepliesApplied
1/3mfd: intel_soc_pmic: Core driverdrivers/mfd/intel_soc_pmic_core.c drivers/mfd/intel_soc_pmic_core.h include/linux/mfd/intel_soc_pmic.h+230 -03 replies
2/3mfd: intel_soc_pmic: Crystal Cove supportdrivers/mfd/Kconfig drivers/mfd/Makefile drivers/mfd/intel_soc_pmic_crc.c+173 -03 replies
3/3gpio: Add support for Intel Crystal Cove PMICdrivers/gpio/Kconfig drivers/gpio/Makefile drivers/gpio/gpio-crystalcove.c+393 -01 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchMika WesterbergAlexandre CourbotLinus WalleijLee Jones
1/3R-b A-b
2/3R-b A-b
3/3R-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v5 thread

Cover letter [PATCH v5 0/3] mfd: Intel SoC Power Management IC

Devices based on Intel SoC products such as Baytrail have a Power Management IC. In the PMIC there are subsystems for voltage regulation, A/D conversion, GPIO and PWMs. The PMIC in Baytrail-T platform is called Crystal Cove.

This series contains common code for these PMICs, and device specific support for Crystal Cove.

v2:
- Use regmap instead of creating our own I2C read/write callbacks.
- Add one missing EXPORT_SYMBOL.
- Remove some duplicate code and put them into pmic_regmap_load_from_hw. v3:
- Use regmap-irq and remove lots of duplicate code.
- Remove 2 unused APIs.
- Some other cleanup.
v4:
- Remove all exported APIs which are wrappers of regmap API, export the regmap in data structure instead.
- Combine intel_soc_pmic_core.c and intel_soc_pmic_i2c.c
- Clean up include files.
- Remove useless members of struct intel_soc_pmic_config.
- Fix various coding style issues.
v5:
- Add comment to describe what is done in _find_gpio_irq().
- Remove i2c id. Only keep ACPI id and match it in _probe().
- Further fix of coding style issues.
- Add the GPIO patch, to merge it along with the MFD changes.

Zhu, Lejun (3):
mfd: intel_soc_pmic: Core driver
mfd: intel_soc_pmic: Crystal Cove support
gpio: Add support for Intel Crystal Cove PMIC

 drivers/gpio/Kconfig               |  13 ++
 drivers/gpio/Makefile              |   1 +
 drivers/gpio/gpio-crystalcove.c    | 379 +++++++++++++++++++++++++++++++++++++
 drivers/mfd/Kconfig                |  12 ++
 drivers/mfd/Makefile               |   3 +
 drivers/mfd/intel_soc_pmic_core.c  | 168 ++++++++++++++++
 drivers/mfd/intel_soc_pmic_core.h  |  32 ++++
 drivers/mfd/intel_soc_pmic_crc.c   | 158 ++++++++++++++++
 include/linux/mfd/intel_soc_pmic.h |  30 +++
 9 files changed, 796 insertions(+)
 create mode 100644 drivers/gpio/gpio-crystalcove.c
 create mode 100644 drivers/mfd/intel_soc_pmic_core.c
 create mode 100644 drivers/mfd/intel_soc_pmic_core.h
 create mode 100644 drivers/mfd/intel_soc_pmic_crc.c
 create mode 100644 include/linux/mfd/intel_soc_pmic.h
Signature · 1 line
1.8.3.2