Skip to content

Modernize pm8921 with irqdomains, regmap, DT

Stephen Boyd linux-arm-kernel linux-arm-msm linux-devicetree lkml 4 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. v4 Latest8 patches 8 repliesApplied
  2. v37 patches 9 repliesSuperseded
  3. v27 patches 15 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v18 patches19 repliesApplied

Changes in v4 from the cover letter

* Added irqdomain Kconfig select
* New patch to loosen Kconfig on PM8921 config
* Picked up acked-by

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/8mfd: Move pm8xxx-irq.c contents into only driver that uses itdrivers/mfd/Kconfig drivers/mfd/Makefile drivers/mfd/pm8921-core.c +2 more+348 -4051 reply
2/8mfd: pm8921: Update for genirq changesdrivers/mfd/Kconfig drivers/mfd/pm8921-core.c+5 -31 reply
3/8mfd: pm8921: Migrate to irqdomainsdrivers/mfd/Kconfig drivers/mfd/pm8921-core.c include/linux/mfd/pm8xxx/irq.h +1 more+76 -1891 reply
4/8mfd: ssbi: Add regmap read/write helpersinclude/linux/ssbi.h+20 -01 reply
5/8mfd: pm8921: Use ssbi regmapdrivers/mfd/Kconfig drivers/mfd/pm8921-core.c+39 -281 reply
6/8mfd: pm8921: Add DT match tabledrivers/mfd/pm8921-core.c+8 -01 reply
7/8mfd: pm8921: Loosen Kconfig dependencydrivers/mfd/Kconfig+1 -11 reply
8/8devicetree: bindings: Document PM8921/8058 PMICsDocumentation/devicetree/bindings/mfd/qcom,pm8xxx.txt+63 -01 reply

Reviews trailers per patch

5 of 8 patches have a Reviewed-by or Acked-by.

PatchLee JonesMark Brown
1/8A-b
2/8A-b
3/8A-b
4/8
5/8R-b
6/8A-b
7/8
8/8

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/8] Modernize pm8921 with irqdomains, regmap, DT

These patches lay the groundwork for converting the pm8921 sub-devices to devicetree as well as simplify the API by migrating the core code to use the regmap API instead of the custom pm8xxx read/write wrapper.

Changes since v3:
* Added irqdomain Kconfig select
* New patch to loosen Kconfig on PM8921 config
* Picked up acked-by

Changes since v2:
* Picked up reviewed-by tags
* Fixed irqdomain teardown in driver remove
* No magical 256 constant
* Renamed domain to irqdomain
* Clarified kzalloc call
* Pushed ssbi regmap helpers into header file
* Fixed whitespace noise in patch 6

Changes since v1:
* First 3 cleanup patches dropped because they're applied upstream
* New regmap read/write helpers
* New patch for DT match table
* New binding document

Stephen Boyd (8):
mfd: Move pm8xxx-irq.c contents into only driver that uses it
mfd: pm8921: Update for genirq changes
mfd: pm8921: Migrate to irqdomains
mfd: ssbi: Add regmap read/write helpers
mfd: pm8921: Use ssbi regmap
mfd: pm8921: Add DT match table
mfd: pm8921: Loosen Kconfig dependency
devicetree: bindings: Document PM8921/8058 PMICs

 .../devicetree/bindings/mfd/qcom,pm8xxx.txt        |  63 +++
 drivers/mfd/Kconfig                                |  15 +-
 drivers/mfd/Makefile                               |   1 -
 drivers/mfd/pm8921-core.c                          | 427 ++++++++++++++++++---
 drivers/mfd/pm8xxx-irq.c                           | 371 ------------------
 include/linux/mfd/pm8xxx/irq.h                     |  59 ---
 include/linux/mfd/pm8xxx/pm8921.h                  |  30 --
 include/linux/ssbi.h                               |  20 +
 8 files changed, 460 insertions(+), 526 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/mfd/qcom,pm8xxx.txt
 delete mode 100644 drivers/mfd/pm8xxx-irq.c
 delete mode 100644 include/linux/mfd/pm8xxx/irq.h
 delete mode 100644 include/linux/mfd/pm8xxx/pm8921.h
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
hosted by The Linux Foundation