[PATCH 0/4] Add SCM and mailbox support on MSM8953

STALE1888d

7 messages, 2 authors, 2021-08-17 · open the first message on its own page

[PATCH 0/4] Add SCM and mailbox support on MSM8953

From: Sireesh Kodali <hidden>
Date: 2021-08-10 16:45:05

This patch series adds support for SCM and mailbox as found on the QCom
MSM8953 platform.
Since all SoCs based on the MSM8953 platform have the same scm and
mailbox configuration, a single compatible string is used.

Vladimir Lypak (4):
  dt-bindings: mailbox: Add compatible for the MSM8953
  mailbox: qcom-apcs-ipc: Add compatible for MSM8953 SoC
  dt-bindings: firmware: qcom-scm: Document msm8953 bindings
  firmware: qcom_scm: Add compatible for MSM8953 SoC

 Documentation/devicetree/bindings/firmware/qcom,scm.txt       | 3 ++-
 .../devicetree/bindings/mailbox/qcom,apcs-kpss-global.yaml    | 1 +
 drivers/firmware/qcom_scm.c                                   | 4 ++++
 drivers/mailbox/qcom-apcs-ipc-mailbox.c                       | 1 +
 4 files changed, 8 insertions(+), 1 deletion(-)

-- 
2.32.0

[PATCH 2/4] mailbox: qcom-apcs-ipc: Add compatible for MSM8953 SoC

From: Sireesh Kodali <hidden>
Date: 2021-08-10 16:44:53

From: Vladimir Lypak <redacted>

MSM8953 has an APCS block similar to MSM8916 but with different clocks
which are spread over 2MB IO region next to it.

Signed-off-by: Vladimir Lypak <redacted>
Signed-off-by: Sireesh Kodali <redacted>
---
 drivers/mailbox/qcom-apcs-ipc-mailbox.c | 1 +
 1 file changed, 1 insertion(+)
diff --git a/drivers/mailbox/qcom-apcs-ipc-mailbox.c b/drivers/mailbox/qcom-apcs-ipc-mailbox.c
index 03bdc96dc457..82822b7a6230 100644
--- a/drivers/mailbox/qcom-apcs-ipc-mailbox.c
+++ b/drivers/mailbox/qcom-apcs-ipc-mailbox.c
@@ -163,6 +163,7 @@ static const struct of_device_id qcom_apcs_ipc_of_match[] = {
 	{ .compatible = "qcom,ipq8074-apcs-apps-global", .data = &ipq8074_apcs_data },
 	{ .compatible = "qcom,msm8916-apcs-kpss-global", .data = &msm8916_apcs_data },
 	{ .compatible = "qcom,msm8939-apcs-kpss-global", .data = &msm8916_apcs_data },
+	{ .compatible = "qcom,msm8953-apcs-kpss-global", .data = &msm8994_apcs_data },
 	{ .compatible = "qcom,msm8994-apcs-kpss-global", .data = &msm8994_apcs_data },
 	{ .compatible = "qcom,msm8996-apcs-hmss-global", .data = &msm8996_apcs_data },
 	{ .compatible = "qcom,msm8998-apcs-hmss-global", .data = &msm8998_apcs_data },
-- 
2.32.0

[PATCH 3/4] dt-bindings: firmware: qcom-scm: Document msm8953 bindings

From: Sireesh Kodali <hidden>
Date: 2021-08-10 16:45:32

From: Vladimir Lypak <redacted>

SCM driver on MSM8953 requires 3 clocks.

Signed-off-by: Vladimir Lypak <redacted>
Signed-off-by: Sireesh Kodali <redacted>
---
 Documentation/devicetree/bindings/firmware/qcom,scm.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/firmware/qcom,scm.txt b/Documentation/devicetree/bindings/firmware/qcom,scm.txt
index a7333ad938d2..284b4b7a3b60 100644
--- a/Documentation/devicetree/bindings/firmware/qcom,scm.txt
+++ b/Documentation/devicetree/bindings/firmware/qcom,scm.txt
@@ -15,6 +15,7 @@ Required properties:
  * "qcom,scm-mdm9607"
  * "qcom,scm-msm8660"
  * "qcom,scm-msm8916"
+ * "qcom,scm-msm8953"
  * "qcom,scm-msm8960"
  * "qcom,scm-msm8974"
  * "qcom,scm-msm8994"
@@ -33,7 +34,7 @@ Required properties:
  * core clock required for "qcom,scm-apq8064", "qcom,scm-msm8660" and
    "qcom,scm-msm8960"
  * core, iface and bus clocks required for "qcom,scm-apq8084",
-   "qcom,scm-msm8916" and "qcom,scm-msm8974"
+   "qcom,scm-msm8916", "qcom,scm-msm8953" and "qcom,scm-msm8974"
 - clock-names: Must contain "core" for the core clock, "iface" for the interface
   clock and "bus" for the bus clock per the requirements of the compatible.
 - qcom,dload-mode: phandle to the TCSR hardware block and offset of the
-- 
2.32.0

[PATCH 4/4] firmware: qcom_scm: Add compatible for MSM8953 SoC

From: Sireesh Kodali <hidden>
Date: 2021-08-10 16:45:35

From: Vladimir Lypak <redacted>

Add compatible for SCM on MSM8953.

Signed-off-by: Vladimir Lypak <redacted>
Signed-off-by: Sireesh Kodali <redacted>
---
 drivers/firmware/qcom_scm.c | 4 ++++
 1 file changed, 4 insertions(+)
diff --git a/drivers/firmware/qcom_scm.c b/drivers/firmware/qcom_scm.c
index ced1964faf42..3e3d310f9aed 100644
--- a/drivers/firmware/qcom_scm.c
+++ b/drivers/firmware/qcom_scm.c
@@ -1290,6 +1290,10 @@ static const struct of_device_id qcom_scm_dt_match[] = {
 							     SCM_HAS_IFACE_CLK |
 							     SCM_HAS_BUS_CLK)
 	},
+	{ .compatible = "qcom,scm-msm8953", .data = (void *)(SCM_HAS_CORE_CLK |
+							     SCM_HAS_IFACE_CLK |
+							     SCM_HAS_BUS_CLK)
+	},
 	{ .compatible = "qcom,scm-msm8974", .data = (void *)(SCM_HAS_CORE_CLK |
 							     SCM_HAS_IFACE_CLK |
 							     SCM_HAS_BUS_CLK)
-- 
2.32.0

[PATCH 1/4] dt-bindings: mailbox: Add compatible for the MSM8953

From: Sireesh Kodali <hidden>
Date: 2021-08-10 16:45:49

From: Vladimir Lypak <redacted>

Add the mailbox compatible for the MSM8953 SoC.

Signed-off-by: Vladimir Lypak <redacted>
Signed-off-by: Sireesh Kodali <redacted>
---
 .../devicetree/bindings/mailbox/qcom,apcs-kpss-global.yaml       | 1 +
 1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.yaml b/Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.yaml
index 8878ec00820e..58e7250a41be 100644
--- a/Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.yaml
+++ b/Documentation/devicetree/bindings/mailbox/qcom,apcs-kpss-global.yaml
@@ -20,6 +20,7 @@ properties:
       - qcom,ipq8074-apcs-apps-global
       - qcom,msm8916-apcs-kpss-global
       - qcom,msm8939-apcs-kpss-global
+      - qcom,msm8953-apcs-kpss-global
       - qcom,msm8994-apcs-kpss-global
       - qcom,msm8996-apcs-hmss-global
       - qcom,msm8998-apcs-hmss-global
-- 
2.32.0

Re: [PATCH 1/4] dt-bindings: mailbox: Add compatible for the MSM8953

From: Rob Herring <robh@kernel.org>
Date: 2021-08-17 20:28:17

On Tue, 10 Aug 2021 16:44:26 +0000, Sireesh Kodali wrote:
From: Vladimir Lypak <redacted>

Add the mailbox compatible for the MSM8953 SoC.

Signed-off-by: Vladimir Lypak <redacted>
Signed-off-by: Sireesh Kodali <redacted>
---
 .../devicetree/bindings/mailbox/qcom,apcs-kpss-global.yaml       | 1 +
 1 file changed, 1 insertion(+)
Acked-by: Rob Herring <robh@kernel.org>

Re: [PATCH 3/4] dt-bindings: firmware: qcom-scm: Document msm8953 bindings

From: Rob Herring <robh@kernel.org>
Date: 2021-08-17 20:28:44

On Tue, 10 Aug 2021 16:44:39 +0000, Sireesh Kodali wrote:
From: Vladimir Lypak <redacted>

SCM driver on MSM8953 requires 3 clocks.

Signed-off-by: Vladimir Lypak <redacted>
Signed-off-by: Sireesh Kodali <redacted>
---
 Documentation/devicetree/bindings/firmware/qcom,scm.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Acked-by: Rob Herring <robh@kernel.org>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help