* [PATCH 0/6] Add support for Qualcomm SM8150 and SC7180 SoCs
@ 2019-07-29 12:06 Sibi Sankar
2019-07-29 12:06 ` [PATCH 1/6] soc: qcom: smem: Update max processor count Sibi Sankar
` (6 more replies)
0 siblings, 7 replies; 9+ messages in thread
From: Sibi Sankar @ 2019-07-29 12:06 UTC (permalink / raw)
To: bjorn.andersson, robh+dt, vkoul, aneela
Cc: mark.rutland, agross, linux-kernel, linux-arm-msm, devicetree,
jassisinghbrar, clew, Sibi Sankar
This patch series adds SCM, APSS shared mailbox and QMP AOSS PD/clock
support on SM8150 and SC7180 SoCs.
Sibi Sankar (6):
soc: qcom: smem: Update max processor count
dt-bindings: firmware: scm: Add SM8150 and SC7180 support
dt-bindings: mailbox: Add APSS shared for SM8150 and SC7180 SoCs
mailbox: qcom: Add support for Qualcomm SM8150 and SC7180 SoCs
dt-bindings: soc: qcom: aoss: Add SM8150 and SC7180 support
soc: qcom: aoss: Add AOSS QMP support
Documentation/devicetree/bindings/firmware/qcom,scm.txt | 2 ++
.../devicetree/bindings/mailbox/qcom,apcs-kpss-global.txt | 2 ++
Documentation/devicetree/bindings/soc/qcom/qcom,aoss-qmp.txt | 5 ++++-
drivers/mailbox/qcom-apcs-ipc-mailbox.c | 2 ++
drivers/soc/qcom/qcom_aoss.c | 2 ++
drivers/soc/qcom/smem.c | 2 +-
6 files changed, 13 insertions(+), 2 deletions(-)
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH 1/6] soc: qcom: smem: Update max processor count
2019-07-29 12:06 [PATCH 0/6] Add support for Qualcomm SM8150 and SC7180 SoCs Sibi Sankar
@ 2019-07-29 12:06 ` Sibi Sankar
2019-07-29 12:06 ` [PATCH 2/6] dt-bindings: firmware: scm: Add SM8150 and SC7180 support Sibi Sankar
` (5 subsequent siblings)
6 siblings, 0 replies; 9+ messages in thread
From: Sibi Sankar @ 2019-07-29 12:06 UTC (permalink / raw)
To: bjorn.andersson, robh+dt, vkoul, aneela
Cc: mark.rutland, agross, linux-kernel, linux-arm-msm, devicetree,
jassisinghbrar, clew, Sibi Sankar
Update max processor count to reflect the number of
co-processors on SC7180 SoCs.
Signed-off-by: Sibi Sankar <sibis@codeaurora.org>
---
drivers/soc/qcom/smem.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/soc/qcom/smem.c b/drivers/soc/qcom/smem.c
index f27c00d82ae49..bef8502625f96 100644
--- a/drivers/soc/qcom/smem.c
+++ b/drivers/soc/qcom/smem.c
@@ -84,7 +84,7 @@
#define SMEM_GLOBAL_HOST 0xfffe
/* Max number of processors/hosts in a system */
-#define SMEM_HOST_COUNT 10
+#define SMEM_HOST_COUNT 11
/**
* struct smem_proc_comm - proc_comm communication struct (legacy)
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH 2/6] dt-bindings: firmware: scm: Add SM8150 and SC7180 support
2019-07-29 12:06 [PATCH 0/6] Add support for Qualcomm SM8150 and SC7180 SoCs Sibi Sankar
2019-07-29 12:06 ` [PATCH 1/6] soc: qcom: smem: Update max processor count Sibi Sankar
@ 2019-07-29 12:06 ` Sibi Sankar
2019-07-29 12:06 ` [PATCH 3/6] dt-bindings: mailbox: Add APSS shared for SM8150 and SC7180 SoCs Sibi Sankar
` (4 subsequent siblings)
6 siblings, 0 replies; 9+ messages in thread
From: Sibi Sankar @ 2019-07-29 12:06 UTC (permalink / raw)
To: bjorn.andersson, robh+dt, vkoul, aneela
Cc: mark.rutland, agross, linux-kernel, linux-arm-msm, devicetree,
jassisinghbrar, clew, Sibi Sankar
Add compatible for SM8150 and SC7180 SoCs.
Signed-off-by: Sibi Sankar <sibis@codeaurora.org>
---
Documentation/devicetree/bindings/firmware/qcom,scm.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/firmware/qcom,scm.txt b/Documentation/devicetree/bindings/firmware/qcom,scm.txt
index 41f133a4e2fa7..5282ad3fc79d0 100644
--- a/Documentation/devicetree/bindings/firmware/qcom,scm.txt
+++ b/Documentation/devicetree/bindings/firmware/qcom,scm.txt
@@ -17,6 +17,8 @@ Required properties:
* "qcom,scm-msm8998"
* "qcom,scm-ipq4019"
* "qcom,scm-sdm845"
+ * "qcom,scm-sm8150"
+ * "qcom,scm-sc7180"
and:
* "qcom,scm"
- clocks: Specifies clocks needed by the SCM interface, if any:
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH 3/6] dt-bindings: mailbox: Add APSS shared for SM8150 and SC7180 SoCs
2019-07-29 12:06 [PATCH 0/6] Add support for Qualcomm SM8150 and SC7180 SoCs Sibi Sankar
2019-07-29 12:06 ` [PATCH 1/6] soc: qcom: smem: Update max processor count Sibi Sankar
2019-07-29 12:06 ` [PATCH 2/6] dt-bindings: firmware: scm: Add SM8150 and SC7180 support Sibi Sankar
@ 2019-07-29 12:06 ` Sibi Sankar
2019-07-29 12:06 ` [PATCH 4/6] mailbox: qcom: Add support for Qualcomm " Sibi Sankar
` (3 subsequent siblings)
6 siblings, 0 replies; 9+ messages in thread
From: Sibi Sankar @ 2019-07-29 12:06 UTC (permalink / raw)
To: bjorn.andersson, robh+dt, vkoul, aneela
Cc: mark.rutland, agross, linux-kernel, linux-arm-msm, devicetree,
jassisinghbrar, clew, Sibi Sankar
Add SM8150 and SC7180 APSS shared to the list of possible bindings.
Signed-off-by: Sibi Sankar <sibis@codeaurora.org>
---
.../devicetree/bindings/mailbox/qcom,apcs-kpss-global.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.txt b/Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.txt
index 1232fc9fc709c..1e081dc3f2dae 100644
--- a/Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.txt
+++ b/Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.txt
@@ -13,6 +13,8 @@ platforms.
"qcom,msm8998-apcs-hmss-global"
"qcom,qcs404-apcs-apps-global"
"qcom,sdm845-apss-shared"
+ "qcom,sm8150-apss-shared"
+ "qcom,sc7180-apss-shared"
- reg:
Usage: required
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH 4/6] mailbox: qcom: Add support for Qualcomm SM8150 and SC7180 SoCs
2019-07-29 12:06 [PATCH 0/6] Add support for Qualcomm SM8150 and SC7180 SoCs Sibi Sankar
` (2 preceding siblings ...)
2019-07-29 12:06 ` [PATCH 3/6] dt-bindings: mailbox: Add APSS shared for SM8150 and SC7180 SoCs Sibi Sankar
@ 2019-07-29 12:06 ` Sibi Sankar
2019-07-29 12:06 ` [PATCH 5/6] dt-bindings: soc: qcom: aoss: Add SM8150 and SC7180 support Sibi Sankar
` (2 subsequent siblings)
6 siblings, 0 replies; 9+ messages in thread
From: Sibi Sankar @ 2019-07-29 12:06 UTC (permalink / raw)
To: bjorn.andersson, robh+dt, vkoul, aneela
Cc: mark.rutland, agross, linux-kernel, linux-arm-msm, devicetree,
jassisinghbrar, clew, Sibi Sankar
Add the corresponding APSS shared offset for SM8150 and SC7180 SoCs.
Signed-off-by: Sibi Sankar <sibis@codeaurora.org>
---
drivers/mailbox/qcom-apcs-ipc-mailbox.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/mailbox/qcom-apcs-ipc-mailbox.c b/drivers/mailbox/qcom-apcs-ipc-mailbox.c
index 705e17a5479cc..d5dbfd5f8417f 100644
--- a/drivers/mailbox/qcom-apcs-ipc-mailbox.c
+++ b/drivers/mailbox/qcom-apcs-ipc-mailbox.c
@@ -119,6 +119,8 @@ static const struct of_device_id qcom_apcs_ipc_of_match[] = {
{ .compatible = "qcom,msm8998-apcs-hmss-global", .data = (void *)8 },
{ .compatible = "qcom,qcs404-apcs-apps-global", .data = (void *)8 },
{ .compatible = "qcom,sdm845-apss-shared", .data = (void *)12 },
+ { .compatible = "qcom,sm8150-apss-shared", .data = (void *)12 },
+ { .compatible = "qcom,sc7180-apss-shared", .data = (void *)12 },
{}
};
MODULE_DEVICE_TABLE(of, qcom_apcs_ipc_of_match);
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH 5/6] dt-bindings: soc: qcom: aoss: Add SM8150 and SC7180 support
2019-07-29 12:06 [PATCH 0/6] Add support for Qualcomm SM8150 and SC7180 SoCs Sibi Sankar
` (3 preceding siblings ...)
2019-07-29 12:06 ` [PATCH 4/6] mailbox: qcom: Add support for Qualcomm " Sibi Sankar
@ 2019-07-29 12:06 ` Sibi Sankar
2019-07-29 12:06 ` [PATCH 6/6] soc: qcom: aoss: Add AOSS QMP support Sibi Sankar
2019-07-29 15:38 ` [PATCH 0/6] Add support for Qualcomm SM8150 and SC7180 SoCs Bjorn Andersson
6 siblings, 0 replies; 9+ messages in thread
From: Sibi Sankar @ 2019-07-29 12:06 UTC (permalink / raw)
To: bjorn.andersson, robh+dt, vkoul, aneela
Cc: mark.rutland, agross, linux-kernel, linux-arm-msm, devicetree,
jassisinghbrar, clew, Sibi Sankar
Add SM8150 and SC7180 AOSS QMP to the list of possible bindings.
Signed-off-by: Sibi Sankar <sibis@codeaurora.org>
---
Documentation/devicetree/bindings/soc/qcom/qcom,aoss-qmp.txt | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,aoss-qmp.txt b/Documentation/devicetree/bindings/soc/qcom/qcom,aoss-qmp.txt
index 954ffee0a9c45..91b972c1fee57 100644
--- a/Documentation/devicetree/bindings/soc/qcom/qcom,aoss-qmp.txt
+++ b/Documentation/devicetree/bindings/soc/qcom/qcom,aoss-qmp.txt
@@ -15,7 +15,10 @@ power-domains.
- compatible:
Usage: required
Value type: <string>
- Definition: must be "qcom,sdm845-aoss-qmp"
+ Definition: must be one of:
+ "qcom,sdm845-aoss-qmp"
+ "qcom,sm8150-aoss-qmp"
+ "qcom,sc7180-aoss-qmp"
- reg:
Usage: required
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH 6/6] soc: qcom: aoss: Add AOSS QMP support
2019-07-29 12:06 [PATCH 0/6] Add support for Qualcomm SM8150 and SC7180 SoCs Sibi Sankar
` (4 preceding siblings ...)
2019-07-29 12:06 ` [PATCH 5/6] dt-bindings: soc: qcom: aoss: Add SM8150 and SC7180 support Sibi Sankar
@ 2019-07-29 12:06 ` Sibi Sankar
2019-07-29 15:38 ` [PATCH 0/6] Add support for Qualcomm SM8150 and SC7180 SoCs Bjorn Andersson
6 siblings, 0 replies; 9+ messages in thread
From: Sibi Sankar @ 2019-07-29 12:06 UTC (permalink / raw)
To: bjorn.andersson, robh+dt, vkoul, aneela
Cc: mark.rutland, agross, linux-kernel, linux-arm-msm, devicetree,
jassisinghbrar, clew, Sibi Sankar
Add AOSS QMP support for SM8150 and SC7180 SoCs.
Signed-off-by: Sibi Sankar <sibis@codeaurora.org>
---
drivers/soc/qcom/qcom_aoss.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/soc/qcom/qcom_aoss.c b/drivers/soc/qcom/qcom_aoss.c
index 5f885196f4d0f..e2f8c7c9a5a0a 100644
--- a/drivers/soc/qcom/qcom_aoss.c
+++ b/drivers/soc/qcom/qcom_aoss.c
@@ -462,6 +462,8 @@ static int qmp_remove(struct platform_device *pdev)
static const struct of_device_id qmp_dt_match[] = {
{ .compatible = "qcom,sdm845-aoss-qmp", },
+ { .compatible = "qcom,sm8150-aoss-qmp", },
+ { .compatible = "qcom,sc7180-aoss-qmp", },
{}
};
MODULE_DEVICE_TABLE(of, qmp_dt_match);
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [PATCH 0/6] Add support for Qualcomm SM8150 and SC7180 SoCs
2019-07-29 12:06 [PATCH 0/6] Add support for Qualcomm SM8150 and SC7180 SoCs Sibi Sankar
` (5 preceding siblings ...)
2019-07-29 12:06 ` [PATCH 6/6] soc: qcom: aoss: Add AOSS QMP support Sibi Sankar
@ 2019-07-29 15:38 ` Bjorn Andersson
2019-07-29 16:46 ` Sibi Sankar
6 siblings, 1 reply; 9+ messages in thread
From: Bjorn Andersson @ 2019-07-29 15:38 UTC (permalink / raw)
To: Sibi Sankar
Cc: robh+dt, vkoul, aneela, mark.rutland, agross, linux-kernel,
linux-arm-msm, devicetree, jassisinghbrar, clew
On Mon 29 Jul 05:06 PDT 2019, Sibi Sankar wrote:
> This patch series adds SCM, APSS shared mailbox and QMP AOSS PD/clock
> support on SM8150 and SC7180 SoCs.
>
Thanks Sibi, this looks good.
Could you please update the last 5 patches to ensure/maintain sort order
of the lists they affect.
Regards,
Bjorn
> Sibi Sankar (6):
> soc: qcom: smem: Update max processor count
> dt-bindings: firmware: scm: Add SM8150 and SC7180 support
> dt-bindings: mailbox: Add APSS shared for SM8150 and SC7180 SoCs
> mailbox: qcom: Add support for Qualcomm SM8150 and SC7180 SoCs
> dt-bindings: soc: qcom: aoss: Add SM8150 and SC7180 support
> soc: qcom: aoss: Add AOSS QMP support
>
> Documentation/devicetree/bindings/firmware/qcom,scm.txt | 2 ++
> .../devicetree/bindings/mailbox/qcom,apcs-kpss-global.txt | 2 ++
> Documentation/devicetree/bindings/soc/qcom/qcom,aoss-qmp.txt | 5 ++++-
> drivers/mailbox/qcom-apcs-ipc-mailbox.c | 2 ++
> drivers/soc/qcom/qcom_aoss.c | 2 ++
> drivers/soc/qcom/smem.c | 2 +-
> 6 files changed, 13 insertions(+), 2 deletions(-)
>
> --
> The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
> a Linux Foundation Collaborative Project
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 0/6] Add support for Qualcomm SM8150 and SC7180 SoCs
2019-07-29 15:38 ` [PATCH 0/6] Add support for Qualcomm SM8150 and SC7180 SoCs Bjorn Andersson
@ 2019-07-29 16:46 ` Sibi Sankar
0 siblings, 0 replies; 9+ messages in thread
From: Sibi Sankar @ 2019-07-29 16:46 UTC (permalink / raw)
To: Bjorn Andersson
Cc: robh+dt, vkoul, aneela, mark.rutland, agross, linux-kernel,
linux-arm-msm, devicetree, jassisinghbrar, clew
Hey Bjorn,
Thanks for the review!
On 2019-07-29 21:08, Bjorn Andersson wrote:
> On Mon 29 Jul 05:06 PDT 2019, Sibi Sankar wrote:
>
>> This patch series adds SCM, APSS shared mailbox and QMP AOSS PD/clock
>> support on SM8150 and SC7180 SoCs.
>>
>
> Thanks Sibi, this looks good.
>
> Could you please update the last 5 patches to ensure/maintain sort
> order
> of the lists they affect.
yes I'll do that
>
> Regards,
> Bjorn
>
>> Sibi Sankar (6):
>> soc: qcom: smem: Update max processor count
>> dt-bindings: firmware: scm: Add SM8150 and SC7180 support
>> dt-bindings: mailbox: Add APSS shared for SM8150 and SC7180 SoCs
>> mailbox: qcom: Add support for Qualcomm SM8150 and SC7180 SoCs
>> dt-bindings: soc: qcom: aoss: Add SM8150 and SC7180 support
>> soc: qcom: aoss: Add AOSS QMP support
>>
>> Documentation/devicetree/bindings/firmware/qcom,scm.txt | 2 ++
>> .../devicetree/bindings/mailbox/qcom,apcs-kpss-global.txt | 2 ++
>> Documentation/devicetree/bindings/soc/qcom/qcom,aoss-qmp.txt | 5
>> ++++-
>> drivers/mailbox/qcom-apcs-ipc-mailbox.c | 2 ++
>> drivers/soc/qcom/qcom_aoss.c | 2 ++
>> drivers/soc/qcom/smem.c | 2 +-
>> 6 files changed, 13 insertions(+), 2 deletions(-)
>>
>> --
>> The Qualcomm Innovation Center, Inc. is a member of the Code Aurora
>> Forum,
>> a Linux Foundation Collaborative Project
>>
--
-- Sibi Sankar --
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project.
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2019-07-29 16:46 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-29 12:06 [PATCH 0/6] Add support for Qualcomm SM8150 and SC7180 SoCs Sibi Sankar
2019-07-29 12:06 ` [PATCH 1/6] soc: qcom: smem: Update max processor count Sibi Sankar
2019-07-29 12:06 ` [PATCH 2/6] dt-bindings: firmware: scm: Add SM8150 and SC7180 support Sibi Sankar
2019-07-29 12:06 ` [PATCH 3/6] dt-bindings: mailbox: Add APSS shared for SM8150 and SC7180 SoCs Sibi Sankar
2019-07-29 12:06 ` [PATCH 4/6] mailbox: qcom: Add support for Qualcomm " Sibi Sankar
2019-07-29 12:06 ` [PATCH 5/6] dt-bindings: soc: qcom: aoss: Add SM8150 and SC7180 support Sibi Sankar
2019-07-29 12:06 ` [PATCH 6/6] soc: qcom: aoss: Add AOSS QMP support Sibi Sankar
2019-07-29 15:38 ` [PATCH 0/6] Add support for Qualcomm SM8150 and SC7180 SoCs Bjorn Andersson
2019-07-29 16:46 ` Sibi Sankar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).