Re: [PATCH v3 2/7] soc: qcom: rpmpd: Add a Power domain driver to model corners

From: Rob Herring
Date: Mon Jun 25 2018 - 13:15:54 EST


On Tue, Jun 12, 2018 at 10:10:47AM +0530, Rajendra Nayak wrote:
> 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.
>
> Signed-off-by: Rajendra Nayak <rnayak@xxxxxxxxxxxxxx>
> Signed-off-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>
> ---
> drivers/soc/qcom/Kconfig | 9 +
> drivers/soc/qcom/Makefile | 1 +
> drivers/soc/qcom/rpmpd.c | 301 +++++++++++++++++++++++++

> include/dt-bindings/power/qcom-rpmpd.h | 16 ++

Acked-by: Rob Herring <robh@xxxxxxxxxx>

> 4 files changed, 327 insertions(+)
> create mode 100644 drivers/soc/qcom/rpmpd.c
> create mode 100644 include/dt-bindings/power/qcom-rpmpd.h