[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e3386cf9-170e-477b-88d8-dab3bb437da3@linaro.org>
Date: Fri, 18 Oct 2024 09:19:55 +0200
From: neil.armstrong@...aro.org
To: Dmitry Baryshkov <dmitry.baryshkov@...aro.org>,
Rob Herring <robh@...nel.org>, Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, Bjorn Andersson <andersson@...nel.org>,
Ulf Hansson <ulf.hansson@...aro.org>
Cc: linux-arm-msm@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-pm@...r.kernel.org
Subject: Re: [PATCH 2/2] pmdomain: qcom: rpmhpd: add support for SAR2130P
On 17/10/2024 19:52, Dmitry Baryshkov wrote:
> Define power domains as supported by the RPMh on the SAR2130P platform.
>
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@...aro.org>
> ---
> drivers/pmdomain/qcom/rpmhpd.c | 25 +++++++++++++++++++++++++
> 1 file changed, 25 insertions(+)
>
> diff --git a/drivers/pmdomain/qcom/rpmhpd.c b/drivers/pmdomain/qcom/rpmhpd.c
> index 731feab9f17ddae699815332d193e9a298fff0e1..5c5f9542c3925045cc90872e81cae3e6c2936212 100644
> --- a/drivers/pmdomain/qcom/rpmhpd.c
> +++ b/drivers/pmdomain/qcom/rpmhpd.c
> @@ -259,6 +259,30 @@ static const struct rpmhpd_desc sa8775p_desc = {
> .num_pds = ARRAY_SIZE(sa8775p_rpmhpds),
> };
>
> +/* SAR2130P RPMH powerdomains */
> +static struct rpmhpd *sar2130p_rpmhpds[] = {
> + [RPMHPD_CX] = &cx,
> + [RPMHPD_CX_AO] = &cx_ao,
> + [RPMHPD_EBI] = &ebi,
> + [RPMHPD_GFX] = &gfx,
> + [RPMHPD_LCX] = &lcx,
> + [RPMHPD_LMX] = &lmx,
> + [RPMHPD_MMCX] = &mmcx_w_cx_parent,
> + [RPMHPD_MMCX_AO] = &mmcx_ao_w_cx_parent,
> + [RPMHPD_MSS] = &mss,
> + [RPMHPD_MX] = &mx,
> + [RPMHPD_MX_AO] = &mx_ao,
> + [RPMHPD_MXC] = &mxc,
> + [RPMHPD_MXC_AO] = &mxc_ao,
> + [RPMHPD_NSP] = &nsp,
> + [RPMHPD_QPHY] = &qphy,
> +};
> +
> +static const struct rpmhpd_desc sar2130p_desc = {
> + .rpmhpds = sar2130p_rpmhpds,
> + .num_pds = ARRAY_SIZE(sar2130p_rpmhpds),
> +};
> +
> /* SDM670 RPMH powerdomains */
> static struct rpmhpd *sdm670_rpmhpds[] = {
> [SDM670_CX] = &cx_w_mx_parent,
> @@ -665,6 +689,7 @@ static const struct of_device_id rpmhpd_match_table[] = {
> { .compatible = "qcom,sa8155p-rpmhpd", .data = &sa8155p_desc },
> { .compatible = "qcom,sa8540p-rpmhpd", .data = &sa8540p_desc },
> { .compatible = "qcom,sa8775p-rpmhpd", .data = &sa8775p_desc },
> + { .compatible = "qcom,sar2130p-rpmhpd", .data = &sar2130p_desc},
> { .compatible = "qcom,sc7180-rpmhpd", .data = &sc7180_desc },
> { .compatible = "qcom,sc7280-rpmhpd", .data = &sc7280_desc },
> { .compatible = "qcom,sc8180x-rpmhpd", .data = &sc8180x_desc },
>
Reviewed-by: Neil Armstrong <neil.armstrong@...aro.org>
Powered by blists - more mailing lists