soc: qcom: rpmpd: Add a Power domain driver to model corners
authorRajendra Nayak <rnayak@codeaurora.org>
Thu, 10 Jan 2019 04:02:04 +0000 (09:32 +0530)
committerAndy Gross <andy.gross@linaro.org>
Tue, 22 Jan 2019 21:06:13 +0000 (15:06 -0600)
commitbbe3a66c3f5a65fb3d702351bac2a6033944d389
treeb1fc90f33582464a08bc2ce6079ba07512aeb480
parentc6e6eff4d48f8b7180f9f94f1615ffe345fd7e5c
soc: qcom: rpmpd: Add a Power domain driver to model corners

The Power domains for corners just pass the performance state set by the
consumers to the RPM (Remote Power manager) which then takes care
of setting the appropriate voltage on the corresponding rails to
meet the performance needs.

We add all power domain data needed on msm8996 here. This driver can easily
be extended by adding data for other qualcomm SoCs as well.

Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Rob Herring <robh@kernel.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Rajendra Nayak <rnayak@codeaurora.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
drivers/soc/qcom/Kconfig
drivers/soc/qcom/Makefile
drivers/soc/qcom/rpmpd.c [new file with mode: 0644]