[<prev] [next>] [day] [month] [year] [list]
Message-ID: <0101016e87016098-92cd9a3d-e44e-48d8-bc9f-3c5b1574c267-000000@us-west-2.amazonses.com>
Date: Wed, 20 Nov 2019 04:10:44 +0000
From: Rajendra Nayak <rnayak@...eaurora.org>
To: Sibi Sankar <sibis@...eaurora.org>, bjorn.andersson@...aro.org,
robh+dt@...nel.org, ulf.hansson@...aro.org
Cc: agross@...nel.org, linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org, linux-arm-msm@...r.kernel.org,
mark.rutland@....com, swboyd@...omium.org, dianders@...omium.org
Subject: Re: [PATCH 5/6] soc: qcom: rpmhpd: Add SC7180 RPMH power-domains
On 11/18/2019 11:09 PM, Sibi Sankar wrote:
> Add support for cx/mx/gfx/lcx/lmx/mss power-domains found
> on SC7180 SoCs.
>
> Signed-off-by: Sibi Sankar <sibis@...eaurora.org>
> ---
Reviewed-by: Rajendra Nayak <rnayak@...eaurora.org>
> drivers/soc/qcom/rpmhpd.c | 19 +++++++++++++++++++
> 1 file changed, 19 insertions(+)
>
> diff --git a/drivers/soc/qcom/rpmhpd.c b/drivers/soc/qcom/rpmhpd.c
> index 3b109ee67a4d2..599208722650d 100644
> --- a/drivers/soc/qcom/rpmhpd.c
> +++ b/drivers/soc/qcom/rpmhpd.c
> @@ -166,7 +166,26 @@ static const struct rpmhpd_desc sm8150_desc = {
> .num_pds = ARRAY_SIZE(sm8150_rpmhpds),
> };
>
> +/* SC7180 RPMH powerdomains */
> +
> +static struct rpmhpd *sc7180_rpmhpds[] = {
> + [SC7180_CX] = &sdm845_cx,
> + [SC7180_CX_AO] = &sdm845_cx_ao,
> + [SC7180_GFX] = &sdm845_gfx,
> + [SC7180_MX] = &sdm845_mx,
> + [SC7180_MX_AO] = &sdm845_mx_ao,
> + [SC7180_LMX] = &sdm845_lmx,
> + [SC7180_LCX] = &sdm845_lcx,
> + [SC7180_MSS] = &sdm845_mss,
> +};
> +
> +static const struct rpmhpd_desc sc7180_desc = {
> + .rpmhpds = sc7180_rpmhpds,
> + .num_pds = ARRAY_SIZE(sc7180_rpmhpds),
> +};
> +
> static const struct of_device_id rpmhpd_match_table[] = {
> + { .compatible = "qcom,sc7180-rpmhpd", .data = &sc7180_desc },
> { .compatible = "qcom,sdm845-rpmhpd", .data = &sdm845_desc },
> { .compatible = "qcom,sm8150-rpmhpd", .data = &sm8150_desc },
> { }
>
--
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member
of Code Aurora Forum, hosted by The Linux Foundation
Powered by blists - more mailing lists