* [PATCH 1/6] dt-bindings: soc: qcom: aoss: Add SM6350 compatible [not found] <20210820203105.229764-1-konrad.dybcio@somainline.org> @ 2021-08-20 20:31 ` Konrad Dybcio 2021-08-24 16:42 ` Rob Herring 2021-08-20 20:31 ` [PATCH 2/6] dt-bindings: power: rpmpd: Add SM6350 to rpmpd binding Konrad Dybcio ` (4 subsequent siblings) 5 siblings, 1 reply; 10+ messages in thread From: Konrad Dybcio @ 2021-08-20 20:31 UTC (permalink / raw) To: ~postmarketos/upstreaming Cc: martin.botka, angelogioacchino.delregno, marijn.suijten, jamipkettunen, Konrad Dybcio, Andy Gross, Bjorn Andersson, Rob Herring, linux-arm-msm, devicetree, linux-kernel Add SM6350 AOSS QMP compatible to the list of possible bindings. Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org> --- Documentation/devicetree/bindings/soc/qcom/qcom,aoss-qmp.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,aoss-qmp.yaml b/Documentation/devicetree/bindings/soc/qcom/qcom,aoss-qmp.yaml index 93e4b737ee1b..1904612fad85 100644 --- a/Documentation/devicetree/bindings/soc/qcom/qcom,aoss-qmp.yaml +++ b/Documentation/devicetree/bindings/soc/qcom/qcom,aoss-qmp.yaml @@ -30,6 +30,7 @@ properties: - qcom,sc7280-aoss-qmp - qcom,sc8180x-aoss-qmp - qcom,sdm845-aoss-qmp + - qcom,sm6350-aoss-qmp - qcom,sm8150-aoss-qmp - qcom,sm8250-aoss-qmp - qcom,sm8350-aoss-qmp -- 2.33.0 ^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: [PATCH 1/6] dt-bindings: soc: qcom: aoss: Add SM6350 compatible 2021-08-20 20:31 ` [PATCH 1/6] dt-bindings: soc: qcom: aoss: Add SM6350 compatible Konrad Dybcio @ 2021-08-24 16:42 ` Rob Herring 0 siblings, 0 replies; 10+ messages in thread From: Rob Herring @ 2021-08-24 16:42 UTC (permalink / raw) To: Konrad Dybcio Cc: martin.botka, linux-kernel, devicetree, Bjorn Andersson, Rob Herring, marijn.suijten, ~postmarketos/upstreaming, Andy Gross, linux-arm-msm, jamipkettunen, angelogioacchino.delregno On Fri, 20 Aug 2021 22:31:00 +0200, Konrad Dybcio wrote: > Add SM6350 AOSS QMP compatible to the list of possible bindings. > > Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org> > --- > Documentation/devicetree/bindings/soc/qcom/qcom,aoss-qmp.yaml | 1 + > 1 file changed, 1 insertion(+) > Acked-by: Rob Herring <robh@kernel.org> ^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH 2/6] dt-bindings: power: rpmpd: Add SM6350 to rpmpd binding [not found] <20210820203105.229764-1-konrad.dybcio@somainline.org> 2021-08-20 20:31 ` [PATCH 1/6] dt-bindings: soc: qcom: aoss: Add SM6350 compatible Konrad Dybcio @ 2021-08-20 20:31 ` Konrad Dybcio 2021-08-24 16:43 ` Rob Herring 2021-08-20 20:31 ` [PATCH 3/6] soc: qcom: rpmhpd: Add SM6350 Konrad Dybcio ` (3 subsequent siblings) 5 siblings, 1 reply; 10+ messages in thread From: Konrad Dybcio @ 2021-08-20 20:31 UTC (permalink / raw) To: ~postmarketos/upstreaming Cc: martin.botka, angelogioacchino.delregno, marijn.suijten, jamipkettunen, Konrad Dybcio, Andy Gross, Bjorn Andersson, Rob Herring, Rajendra Nayak, linux-arm-msm, devicetree, linux-kernel Add compatible and constants for the power domains exposed by the RPMH in the Qualcomm SM6350 platform. Acked-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org> Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org> --- Documentation/devicetree/bindings/power/qcom,rpmpd.yaml | 1 + include/dt-bindings/power/qcom-rpmpd.h | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml b/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml index 4807b560f00d..53405aac75c5 100644 --- a/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml +++ b/Documentation/devicetree/bindings/power/qcom,rpmpd.yaml @@ -30,6 +30,7 @@ properties: - qcom,sc8180x-rpmhpd - qcom,sdm845-rpmhpd - qcom,sdx55-rpmhpd + - qcom,sm6350-rpmhpd - qcom,sm8150-rpmhpd - qcom,sm8250-rpmhpd - qcom,sm8350-rpmhpd diff --git a/include/dt-bindings/power/qcom-rpmpd.h b/include/dt-bindings/power/qcom-rpmpd.h index 8b5708bb9671..fed59c104900 100644 --- a/include/dt-bindings/power/qcom-rpmpd.h +++ b/include/dt-bindings/power/qcom-rpmpd.h @@ -20,6 +20,14 @@ #define SDX55_MX 1 #define SDX55_CX 2 +/* SM6350 Power Domain Indexes */ +#define SM6350_CX 0 +#define SM6350_GFX 1 +#define SM6350_LCX 2 +#define SM6350_LMX 3 +#define SM6350_MSS 4 +#define SM6350_MX 5 + /* SM8150 Power Domain Indexes */ #define SM8150_MSS 0 #define SM8150_EBI 1 -- 2.33.0 ^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: [PATCH 2/6] dt-bindings: power: rpmpd: Add SM6350 to rpmpd binding 2021-08-20 20:31 ` [PATCH 2/6] dt-bindings: power: rpmpd: Add SM6350 to rpmpd binding Konrad Dybcio @ 2021-08-24 16:43 ` Rob Herring 0 siblings, 0 replies; 10+ messages in thread From: Rob Herring @ 2021-08-24 16:43 UTC (permalink / raw) To: Konrad Dybcio Cc: marijn.suijten, Rajendra Nayak, devicetree, Rob Herring, Andy Gross, martin.botka, angelogioacchino.delregno, linux-kernel, jamipkettunen, linux-arm-msm, Bjorn Andersson, ~postmarketos/upstreaming On Fri, 20 Aug 2021 22:31:01 +0200, Konrad Dybcio wrote: > Add compatible and constants for the power domains exposed by the RPMH > in the Qualcomm SM6350 platform. > > Acked-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org> > Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org> > --- > Documentation/devicetree/bindings/power/qcom,rpmpd.yaml | 1 + > include/dt-bindings/power/qcom-rpmpd.h | 8 ++++++++ > 2 files changed, 9 insertions(+) > Acked-by: Rob Herring <robh@kernel.org> ^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH 3/6] soc: qcom: rpmhpd: Add SM6350 [not found] <20210820203105.229764-1-konrad.dybcio@somainline.org> 2021-08-20 20:31 ` [PATCH 1/6] dt-bindings: soc: qcom: aoss: Add SM6350 compatible Konrad Dybcio 2021-08-20 20:31 ` [PATCH 2/6] dt-bindings: power: rpmpd: Add SM6350 to rpmpd binding Konrad Dybcio @ 2021-08-20 20:31 ` Konrad Dybcio 2021-08-20 20:31 ` [PATCH 4/6] dt-bindings: arm: msm: Add LLCC for SM6350 Konrad Dybcio ` (2 subsequent siblings) 5 siblings, 0 replies; 10+ messages in thread From: Konrad Dybcio @ 2021-08-20 20:31 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 the power domains exposed by RPMH in the Qualcomm SM6350 platform. Acked-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org> Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org> --- drivers/soc/qcom/rpmhpd.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/drivers/soc/qcom/rpmhpd.c b/drivers/soc/qcom/rpmhpd.c index 2daa17ba54a3..8d84b3534c4f 100644 --- a/drivers/soc/qcom/rpmhpd.c +++ b/drivers/soc/qcom/rpmhpd.c @@ -147,6 +147,21 @@ static const struct rpmhpd_desc sdx55_desc = { .num_pds = ARRAY_SIZE(sdx55_rpmhpds), }; +/* SM6350 RPMH powerdomains */ +static struct rpmhpd *sm6350_rpmhpds[] = { + [SM6350_CX] = &sdm845_cx, + [SM6350_GFX] = &sdm845_gfx, + [SM6350_LCX] = &sdm845_lcx, + [SM6350_LMX] = &sdm845_lmx, + [SM6350_MSS] = &sdm845_mss, + [SM6350_MX] = &sdm845_mx, +}; + +static const struct rpmhpd_desc sm6350_desc = { + .rpmhpds = sm6350_rpmhpds, + .num_pds = ARRAY_SIZE(sm6350_rpmhpds), +}; + /* SM8150 RPMH powerdomains */ static struct rpmhpd sm8150_mmcx_ao; @@ -297,6 +312,7 @@ static const struct of_device_id rpmhpd_match_table[] = { { .compatible = "qcom,sc8180x-rpmhpd", .data = &sc8180x_desc }, { .compatible = "qcom,sdm845-rpmhpd", .data = &sdm845_desc }, { .compatible = "qcom,sdx55-rpmhpd", .data = &sdx55_desc}, + { .compatible = "qcom,sm6350-rpmhpd", .data = &sm6350_desc }, { .compatible = "qcom,sm8150-rpmhpd", .data = &sm8150_desc }, { .compatible = "qcom,sm8250-rpmhpd", .data = &sm8250_desc }, { .compatible = "qcom,sm8350-rpmhpd", .data = &sm8350_desc }, -- 2.33.0 ^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH 4/6] dt-bindings: arm: msm: Add LLCC for SM6350 [not found] <20210820203105.229764-1-konrad.dybcio@somainline.org> ` (2 preceding siblings ...) 2021-08-20 20:31 ` [PATCH 3/6] soc: qcom: rpmhpd: Add SM6350 Konrad Dybcio @ 2021-08-20 20:31 ` Konrad Dybcio 2021-08-24 16:43 ` Rob Herring 2021-08-20 20:31 ` [PATCH 5/6] soc: qcom: llcc: Add configuration data " Konrad Dybcio 2021-08-20 20:31 ` [PATCH 6/6] dt-bindings: mailbox: qcom-ipcc: Add compatible " Konrad Dybcio 5 siblings, 1 reply; 10+ messages in thread From: Konrad Dybcio @ 2021-08-20 20:31 UTC (permalink / raw) To: ~postmarketos/upstreaming Cc: martin.botka, angelogioacchino.delregno, marijn.suijten, jamipkettunen, Konrad Dybcio, Rob Herring, Bjorn Andersson, Manivannan Sadhasivam, Sai Prakash Ranjan, Souradeep Chowdhury, Rishabh Bhatnagar, devicetree, linux-kernel Add LLCC compatible for SM6350 SoC. Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org> Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org> --- 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 62fcbd883392..e12fc7999356 100644 --- a/Documentation/devicetree/bindings/arm/msm/qcom,llcc.yaml +++ b/Documentation/devicetree/bindings/arm/msm/qcom,llcc.yaml @@ -24,6 +24,7 @@ properties: - qcom,sc7180-llcc - qcom,sc7280-llcc - qcom,sdm845-llcc + - qcom,sm6350-llcc - qcom,sm8150-llcc - qcom,sm8250-llcc -- 2.33.0 ^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: [PATCH 4/6] dt-bindings: arm: msm: Add LLCC for SM6350 2021-08-20 20:31 ` [PATCH 4/6] dt-bindings: arm: msm: Add LLCC for SM6350 Konrad Dybcio @ 2021-08-24 16:43 ` Rob Herring 0 siblings, 0 replies; 10+ messages in thread From: Rob Herring @ 2021-08-24 16:43 UTC (permalink / raw) To: Konrad Dybcio Cc: Sai Prakash Ranjan, ~postmarketos/upstreaming, Manivannan Sadhasivam, Souradeep Chowdhury, linux-kernel, marijn.suijten, angelogioacchino.delregno, martin.botka, devicetree, jamipkettunen, Rob Herring, Bjorn Andersson, Rishabh Bhatnagar On Fri, 20 Aug 2021 22:31:03 +0200, Konrad Dybcio wrote: > Add LLCC compatible for SM6350 SoC. > > Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org> > Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org> > --- > 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] 10+ messages in thread
* [PATCH 5/6] soc: qcom: llcc: Add configuration data for SM6350 [not found] <20210820203105.229764-1-konrad.dybcio@somainline.org> ` (3 preceding siblings ...) 2021-08-20 20:31 ` [PATCH 4/6] dt-bindings: arm: msm: Add LLCC for SM6350 Konrad Dybcio @ 2021-08-20 20:31 ` Konrad Dybcio 2021-08-20 20:31 ` [PATCH 6/6] dt-bindings: mailbox: qcom-ipcc: Add compatible " Konrad Dybcio 5 siblings, 0 replies; 10+ messages in thread From: Konrad Dybcio @ 2021-08-20 20:31 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 SM6350 SoC. Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org> Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org> --- drivers/soc/qcom/llcc-qcom.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/drivers/soc/qcom/llcc-qcom.c b/drivers/soc/qcom/llcc-qcom.c index 15a36dcab990..fb471cc4066b 100644 --- a/drivers/soc/qcom/llcc-qcom.c +++ b/drivers/soc/qcom/llcc-qcom.c @@ -142,6 +142,16 @@ static const struct llcc_slice_config sdm845_data[] = { { LLCC_AUDHW, 22, 1024, 1, 1, 0xffc, 0x2, 0, 0, 1, 1, 0 }, }; +static const struct llcc_slice_config sm6350_data[] = { + { LLCC_CPUSS, 1, 768, 1, 0, 0xFFF, 0x0, 0, 0, 0, 0, 1, 1 }, + { LLCC_MDM, 8, 512, 2, 0, 0xFFF, 0x0, 0, 0, 0, 0, 1, 0 }, + { LLCC_GPUHTW, 11, 256, 1, 0, 0xFFF, 0x0, 0, 0, 0, 0, 1, 0 }, + { LLCC_GPU, 12, 512, 1, 0, 0xFFF, 0x0, 0, 0, 0, 0, 1, 0 }, + { LLCC_MDMPNG, 21, 768, 0, 1, 0xFFF, 0x0, 0, 0, 0, 0, 1, 0 }, + { LLCC_NPU, 23, 768, 1, 0, 0xFFF, 0x0, 0, 0, 0, 0, 1, 0 }, + { LLCC_MODPE, 29, 64, 1, 1, 0xFFF, 0x0, 0, 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 }, @@ -203,6 +213,11 @@ static const struct qcom_llcc_config sdm845_cfg = { .need_llcc_cfg = false, }; +static const struct qcom_llcc_config sm6350_cfg = { + .sct_data = sm6350_data, + .size = ARRAY_SIZE(sm6350_data), +}; + static const struct qcom_llcc_config sm8150_cfg = { .sct_data = sm8150_data, .size = ARRAY_SIZE(sm8150_data), @@ -626,6 +641,7 @@ static const struct of_device_id qcom_llcc_of_match[] = { { .compatible = "qcom,sc7180-llcc", .data = &sc7180_cfg }, { .compatible = "qcom,sc7280-llcc", .data = &sc7280_cfg }, { .compatible = "qcom,sdm845-llcc", .data = &sdm845_cfg }, + { .compatible = "qcom,sm6350-llcc", .data = &sm6350_cfg }, { .compatible = "qcom,sm8150-llcc", .data = &sm8150_cfg }, { .compatible = "qcom,sm8250-llcc", .data = &sm8250_cfg }, { } -- 2.33.0 ^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH 6/6] dt-bindings: mailbox: qcom-ipcc: Add compatible for SM6350 [not found] <20210820203105.229764-1-konrad.dybcio@somainline.org> ` (4 preceding siblings ...) 2021-08-20 20:31 ` [PATCH 5/6] soc: qcom: llcc: Add configuration data " Konrad Dybcio @ 2021-08-20 20:31 ` Konrad Dybcio 2021-08-24 16:43 ` Rob Herring 5 siblings, 1 reply; 10+ messages in thread From: Konrad Dybcio @ 2021-08-20 20:31 UTC (permalink / raw) To: ~postmarketos/upstreaming Cc: martin.botka, angelogioacchino.delregno, marijn.suijten, jamipkettunen, Konrad Dybcio, Andy Gross, Bjorn Andersson, Manivannan Sadhasivam, Jassi Brar, Rob Herring, linux-arm-msm, linux-kernel, devicetree Add IPCC compatible for SM6350 SoC. Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org> --- Documentation/devicetree/bindings/mailbox/qcom-ipcc.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/mailbox/qcom-ipcc.yaml b/Documentation/devicetree/bindings/mailbox/qcom-ipcc.yaml index b222f993b232..866efb278813 100644 --- a/Documentation/devicetree/bindings/mailbox/qcom-ipcc.yaml +++ b/Documentation/devicetree/bindings/mailbox/qcom-ipcc.yaml @@ -24,6 +24,7 @@ properties: compatible: items: - enum: + - qcom,sm6350-ipcc - qcom,sm8250-ipcc - qcom,sm8350-ipcc - qcom,sc7280-ipcc -- 2.33.0 ^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: [PATCH 6/6] dt-bindings: mailbox: qcom-ipcc: Add compatible for SM6350 2021-08-20 20:31 ` [PATCH 6/6] dt-bindings: mailbox: qcom-ipcc: Add compatible " Konrad Dybcio @ 2021-08-24 16:43 ` Rob Herring 0 siblings, 0 replies; 10+ messages in thread From: Rob Herring @ 2021-08-24 16:43 UTC (permalink / raw) To: Konrad Dybcio Cc: martin.botka, Jassi Brar, Andy Gross, marijn.suijten, Rob Herring, Manivannan Sadhasivam, linux-arm-msm, ~postmarketos/upstreaming, Bjorn Andersson, devicetree, linux-kernel, angelogioacchino.delregno, jamipkettunen On Fri, 20 Aug 2021 22:31:05 +0200, Konrad Dybcio wrote: > Add IPCC compatible for SM6350 SoC. > > Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org> > --- > Documentation/devicetree/bindings/mailbox/qcom-ipcc.yaml | 1 + > 1 file changed, 1 insertion(+) > Acked-by: Rob Herring <robh@kernel.org> ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2021-08-24 16:43 UTC | newest] Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <20210820203105.229764-1-konrad.dybcio@somainline.org> 2021-08-20 20:31 ` [PATCH 1/6] dt-bindings: soc: qcom: aoss: Add SM6350 compatible Konrad Dybcio 2021-08-24 16:42 ` Rob Herring 2021-08-20 20:31 ` [PATCH 2/6] dt-bindings: power: rpmpd: Add SM6350 to rpmpd binding Konrad Dybcio 2021-08-24 16:43 ` Rob Herring 2021-08-20 20:31 ` [PATCH 3/6] soc: qcom: rpmhpd: Add SM6350 Konrad Dybcio 2021-08-20 20:31 ` [PATCH 4/6] dt-bindings: arm: msm: Add LLCC for SM6350 Konrad Dybcio 2021-08-24 16:43 ` Rob Herring 2021-08-20 20:31 ` [PATCH 5/6] soc: qcom: llcc: Add configuration data " Konrad Dybcio 2021-08-20 20:31 ` [PATCH 6/6] dt-bindings: mailbox: qcom-ipcc: Add compatible " Konrad Dybcio 2021-08-24 16:43 ` Rob Herring
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.