Convert MSM8916 to use rpmpd/power domains
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest10 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | soc: qcom: rpmpd: Rename MAX_8996_RPMPD_STATE to MAX_CORNER_RPMPD_STATEdrivers/ | +2 | 0 replies | |
| 2/10 | dt-bindings: power: rpmpd: Add MSM8916 RPM power domainsDocumentation/ include/ | +8 | 1 reply | |
| 3/10 | soc: qcom: rpmpd: Add MSM8916 power domainsdrivers/ | +21 | 0 replies | |
| 4/10 | arm64: dts: qcom: msm8916: Add RPM power domainsarch/ | +29 | 0 replies | |
| 5/10 | dt-bindings: remoteproc: qcom,q6v5: Deprecate regulators for PDsDocumentation/ | +6 | 3 replies | |
| 6/10 | remoteproc: qcom_q6v5_mss: Allow replacing regulators with power domainsdrivers/ | +56 | 0 replies | |
| 7/10 | dt-bindings: remoteproc: qcom,wcnss: Deprecate regulators for PDsDocumentation/ | +16 | 0 replies | |
| 8/10 | remoteproc: qcom_wcnss: Allow replacing regulators with power domainsdrivers/ | +93 | 0 replies | |
| 9/10 | arm64: dts: qcom: msm8916: Use power domains for MSS/WCNSS remoteprocsarch/ arch/ | +9 | 0 replies | |
| 10/10 | arm64: dts: qcom: msm8916-pm8916: Stop using s1/l3 as regulatorsarch/ arch/ arch/ +1 more | +2 | 0 replies |
Reviews trailers per patch
2 of 10 patches have a Reviewed-by or Acked-by.
| Patch | Rob Herring |
|---|---|
| 1/10 | |
| 2/10 | R-b |
| 3/10 | |
| 4/10 | |
| 5/10 | R-b |
| 6/10 | |
| 7/10 | |
| 8/10 | |
| 9/10 | |
| 10/10 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/10] Convert MSM8916 to use rpmpd/power domains
Newer platforms vote for necessary power domains through the power domain subsystem. For historical reasons older platforms like MSM8916 or MSM8974 still control these as regulators.
This patch series adds the power domain definitions for MSM8916 to the rpmpd driver. Then, qcom_q6v5_mss and qcom_wcnss are updated to use power domains for MSM8916/MSM8974. For compatibility with old device trees (and for MSM8974) we still need to support using the power domains through the regulator interface. This is implemented by falling back to the regulators if requesting the power domains fails.
Finally, we remove the regulators that provide the power domains (s1 and l3) entirely from the MSM8916 device tree: They should only be used through the power domain subsystem from now on.
Stephan Gerhold (10):
soc: qcom: rpmpd: Rename MAX_8996_RPMPD_STATE to
MAX_CORNER_RPMPD_STATE
dt-bindings: power: rpmpd: Add MSM8916 RPM power domains
soc: qcom: rpmpd: Add MSM8916 power domains
arm64: dts: qcom: msm8916: Add RPM power domains
dt-bindings: remoteproc: qcom,q6v5: Deprecate regulators for PDs
remoteproc: qcom_q6v5_mss: Allow replacing regulators with power
domains
dt-bindings: remoteproc: qcom,wcnss: Deprecate regulators for PDs
remoteproc: qcom_wcnss: Allow replacing regulators with power domains
arm64: dts: qcom: msm8916: Use power domains for MSS/WCNSS remoteprocs
arm64: dts: qcom: msm8916-pm8916: Stop using s1/l3 as regulators
.../devicetree/bindings/power/qcom,rpmpd.yaml | 1 + .../bindings/remoteproc/qcom,q6v5.txt | 12 +- .../bindings/remoteproc/qcom,wcnss-pil.txt | 20 +++- arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi | 10 -- .../boot/dts/qcom/msm8916-longcheer-l8150.dts | 10 -- arch/arm64/boot/dts/qcom/msm8916-pm8916.dtsi | 7 +- .../qcom/msm8916-samsung-a2015-common.dtsi | 10 -- arch/arm64/boot/dts/qcom/msm8916.dtsi | 38 ++++++ drivers/remoteproc/qcom_q6v5_mss.c | 68 +++++++++-- drivers/remoteproc/qcom_wcnss.c | 109 +++++++++++++++--- drivers/soc/qcom/rpmpd.c | 25 +++- include/dt-bindings/power/qcom-rpmpd.h | 7 ++ 12 files changed, 242 insertions(+), 75 deletions(-)
Signature · 1 line
2.28.0