mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Konrad Dybcio <konrad.dybcio@linaro.org>
To: Abel Vesa <abel.vesa@linaro.org>, Andy Gross <agross@kernel.org>,
	Bjorn Andersson <andersson@kernel.org>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org
Subject: Re: [PATCH 2/2] soc: qcom: rpmhpd: Add SM8550 power domains
Date: Wed, 16 Nov 2022 12:35:07 +0100	[thread overview]
Message-ID: <340c0769-d51f-88df-5cd5-02c3337a24c0@linaro.org> (raw)
In-Reply-To: <20221116111745.2633074-3-abel.vesa@linaro.org>



On 16/11/2022 12:17, Abel Vesa wrote:
> Add the power domains exposed by RPMH in the Qualcomm SM8550 platform.
> 
> Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>

Konrad
>   drivers/soc/qcom/rpmhpd.c | 24 ++++++++++++++++++++++++
>   1 file changed, 24 insertions(+)
> 
> diff --git a/drivers/soc/qcom/rpmhpd.c b/drivers/soc/qcom/rpmhpd.c
> index 7af68cd720f5..4c2d2c296790 100644
> --- a/drivers/soc/qcom/rpmhpd.c
> +++ b/drivers/soc/qcom/rpmhpd.c
> @@ -372,6 +372,29 @@ static const struct rpmhpd_desc sm8450_desc = {
>   	.num_pds = ARRAY_SIZE(sm8450_rpmhpds),
>   };
>   
> +/* SM8550 RPMH powerdomains */
> +static struct rpmhpd *sm8550_rpmhpds[] = {
> +	[SM8550_CX] = &cx,
> +	[SM8550_CX_AO] = &cx_ao,
> +	[SM8550_EBI] = &ebi,
> +	[SM8550_GFX] = &gfx,
> +	[SM8550_LCX] = &lcx,
> +	[SM8550_LMX] = &lmx,
> +	[SM8550_MMCX] = &mmcx_w_cx_parent,
> +	[SM8550_MMCX_AO] = &mmcx_ao_w_cx_parent,
> +	[SM8550_MSS] = &mss,
> +	[SM8550_MX] = &mx,
> +	[SM8550_MX_AO] = &mx_ao,
> +	[SM8550_MXC] = &mxc,
> +	[SM8550_MXC_AO] = &mxc_ao,
> +	[SM8550_NSP] = &nsp,
> +};
> +
> +static const struct rpmhpd_desc sm8550_desc = {
> +	.rpmhpds = sm8550_rpmhpds,
> +	.num_pds = ARRAY_SIZE(sm8550_rpmhpds),
> +};
> +
>   /* QDU1000/QRU1000 RPMH powerdomains */
>   static struct rpmhpd *qdu1000_rpmhpds[] = {
>   	[QDU1000_CX] = &cx,
> @@ -477,6 +500,7 @@ static const struct of_device_id rpmhpd_match_table[] = {
>   	{ .compatible = "qcom,sm8250-rpmhpd", .data = &sm8250_desc },
>   	{ .compatible = "qcom,sm8350-rpmhpd", .data = &sm8350_desc },
>   	{ .compatible = "qcom,sm8450-rpmhpd", .data = &sm8450_desc },
> +	{ .compatible = "qcom,sm8550-rpmhpd", .data = &sm8550_desc },
>   	{ }
>   };
>   MODULE_DEVICE_TABLE(of, rpmhpd_match_table);

  reply	other threads:[~2022-11-16 11:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-16 11:17 [PATCH 0/2] soc: rpmhpd: Add support for SM8550 Abel Vesa
2022-11-16 11:17 ` [PATCH 1/2] dt-bindings: power: rpmpd: Add SM8550 to rpmpd binding Abel Vesa
2022-11-16 11:45   ` Krzysztof Kozlowski
2022-11-16 11:17 ` [PATCH 2/2] soc: qcom: rpmhpd: Add SM8550 power domains Abel Vesa
2022-11-16 11:35   ` Konrad Dybcio [this message]
2022-12-06 18:18 ` [PATCH 0/2] soc: rpmhpd: Add support for SM8550 Bjorn Andersson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=340c0769-d51f-88df-5cd5-02c3337a24c0@linaro.org \
    --to=konrad.dybcio@linaro.org \
    --cc=abel.vesa@linaro.org \
    --cc=agross@kernel.org \
    --cc=andersson@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzysztof.kozlowski@linaro.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®