Changes in v2: - Add Stephen's Reviewed-By to the first three patches - Addressed Stephen's comments on fourth patch - Include changes to connect rpmh domain to cpuidle and genpds Resource State Coordinator (RSC) is responsible for powering off/lowering the requirements from CPU subsystem for the associated hardware like buses, clocks, and regulators when all CPUs and cluster is powered down. RSC power domain uses last-man activities provided by genpd framework based on Ulf Hansoon's patch series[1], when the cluster of CPUs enter deepest idle states. As a part of domain poweroff, RSC can lower resource state requirements by flushing the cached sleep and wake state votes for resources. Dependencies: [1] https://lkml.org/lkml/2019/5/13/839 Maulik Shah (6): drivers: qcom: rpmh: fix macro to accept NULL argument drivers: qcom: rpmh: remove rpmh_flush export dt-bindings: soc: qcom: Add RSC power domain specifier drivers: qcom: rpmh-rsc: Add RSC power domain support arm64: dts: Convert to the hierarchical CPU topology layout for sdm845 arm64: dts: Add rsc power domain for sdm845 .../devicetree/bindings/soc/qcom/rpmh-rsc.txt | 8 ++ arch/arm64/boot/dts/qcom/sdm845.dtsi | 105 +++++++++++++----- drivers/soc/qcom/rpmh-internal.h | 3 + drivers/soc/qcom/rpmh-rsc.c | 84 ++++++++++++++ drivers/soc/qcom/rpmh.c | 22 ++-- include/soc/qcom/rpmh.h | 5 - 6 files changed, 185 insertions(+), 42 deletions(-) -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, hosted by The Linux Foundation.