* [PATCH 1/4] dt-bindings: mailbox: Add compatible for the MSM8953
2021-08-10 16:44 [PATCH 0/4] Add SCM and mailbox support on MSM8953 Sireesh Kodali
@ 2021-08-10 16:44 ` Sireesh Kodali
2021-08-17 20:28 ` Rob Herring
2021-08-10 16:44 ` [PATCH 2/4] mailbox: qcom-apcs-ipc: Add compatible for MSM8953 SoC Sireesh Kodali
` (2 subsequent siblings)
3 siblings, 1 reply; 7+ messages in thread
From: Sireesh Kodali @ 2021-08-10 16:44 UTC (permalink / raw)
To: bjorn.andersson, agross, jassisinghbrar
Cc: robh+dt, devicetree, linux-arm-msm, linux-kernel, phone-devel,
~postmarketos/upstreaming, sivaprak, Vladimir Lypak,
Sireesh Kodali
From: Vladimir Lypak <junak.pub@gmail.com>
Add the mailbox compatible for the MSM8953 SoC.
Signed-off-by: Vladimir Lypak <junak.pub@gmail.com>
Signed-off-by: Sireesh Kodali <sireeshkodali@protonmail.com>
---
.../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
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH 1/4] dt-bindings: mailbox: Add compatible for the MSM8953
2021-08-10 16:44 ` [PATCH 1/4] dt-bindings: mailbox: Add compatible for the MSM8953 Sireesh Kodali
@ 2021-08-17 20:28 ` Rob Herring
0 siblings, 0 replies; 7+ messages in thread
From: Rob Herring @ 2021-08-17 20:28 UTC (permalink / raw)
To: Sireesh Kodali
Cc: bjorn.andersson, Vladimir Lypak, linux-kernel, sivaprak, agross,
devicetree, ~postmarketos/upstreaming, jassisinghbrar,
phone-devel, linux-arm-msm, robh+dt
On Tue, 10 Aug 2021 16:44:26 +0000, Sireesh Kodali wrote:
> From: Vladimir Lypak <junak.pub@gmail.com>
>
> Add the mailbox compatible for the MSM8953 SoC.
>
> Signed-off-by: Vladimir Lypak <junak.pub@gmail.com>
> Signed-off-by: Sireesh Kodali <sireeshkodali@protonmail.com>
> ---
> .../devicetree/bindings/mailbox/qcom,apcs-kpss-global.yaml | 1 +
> 1 file changed, 1 insertion(+)
>
Acked-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 2/4] mailbox: qcom-apcs-ipc: Add compatible for MSM8953 SoC
2021-08-10 16:44 [PATCH 0/4] Add SCM and mailbox support on MSM8953 Sireesh Kodali
2021-08-10 16:44 ` [PATCH 1/4] dt-bindings: mailbox: Add compatible for the MSM8953 Sireesh Kodali
@ 2021-08-10 16:44 ` Sireesh Kodali
2021-08-10 16:44 ` [PATCH 3/4] dt-bindings: firmware: qcom-scm: Document msm8953 bindings Sireesh Kodali
2021-08-10 16:44 ` [PATCH 4/4] firmware: qcom_scm: Add compatible for MSM8953 SoC Sireesh Kodali
3 siblings, 0 replies; 7+ messages in thread
From: Sireesh Kodali @ 2021-08-10 16:44 UTC (permalink / raw)
To: bjorn.andersson, agross, jassisinghbrar
Cc: robh+dt, devicetree, linux-arm-msm, linux-kernel, phone-devel,
~postmarketos/upstreaming, sivaprak, Vladimir Lypak,
Sireesh Kodali
From: Vladimir Lypak <junak.pub@gmail.com>
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 <junak.pub@gmail.com>
Signed-off-by: Sireesh Kodali <sireeshkodali@protonmail.com>
---
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
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 3/4] dt-bindings: firmware: qcom-scm: Document msm8953 bindings
2021-08-10 16:44 [PATCH 0/4] Add SCM and mailbox support on MSM8953 Sireesh Kodali
2021-08-10 16:44 ` [PATCH 1/4] dt-bindings: mailbox: Add compatible for the MSM8953 Sireesh Kodali
2021-08-10 16:44 ` [PATCH 2/4] mailbox: qcom-apcs-ipc: Add compatible for MSM8953 SoC Sireesh Kodali
@ 2021-08-10 16:44 ` Sireesh Kodali
2021-08-17 20:28 ` Rob Herring
2021-08-10 16:44 ` [PATCH 4/4] firmware: qcom_scm: Add compatible for MSM8953 SoC Sireesh Kodali
3 siblings, 1 reply; 7+ messages in thread
From: Sireesh Kodali @ 2021-08-10 16:44 UTC (permalink / raw)
To: bjorn.andersson, agross, jassisinghbrar
Cc: robh+dt, devicetree, linux-arm-msm, linux-kernel, phone-devel,
~postmarketos/upstreaming, sivaprak, Vladimir Lypak,
Sireesh Kodali
From: Vladimir Lypak <junak.pub@gmail.com>
SCM driver on MSM8953 requires 3 clocks.
Signed-off-by: Vladimir Lypak <junak.pub@gmail.com>
Signed-off-by: Sireesh Kodali <sireeshkodali@protonmail.com>
---
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
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH 3/4] dt-bindings: firmware: qcom-scm: Document msm8953 bindings
2021-08-10 16:44 ` [PATCH 3/4] dt-bindings: firmware: qcom-scm: Document msm8953 bindings Sireesh Kodali
@ 2021-08-17 20:28 ` Rob Herring
0 siblings, 0 replies; 7+ messages in thread
From: Rob Herring @ 2021-08-17 20:28 UTC (permalink / raw)
To: Sireesh Kodali
Cc: phone-devel, ~postmarketos/upstreaming, robh+dt, bjorn.andersson,
agross, linux-arm-msm, jassisinghbrar, sivaprak, Vladimir Lypak,
linux-kernel, devicetree
On Tue, 10 Aug 2021 16:44:39 +0000, Sireesh Kodali wrote:
> From: Vladimir Lypak <junak.pub@gmail.com>
>
> SCM driver on MSM8953 requires 3 clocks.
>
> Signed-off-by: Vladimir Lypak <junak.pub@gmail.com>
> Signed-off-by: Sireesh Kodali <sireeshkodali@protonmail.com>
> ---
> Documentation/devicetree/bindings/firmware/qcom,scm.txt | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
Acked-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 4/4] firmware: qcom_scm: Add compatible for MSM8953 SoC
2021-08-10 16:44 [PATCH 0/4] Add SCM and mailbox support on MSM8953 Sireesh Kodali
` (2 preceding siblings ...)
2021-08-10 16:44 ` [PATCH 3/4] dt-bindings: firmware: qcom-scm: Document msm8953 bindings Sireesh Kodali
@ 2021-08-10 16:44 ` Sireesh Kodali
3 siblings, 0 replies; 7+ messages in thread
From: Sireesh Kodali @ 2021-08-10 16:44 UTC (permalink / raw)
To: bjorn.andersson, agross, jassisinghbrar
Cc: robh+dt, devicetree, linux-arm-msm, linux-kernel, phone-devel,
~postmarketos/upstreaming, sivaprak, Vladimir Lypak,
Sireesh Kodali
From: Vladimir Lypak <junak.pub@gmail.com>
Add compatible for SCM on MSM8953.
Signed-off-by: Vladimir Lypak <junak.pub@gmail.com>
Signed-off-by: Sireesh Kodali <sireeshkodali@protonmail.com>
---
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
^ permalink raw reply related [flat|nested] 7+ messages in thread