From: Konrad Dybcio <konrad.dybcio@linaro.org>
To: Danila Tikhonov <danila@jiaxyga.com>,
robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org,
agross@kernel.org, andersson@kernel.org, abel.vesa@linaro.org,
rishabhb@codeaurora.org, saiprakash.ranjan@codeaurora.org
Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-msm@vger.kernel.org
Subject: Re: [PATCH 2/2] soc: qcom: llcc: Add configuration data for SM7150
Date: Mon, 6 Mar 2023 11:41:53 +0100 [thread overview]
Message-ID: <86c98c57-08a7-20b3-2346-803b497d562a@linaro.org> (raw)
In-Reply-To: <20230305202627.402386-3-danila@jiaxyga.com>
On 5.03.2023 21:26, Danila Tikhonov wrote:
> Add LLCC configuration data for SM7150 SoC.
>
> Signed-off-by: Danila Tikhonov <danila@jiaxyga.com>
> ---
I checked the msm-4.14 data, everything lgtm
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Konrad
> drivers/soc/qcom/llcc-qcom.c | 17 +++++++++++++++++
> 1 file changed, 17 insertions(+)
>
> diff --git a/drivers/soc/qcom/llcc-qcom.c b/drivers/soc/qcom/llcc-qcom.c
> index 23ce2f78c4ed..0ed8cd4f66da 100644
> --- a/drivers/soc/qcom/llcc-qcom.c
> +++ b/drivers/soc/qcom/llcc-qcom.c
> @@ -227,6 +227,14 @@ static const struct llcc_slice_config sm6350_data[] = {
> { LLCC_MODPE, 29, 64, 1, 1, 0xFFF, 0x0, 0, 0, 0, 0, 1, 0 },
> };
>
> +static const struct llcc_slice_config sm7150_data[] = {
> + { LLCC_CPUSS, 1, 512, 1, 0, 0xF, 0x0, 0, 0, 0, 1, 1 },
> + { LLCC_MDM, 8, 128, 2, 0, 0xF, 0x0, 0, 0, 0, 1, 0 },
> + { LLCC_GPUHTW, 11, 256, 1, 1, 0xF, 0x0, 0, 0, 0, 1, 0 },
> + { LLCC_GPU, 12, 256, 1, 1, 0xF, 0x0, 0, 0, 0, 1, 0 },
> + { LLCC_NPU, 23, 512, 1, 0, 0xF, 0x0, 0, 0, 0, 1, 0 },
> +};
> +
> static const struct llcc_slice_config sm8150_data[] = {
> { LLCC_CPUSS, 1, 3072, 1, 1, 0xFFF, 0x0, 0, 0, 0, 1, 1 },
> { LLCC_VIDSC0, 2, 512, 2, 1, 0xFFF, 0x0, 0, 0, 0, 1, 0 },
> @@ -464,6 +472,14 @@ static const struct qcom_llcc_config sm6350_cfg = {
> .edac_reg_offset = &llcc_v1_edac_reg_offset,
> };
>
> +static const struct qcom_llcc_config sm7150_cfg = {
> + .sct_data = sm7150_data,
> + .size = ARRAY_SIZE(sm7150_data),
> + .need_llcc_cfg = true,
> + .reg_offset = llcc_v1_reg_offset,
> + .edac_reg_offset = &llcc_v1_edac_reg_offset,
> +};
> +
> static const struct qcom_llcc_config sm8150_cfg = {
> .sct_data = sm8150_data,
> .size = ARRAY_SIZE(sm8150_data),
> @@ -1022,6 +1038,7 @@ static const struct of_device_id qcom_llcc_of_match[] = {
> { .compatible = "qcom,sc8280xp-llcc", .data = &sc8280xp_cfg },
> { .compatible = "qcom,sdm845-llcc", .data = &sdm845_cfg },
> { .compatible = "qcom,sm6350-llcc", .data = &sm6350_cfg },
> + { .compatible = "qcom,sm7150-llcc", .data = &sm7150_cfg },
> { .compatible = "qcom,sm8150-llcc", .data = &sm8150_cfg },
> { .compatible = "qcom,sm8250-llcc", .data = &sm8250_cfg },
> { .compatible = "qcom,sm8350-llcc", .data = &sm8350_cfg },
next prev parent reply other threads:[~2023-03-06 10:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-05 20:26 [PATCH 0/2] soc: qcom: llcc: Add support " Danila Tikhonov
2023-03-05 20:26 ` [PATCH 1/2] dt-bindings: arm: msm: Add LLCC " Danila Tikhonov
2023-03-06 6:44 ` Krzysztof Kozlowski
2023-03-05 20:26 ` [PATCH 2/2] soc: qcom: llcc: Add configuration data " Danila Tikhonov
2023-03-06 10:41 ` Konrad Dybcio [this message]
2023-03-22 14:45 ` [PATCH 0/2] soc: qcom: llcc: Add support " 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=86c98c57-08a7-20b3-2346-803b497d562a@linaro.org \
--to=konrad.dybcio@linaro.org \
--cc=abel.vesa@linaro.org \
--cc=agross@kernel.org \
--cc=andersson@kernel.org \
--cc=danila@jiaxyga.com \
--cc=devicetree@vger.kernel.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rishabhb@codeaurora.org \
--cc=robh+dt@kernel.org \
--cc=saiprakash.ranjan@codeaurora.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®