[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <01baab80-4332-542e-e080-affb441f9c97@linaro.org>
Date: Mon, 9 Jan 2023 22:10:43 +0200
From: Dmitry Baryshkov <dmitry.baryshkov@...aro.org>
To: Bartosz Golaszewski <brgl@...ev.pl>,
Andy Gross <agross@...nel.org>,
Bjorn Andersson <andersson@...nel.org>,
Konrad Dybcio <konrad.dybcio@...aro.org>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Michael Turquette <mturquette@...libre.com>,
Stephen Boyd <sboyd@...nel.org>,
Georgi Djakov <djakov@...nel.org>,
Will Deacon <will@...nel.org>,
Robin Murphy <robin.murphy@....com>,
Joerg Roedel <joro@...tes.org>,
Manivannan Sadhasivam <mani@...nel.org>,
Jassi Brar <jassisinghbrar@...il.com>,
Linus Walleij <linus.walleij@...aro.org>,
Catalin Marinas <catalin.marinas@....com>,
Richard Cochran <richardcochran@...il.com>,
Srinivas Kandagatla <srinivas.kandagatla@...aro.org>,
Vinod Koul <vkoul@...nel.org>, Alex Elder <elder@...nel.org>
Cc: linux-arm-msm@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-clk@...r.kernel.org,
linux-pm@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
iommu@...ts.linux.dev, linux-gpio@...r.kernel.org,
netdev@...r.kernel.org,
Bartosz Golaszewski <bartosz.golaszewski@...aro.org>
Subject: Re: [PATCH 14/18] soc: qcom: rmphpd: add power domains for sa8775p
On 09/01/2023 19:45, Bartosz Golaszewski wrote:
> From: Bartosz Golaszewski <bartosz.golaszewski@...aro.org>
>
> Add power domain description for sa8775p and a new compatible to match it.
>
> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@...aro.org>
> ---
> drivers/soc/qcom/rpmhpd.c | 34 ++++++++++++++++++++++++++++++++++
> 1 file changed, 34 insertions(+)
[skipped]
> +/* SA8775P RPMH power domains */
> +static struct rpmhpd *sa8775p_rpmhpds[] = {
> + [SA8775P_CX] = &cx,
> + [SA8775P_CX_AO] = &cx_ao,
> + [SA8775P_EBI] = &ebi,
> + [SA8775P_GFX] = &gfx,
> + [SA8775P_LCX] = &lcx,
> + [SA8775P_LMX] = &lmx,
> + [SA8775P_MMCX] = &mmcx,
> + [SA8775P_MMCX_AO] = &mmcx_ao,
> + [SA8775P_MXC] = &mxc,
> + [SA8775P_MXC_AO] = &mxc_ao,
Is there any parent/child relationship between mmcx/mxc and other domains?
> + [SA8775P_MX] = &mx,
> + [SA8775P_MX_AO] = &mx_ao,
> + [SA8775P_NSP0] = &nsp0,
> + [SA8775P_NSP1] = &nsp1,
> +};
> +
> +static const struct rpmhpd_desc sa8775p_desc = {
> + .rpmhpds = sa8775p_rpmhpds,
> + .num_pds = ARRAY_SIZE(sa8775p_rpmhpds),
> +};
> +
> /* SDM670 RPMH powerdomains */
> static struct rpmhpd *sdm670_rpmhpds[] = {
> [SDM670_CX] = &cx_w_mx_parent,
> @@ -487,6 +520,7 @@ static const struct rpmhpd_desc sc8280xp_desc = {
> static const struct of_device_id rpmhpd_match_table[] = {
> { .compatible = "qcom,qdu1000-rpmhpd", .data = &qdu1000_desc },
> { .compatible = "qcom,sa8540p-rpmhpd", .data = &sa8540p_desc },
> + { .compatible = "qcom,sa8775p-rpmhpd", .data = &sa8775p_desc },
> { .compatible = "qcom,sc7180-rpmhpd", .data = &sc7180_desc },
> { .compatible = "qcom,sc7280-rpmhpd", .data = &sc7280_desc },
> { .compatible = "qcom,sc8180x-rpmhpd", .data = &sc8180x_desc },
--
With best wishes
Dmitry
Powered by blists - more mailing lists