* [PATCH v2 1/2] dt-bindings: soc: qcom: llcc-qcom: Add SM8350 compatible
@ 2021-11-21 0:20 Konrad Dybcio
2021-11-21 0:20 ` [PATCH v2 2/2] soc: qcom: llcc: Add configuration data for SM8350 Konrad Dybcio
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Konrad Dybcio @ 2021-11-21 0:20 UTC (permalink / raw)
To: ~postmarketos/upstreaming
Cc: martin.botka, angelogioacchino.delregno, marijn.suijten,
jamipkettunen, Konrad Dybcio, Rob Herring, Bjorn Andersson,
Sai Prakash Ranjan, Stephen Boyd, Manivannan Sadhasivam,
Rishabh Bhatnagar, devicetree, linux-kernel
Document the compatible string for SM8350.
Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
---
Changes since v1:
- Move the .h defines to the second patch
Documentation/devicetree/bindings/arm/msm/qcom,llcc.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/arm/msm/qcom,llcc.yaml b/Documentation/devicetree/bindings/arm/msm/qcom,llcc.yaml
index e12fc7999356..c0ea3df2d2ce 100644
--- a/Documentation/devicetree/bindings/arm/msm/qcom,llcc.yaml
+++ b/Documentation/devicetree/bindings/arm/msm/qcom,llcc.yaml
@@ -27,6 +27,7 @@ properties:
- qcom,sm6350-llcc
- qcom,sm8150-llcc
- qcom,sm8250-llcc
+ - qcom,sm8350-llcc
reg:
items:
--
2.33.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH v2 2/2] soc: qcom: llcc: Add configuration data for SM8350
2021-11-21 0:20 [PATCH v2 1/2] dt-bindings: soc: qcom: llcc-qcom: Add SM8350 compatible Konrad Dybcio
@ 2021-11-21 0:20 ` Konrad Dybcio
2021-12-01 15:12 ` (subset) " Bjorn Andersson
2021-11-30 2:05 ` [PATCH v2 1/2] dt-bindings: soc: qcom: llcc-qcom: Add SM8350 compatible Rob Herring
2021-12-01 20:44 ` Stephen Boyd
2 siblings, 1 reply; 5+ messages in thread
From: Konrad Dybcio @ 2021-11-21 0:20 UTC (permalink / raw)
To: ~postmarketos/upstreaming
Cc: martin.botka, angelogioacchino.delregno, marijn.suijten,
jamipkettunen, Konrad Dybcio, Andy Gross, Bjorn Andersson,
linux-arm-msm, linux-kernel
Add LLCC configuration data for SM8350 SoC.
Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
---
Changes since v1:
- Move the .h defines here
drivers/soc/qcom/llcc-qcom.c | 28 ++++++++++++++++++++++++++++
include/linux/soc/qcom/llcc-qcom.h | 4 ++++
2 files changed, 32 insertions(+)
diff --git a/drivers/soc/qcom/llcc-qcom.c b/drivers/soc/qcom/llcc-qcom.c
index 6bf2f1d1f2c5..ec52f29c8867 100644
--- a/drivers/soc/qcom/llcc-qcom.c
+++ b/drivers/soc/qcom/llcc-qcom.c
@@ -195,6 +195,28 @@ static const struct llcc_slice_config sm8250_data[] = {
{ LLCC_WRCACHE, 31, 256, 1, 1, 0xfff, 0x0, 0, 0, 0, 0, 1, 0 },
};
+static const struct llcc_slice_config sm8350_data[] = {
+ { LLCC_CPUSS, 1, 3072, 1, 1, 0xfff, 0x0, 0, 0, 0, 0, 1, 1 },
+ { LLCC_VIDSC0, 2, 512, 3, 1, 0xfff, 0x0, 0, 0, 0, 0, 1, 0 },
+ { LLCC_AUDIO, 6, 1024, 1, 1, 0xfff, 0x0, 0, 0, 0, 0, 0, 0 },
+ { LLCC_MDMHPGRW, 7, 1024, 3, 0, 0xfff, 0x0, 0, 0, 0, 0, 1, 0 },
+ { LLCC_MODHW, 9, 1024, 1, 1, 0xfff, 0x0, 0, 0, 0, 0, 1, 0 },
+ { LLCC_CMPT, 10, 3072, 1, 1, 0xfff, 0x0, 0, 0, 0, 0, 1, 0 },
+ { LLCC_GPUHTW, 11, 1024, 1, 1, 0xfff, 0x0, 0, 0, 0, 0, 1, 0 },
+ { LLCC_GPU, 12, 1024, 1, 0, 0xfff, 0x0, 0, 0, 0, 1, 1, 0 },
+ { LLCC_MMUHWT, 13, 1024, 1, 1, 0xfff, 0x0, 0, 0, 0, 0, 0, 1 },
+ { LLCC_DISP, 16, 3072, 2, 1, 0xfff, 0x0, 0, 0, 0, 0, 1, 0 },
+ { LLCC_MDMPNG, 21, 1024, 0, 1, 0xf, 0x0, 0, 0, 0, 0, 1, 0 },
+ { LLCC_AUDHW, 22, 1024, 1, 1, 0xfff, 0x0, 0, 0, 0, 0, 1, 0 },
+ { LLCC_CVP, 28, 512, 3, 1, 0xfff, 0x0, 0, 0, 0, 0, 1, 0 },
+ { LLCC_MODPE, 29, 256, 1, 1, 0xf, 0x0, 0, 0, 0, 0, 1, 0 },
+ { LLCC_APTCM, 30, 1024, 3, 1, 0x0, 0x1, 1, 0, 0, 0, 1, 0 },
+ { LLCC_WRCACHE, 31, 512, 1, 1, 0xfff, 0x0, 0, 0, 0, 0, 0, 1 },
+ { LLCC_CVPFW, 17, 512, 1, 0, 0xfff, 0x0, 0, 0, 0, 0, 1, 0 },
+ { LLCC_CPUSS1, 3, 1024, 1, 1, 0xfff, 0x0, 0, 0, 0, 0, 1, 0 },
+ { LLCC_CPUHWT, 5, 512, 1, 1, 0xfff, 0x0, 0, 0, 0, 0, 0, 1 },
+};
+
static const struct qcom_llcc_config sc7180_cfg = {
.sct_data = sc7180_data,
.size = ARRAY_SIZE(sc7180_data),
@@ -228,6 +250,11 @@ static const struct qcom_llcc_config sm8250_cfg = {
.size = ARRAY_SIZE(sm8250_data),
};
+static const struct qcom_llcc_config sm8350_cfg = {
+ .sct_data = sm8350_data,
+ .size = ARRAY_SIZE(sm8350_data),
+};
+
static struct llcc_drv_data *drv_data = (void *) -EPROBE_DEFER;
/**
@@ -644,6 +671,7 @@ static const struct of_device_id qcom_llcc_of_match[] = {
{ .compatible = "qcom,sm6350-llcc", .data = &sm6350_cfg },
{ .compatible = "qcom,sm8150-llcc", .data = &sm8150_cfg },
{ .compatible = "qcom,sm8250-llcc", .data = &sm8250_cfg },
+ { .compatible = "qcom,sm8350-llcc", .data = &sm8350_cfg },
{ }
};
diff --git a/include/linux/soc/qcom/llcc-qcom.h b/include/linux/soc/qcom/llcc-qcom.h
index 437c9df13229..bf8b749b44e1 100644
--- a/include/linux/soc/qcom/llcc-qcom.h
+++ b/include/linux/soc/qcom/llcc-qcom.h
@@ -33,6 +33,10 @@
#define LLCC_MODPE 29
#define LLCC_APTCM 30
#define LLCC_WRCACHE 31
+#define LLCC_CVPFW 32
+#define LLCC_CPUSS1 33
+#define LLCC_CPUHWT 36
+
/**
* struct llcc_slice_desc - Cache slice descriptor
--
2.33.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH v2 1/2] dt-bindings: soc: qcom: llcc-qcom: Add SM8350 compatible
2021-11-21 0:20 [PATCH v2 1/2] dt-bindings: soc: qcom: llcc-qcom: Add SM8350 compatible Konrad Dybcio
2021-11-21 0:20 ` [PATCH v2 2/2] soc: qcom: llcc: Add configuration data for SM8350 Konrad Dybcio
@ 2021-11-30 2:05 ` Rob Herring
2021-12-01 20:44 ` Stephen Boyd
2 siblings, 0 replies; 5+ messages in thread
From: Rob Herring @ 2021-11-30 2:05 UTC (permalink / raw)
To: Konrad Dybcio
Cc: Manivannan Sadhasivam, ~postmarketos/upstreaming,
Sai Prakash Ranjan, jamipkettunen, Bjorn Andersson, linux-kernel,
martin.botka, Stephen Boyd, Rob Herring,
angelogioacchino.delregno, Rishabh Bhatnagar, marijn.suijten,
devicetree
On Sun, 21 Nov 2021 01:20:45 +0100, Konrad Dybcio wrote:
> Document the compatible string for SM8350.
>
> Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
> ---
> Changes since v1:
> - Move the .h defines to the second patch
>
> Documentation/devicetree/bindings/arm/msm/qcom,llcc.yaml | 1 +
> 1 file changed, 1 insertion(+)
>
Acked-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: (subset) [PATCH v2 2/2] soc: qcom: llcc: Add configuration data for SM8350
2021-11-21 0:20 ` [PATCH v2 2/2] soc: qcom: llcc: Add configuration data for SM8350 Konrad Dybcio
@ 2021-12-01 15:12 ` Bjorn Andersson
0 siblings, 0 replies; 5+ messages in thread
From: Bjorn Andersson @ 2021-12-01 15:12 UTC (permalink / raw)
To: ~postmarketos/upstreaming, Konrad Dybcio
Cc: linux-arm-msm, angelogioacchino.delregno, martin.botka,
jamipkettunen, linux-kernel, marijn.suijten, Andy Gross
On Sun, 21 Nov 2021 01:20:46 +0100, Konrad Dybcio wrote:
> Add LLCC configuration data for SM8350 SoC.
>
>
Applied, thanks!
[2/2] soc: qcom: llcc: Add configuration data for SM8350
commit: 31c1dbe43cb69bcba6fd1926f4a80d101e8848f5
Best regards,
--
Bjorn Andersson <bjorn.andersson@linaro.org>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v2 1/2] dt-bindings: soc: qcom: llcc-qcom: Add SM8350 compatible
2021-11-21 0:20 [PATCH v2 1/2] dt-bindings: soc: qcom: llcc-qcom: Add SM8350 compatible Konrad Dybcio
2021-11-21 0:20 ` [PATCH v2 2/2] soc: qcom: llcc: Add configuration data for SM8350 Konrad Dybcio
2021-11-30 2:05 ` [PATCH v2 1/2] dt-bindings: soc: qcom: llcc-qcom: Add SM8350 compatible Rob Herring
@ 2021-12-01 20:44 ` Stephen Boyd
2 siblings, 0 replies; 5+ messages in thread
From: Stephen Boyd @ 2021-12-01 20:44 UTC (permalink / raw)
To: Konrad Dybcio, ~postmarketos/upstreaming
Cc: martin.botka, angelogioacchino.delregno, marijn.suijten,
jamipkettunen, Rob Herring, Bjorn Andersson, Sai Prakash Ranjan,
Manivannan Sadhasivam, Rishabh Bhatnagar, devicetree,
linux-kernel
Quoting Konrad Dybcio (2021-11-20 16:20:45)
> Document the compatible string for SM8350.
>
> Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
> ---
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-12-01 20:48 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-21 0:20 [PATCH v2 1/2] dt-bindings: soc: qcom: llcc-qcom: Add SM8350 compatible Konrad Dybcio
2021-11-21 0:20 ` [PATCH v2 2/2] soc: qcom: llcc: Add configuration data for SM8350 Konrad Dybcio
2021-12-01 15:12 ` (subset) " Bjorn Andersson
2021-11-30 2:05 ` [PATCH v2 1/2] dt-bindings: soc: qcom: llcc-qcom: Add SM8350 compatible Rob Herring
2021-12-01 20:44 ` Stephen Boyd
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.