Add support for Qualcomm SM8150 and SC7180 SoCs
cover Add support for Qualcomm SM8150 and SC7180 SoCs
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(-)
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project
PATCH 1/6 soc: qcom: smem: Update max processor count
Update max processor count to reflect the number of co-processors on SC7180 SoCs.
--- drivers/soc/qcom/smem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/soc/qcom/smem.c +1 -1
@@ -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)
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project
PATCH 2/6 dt-bindings: firmware: scm: Add SM8150 and SC7180 support
In reply to Sibi SankarAdd compatible for SM8150 and SC7180 SoCs.
--- Documentation/devicetree/bindings/firmware/qcom,scm.txt | 2 ++ 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/firmware/qcom,scm.txt +2 -0
@@ -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:
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project
PATCH 3/6 dt-bindings: mailbox: Add APSS shared for SM8150 and SC7180 SoCs
In reply to Sibi SankarAdd SM8150 and SC7180 APSS shared to the list of possible bindings.
--- .../devicetree/bindings/mailbox/qcom,apcs-kpss-global.txt | 2 ++ 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.txt +2 -0
@@ -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
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project
PATCH 4/6 mailbox: qcom: Add support for Qualcomm SM8150 and SC7180 SoCs
In reply to Sibi SankarAdd the corresponding APSS shared offset for SM8150 and SC7180 SoCs.
--- drivers/mailbox/qcom-apcs-ipc-mailbox.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/mailbox/qcom-apcs-ipc-mailbox.c +2 -0
@@ -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);
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project
PATCH 5/6 dt-bindings: soc: qcom: aoss: Add SM8150 and SC7180 support
In reply to Sibi SankarAdd SM8150 and SC7180 AOSS QMP to the list of possible bindings.
--- Documentation/devicetree/bindings/soc/qcom/qcom,aoss-qmp.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/soc/qcom/qcom,aoss-qmp.txt +4 -1
@@ -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
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project
PATCH 6/6 soc: qcom: aoss: Add AOSS QMP support
In reply to Sibi SankarAdd AOSS QMP support for SM8150 and SC7180 SoCs.
--- drivers/soc/qcom/qcom_aoss.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/soc/qcom/qcom_aoss.c +2 -0
@@ -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);
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project
Quoted 3 lines · Sibi Sankar
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
Quoted 20 lines
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 supportDocumentation/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(-)Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project
Hey Bjorn,
Thanks for the review!
Quoted 10 lines · Bjorn Andersson
Quoted 3 lines · Sibi Sankar
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
Quoted 25 lines
Regards,
BjornQuoted 21 lines
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 supportDocumentation/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
Signature · 3 lines
-- Sibi Sankar -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project.