lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201126112820.GA51288@thinkpad>
Date:   Thu, 26 Nov 2020 16:58:20 +0530
From:   Manivannan Sadhasivam <manivannan.sadhasivam@...aro.org>
To:     Vinod Koul <vkoul@...nel.org>
Cc:     Bjorn Andersson <bjorn.andersson@...aro.org>,
        linux-arm-msm@...r.kernel.org, Andy Gross <agross@...nel.org>,
        Rob Herring <robh+dt@...nel.org>,
        Rajendra Nayak <rnayak@...eaurora.org>,
        devicetree@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] soc: qcom: rpmhpd: Add SDX55 power domains

On Thu, Nov 26, 2020 at 02:57:11PM +0530, Vinod Koul wrote:
> This adds the power domains found in SDX55 SoC. Downstream code tells me
> that we have 3 power domains so add them
> 
> Signed-off-by: Vinod Koul <vkoul@...nel.org>

Acked-by: Manivannan Sadhasivam <manivannan.sadhasivam@...aro.org>

Thanks,
Mani

> ---
>  drivers/soc/qcom/rpmhpd.c | 13 +++++++++++++
>  1 file changed, 13 insertions(+)
> 
> diff --git a/drivers/soc/qcom/rpmhpd.c b/drivers/soc/qcom/rpmhpd.c
> index e72426221a69..4cb5d4ab82e2 100644
> --- a/drivers/soc/qcom/rpmhpd.c
> +++ b/drivers/soc/qcom/rpmhpd.c
> @@ -132,6 +132,18 @@ static const struct rpmhpd_desc sdm845_desc = {
>  	.num_pds = ARRAY_SIZE(sdm845_rpmhpds),
>  };
>  
> +/* SDX55 RPMH powerdomains */
> +static struct rpmhpd *sdx55_rpmhpds[] = {
> +	[SDX55_MSS] = &sdm845_mss,
> +	[SDX55_MX] = &sdm845_mx,
> +	[SDX55_CX] = &sdm845_cx,
> +};
> +
> +static const struct rpmhpd_desc sdx55_desc = {
> +	.rpmhpds = sdx55_rpmhpds,
> +	.num_pds = ARRAY_SIZE(sdx55_rpmhpds),
> +};
> +
>  /* SM8150 RPMH powerdomains */
>  
>  static struct rpmhpd sm8150_mmcx_ao;
> @@ -205,6 +217,7 @@ static const struct rpmhpd_desc sc7180_desc = {
>  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,sdx55-rpmhpd", .data = &sdx55_desc},
>  	{ .compatible = "qcom,sm8150-rpmhpd", .data = &sm8150_desc },
>  	{ .compatible = "qcom,sm8250-rpmhpd", .data = &sm8250_desc },
>  	{ }
> -- 
> 2.26.2
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ