Skip to content

PM6125 regulator support

Iskren Chernev linux-arm-msm linux-devicetree lkml phone-devel 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest13 patches 1 replyIn review
  2. v313 patches 8 repliesSuperseded
  3. v25 patches 15 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v1 RFC2 patches4 repliesSuperseded

Changes in v4 from the cover letter · 16 lines

- fix compilation issue reported by kernel test robot
- reorder HFSMPS/LDO+FTSMPS patches
- add new slew-rate computation for HFSMPS
- add proper pull-down support for new regs
- name new regs/vals after HFSMPS instead of FTSMPS
- address indentation/newline issues reported by Krzysztof
- improve commit messages on SPMI/RPM related patches Changes from v2:
- split spmi new regulator support in 2 patches
- FTS and LDOs now have set_load and set_pull_down ops
- add better commit messages on spmi patches
- fix sob header order
- fix tested device info (Redmi 9T, NOT Xiaomi 9T)
- improve formatting in spmi binding docs
- sort alphabetically in smd binding docs
- sort alphabetically spmi pmics
- sort alphabetically smd pmics

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13dt-bindings: regulator: qcom_spmi: Improve formatting of if-then blocksDocumentation/devicetree/bindings/regulator/qcom,spmi-regulator.yaml+12 -00 replies
2/13dt-bindings: regulator: qcom_spmi: Document PM6125 PMICDocumentation/devicetree/bindings/regulator/qcom,spmi-regulator.yaml+20 -00 replies
3/13dt-bindings: regulator: qcom_smd: Sort compatibles alphabeticallyDocumentation/devicetree/bindings/regulator/qcom,smd-rpm-regulator.yaml+11 -110 replies
4/13dt-bindings: regulator: qcom_smd: Document PM6125 PMICDocumentation/devicetree/bindings/regulator/qcom,smd-rpm-regulator.yaml+4 -00 replies
5/13regulator: qcom_spmi: Add support for HFSMPS regulator typedrivers/regulator/qcom_spmi-regulator.c+114 -10 replies
6/13regulator: qcom_spmi: Add support for LDO_510 and FTSMPSdrivers/regulator/qcom_spmi-regulator.c+37 -10 replies
7/13regulator: qcom_spmi: Sort pmics alphabetically (part 1)drivers/regulator/qcom_spmi-regulator.c+37 -370 replies
8/13regulator: qcom_spmi: Sort pmics alphabetically (part 2)drivers/regulator/qcom_spmi-regulator.c+64 -650 replies
9/13regulator: qcom_spmi: Add PM6125 PMIC supportdrivers/regulator/qcom_spmi-regulator.c+36 -00 replies
10/13regulator: qcom_smd: Sort pmics alphabetically (part 1)drivers/regulator/qcom_smd-regulator.c+89 -890 replies
11/13regulator: qcom_smd: Sort pmics alphabetically (part 2)drivers/regulator/qcom_smd-regulator.c+77 -770 replies
12/13regulator: qcom_smd: Sort pmics alphabetically (part 3)drivers/regulator/qcom_smd-regulator.c+52 -520 replies
13/13regulator: qcom_smd: Add PM6125 RPM regulatorsdrivers/regulator/qcom_smd-regulator.c+46 -00 replies

Reviews trailers per patch

6 of 13 patches have a Reviewed-by or Acked-by.

PatchKrzysztof KozlowskiDmitry Baryshkov
1/13R-b
2/13R-b
3/13R-b
4/13R-b
5/13
6/13
7/13
8/13
9/13R-b
10/13
11/13
12/13
13/13R-b

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 00/13] PM6125 regulator support

This patch series adds SPMI and SMD regulator support for the PM6125 found on SM4250/SM6115 SoCs from QCom.

This code has been tested on:
* OnePlus Nord N100 (oneplus,billie2, SoC sm4250)
* Redmi 9T (redmi,lemon, SoC sm6115)

The main source used for this change is qpnp pm6125 support patch from caf [1]:

[1]: https://source.codeaurora.org/quic/la/kernel/msm-5.4/commit/?h=kernel.lnx.5.4.r1-rel&id=d1220daeffaa440ffff0a8c47322eb0033bf54f5

v3: https://lkml.org/lkml/2022/7/31/303
v2: https://lkml.org/lkml/2022/7/26/885
v1: https://lkml.org/lkml/2021/8/28/144

Changes from v3:
- fix compilation issue reported by kernel test robot
- reorder HFSMPS/LDO+FTSMPS patches
- add new slew-rate computation for HFSMPS
- add proper pull-down support for new regs
- name new regs/vals after HFSMPS instead of FTSMPS
- address indentation/newline issues reported by Krzysztof
- improve commit messages on SPMI/RPM related patches Changes from v2:
- split spmi new regulator support in 2 patches
- FTS and LDOs now have set_load and set_pull_down ops
- add better commit messages on spmi patches
- fix sob header order
- fix tested device info (Redmi 9T, NOT Xiaomi 9T)
- improve formatting in spmi binding docs
- sort alphabetically in smd binding docs
- sort alphabetically spmi pmics
- sort alphabetically smd pmics
Changes from v1:
- add dt-bindings
- split SPMI patch into new reg types and the new PMIC
- add correct supply mapping

Iskren Chernev (13):
dt-bindings: regulator: qcom_spmi: Improve formatting of if-then
blocks
dt-bindings: regulator: qcom_spmi: Document PM6125 PMIC
dt-bindings: regulator: qcom_smd: Sort compatibles alphabetically
dt-bindings: regulator: qcom_smd: Document PM6125 PMIC
regulator: qcom_spmi: Add support for HFSMPS regulator type
regulator: qcom_spmi: Add support for LDO_510 and FTSMPS
regulator: qcom_spmi: Sort pmics alphabetically (part 1)
regulator: qcom_spmi: Sort pmics alphabetically (part 2)
regulator: qcom_spmi: Add PM6125 PMIC support
regulator: qcom_smd: Sort pmics alphabetically (part 1)
regulator: qcom_smd: Sort pmics alphabetically (part 2)
regulator: qcom_smd: Sort pmics alphabetically (part 3)
regulator: qcom_smd: Add PM6125 RPM regulators

 .../regulator/qcom,smd-rpm-regulator.yaml     |  26 +-
 .../regulator/qcom,spmi-regulator.yaml        |  32 ++
 drivers/regulator/qcom_smd-regulator.c        | 400 ++++++++++--------
 drivers/regulator/qcom_spmi-regulator.c       | 378 ++++++++++++-----
 4 files changed, 551 insertions(+), 285 deletions(-)
Signature · 1 line
2.37.1