From: sricharan@codeaurora.org (Sricharan R)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v3 01/13] firmware: qcom: scm: Add ipq4019 soc compatible
Date: Tue, 20 Mar 2018 09:28:44 +0530 [thread overview]
Message-ID: <1521518336-5467-2-git-send-email-sricharan@codeaurora.org> (raw)
In-Reply-To: <1521518336-5467-1-git-send-email-sricharan@codeaurora.org>
Add the compatible for ipq4019.
This does not need clocks to do scm calls.
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Sricharan R <sricharan@codeaurora.org>
---
Documentation/devicetree/bindings/firmware/qcom,scm.txt | 3 ++-
drivers/firmware/qcom_scm.c | 3 +++
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/firmware/qcom,scm.txt b/Documentation/devicetree/bindings/firmware/qcom,scm.txt
index 7b40054..fcf6979 100644
--- a/Documentation/devicetree/bindings/firmware/qcom,scm.txt
+++ b/Documentation/devicetree/bindings/firmware/qcom,scm.txt
@@ -11,9 +11,10 @@ Required properties:
* "qcom,scm-msm8660" for MSM8660 platforms
* "qcom,scm-msm8690" for MSM8690 platforms
* "qcom,scm-msm8996" for MSM8996 platforms
+ * "qcom,scm-ipq4019" for IPQ4019 platforms
* "qcom,scm" for later processors (MSM8916, APQ8084, MSM8974, etc)
- clocks: One to three clocks may be required based on compatible.
- * No clock required for "qcom,scm-msm8996"
+ * No clock required for "qcom,scm-msm8996", "qcom,scm-ipq4019"
* Only core clock required for "qcom,scm-apq8064", "qcom,scm-msm8660", and "qcom,scm-msm8960"
* Core, iface, and bus clocks required for "qcom,scm"
- clock-names: Must contain "core" for the core clock, "iface" for the interface
diff --git a/drivers/firmware/qcom_scm.c b/drivers/firmware/qcom_scm.c
index 5a7d6930..e778af7 100644
--- a/drivers/firmware/qcom_scm.c
+++ b/drivers/firmware/qcom_scm.c
@@ -603,6 +603,9 @@ static void qcom_scm_shutdown(struct platform_device *pdev)
{ .compatible = "qcom,scm-msm8996",
.data = NULL, /* no clocks */
},
+ { .compatible = "qcom,scm-ipq4019",
+ .data = NULL, /* no clocks */
+ },
{ .compatible = "qcom,scm",
.data = (void *)(SCM_HAS_CORE_CLK
| SCM_HAS_IFACE_CLK
--
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation
next prev parent reply other threads:[~2018-03-20 3:58 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-20 3:58 [PATCH v3 00/13] ARM: dts: ipq: updates to enable a few peripherals Sricharan R
2018-03-20 3:58 ` Sricharan R [this message]
2018-03-20 3:58 ` [PATCH v3 02/13] ARM: dts: ipq4019: Add a few peripheral nodes Sricharan R
2018-03-20 3:58 ` [PATCH v3 03/13] ARM: dts: ipq4019: Change the max opp frequency Sricharan R
2018-03-20 3:58 ` [PATCH v3 04/13] ARM: dts: ipq4019: Update ipq4019-dk01.1 board data Sricharan R
2018-03-20 7:33 ` Stephen Boyd
2018-03-20 11:45 ` sricharan at codeaurora.org
2018-03-20 14:31 ` Richard Cochran
2018-03-21 9:10 ` sricharan at codeaurora.org
2018-03-21 15:07 ` Richard Cochran
2018-03-22 13:05 ` sricharan at codeaurora.org
2018-03-22 21:32 ` Richard Cochran
2018-03-23 10:25 ` sricharan at codeaurora.org
2018-03-29 14:37 ` Andy Gross
2018-03-29 16:32 ` Richard Cochran
2018-03-29 16:37 ` Richard Cochran
2018-04-02 9:58 ` sricharan at codeaurora.org
2018-04-06 4:55 ` Richard Cochran
2018-04-06 13:05 ` sricharan at codeaurora.org
2018-04-06 15:13 ` Richard Cochran
2018-04-06 16:08 ` sricharan at codeaurora.org
2018-03-20 3:58 ` [PATCH v3 05/13] ARM: dts: ipq4019: Add ipq4019-ap.dk04.dtsi Sricharan R
2018-03-20 14:32 ` Richard Cochran
2018-03-20 3:58 ` [PATCH v3 06/13] ARM: dts: ipq4019: Add ipq4019-ap.dk04.1-c1 board file Sricharan R
2018-03-20 7:34 ` Stephen Boyd
2018-03-20 12:10 ` sricharan at codeaurora.org
2018-03-20 3:58 ` [PATCH v3 07/13] ARM: dts: ipq4019: Add qcom-ipq4019-ap.dk04.1-c3 " Sricharan R
2018-03-20 3:58 ` [PATCH v3 08/13] ARM: dts: ipq4019: Add ipq4019-ap.dk07.1 common data Sricharan R
2018-03-20 3:58 ` [PATCH v3 09/13] ARM: dts: ipq4019: Add qcom-ipq4019-ap.dk07.1-c1 board file Sricharan R
2018-03-20 3:58 ` [PATCH v3 10/13] ARM: dts: ipq4019: Add qcom-ipq4019-ap.dk07.1-c2 " Sricharan R
2018-03-20 3:58 ` [PATCH v3 11/13] ARM: dts: ipq8074: Add peripheral nodes Sricharan R
2018-03-20 3:58 ` [PATCH v3 12/13] ARM: dts: ipq8074: Add pcie nodes Sricharan R
2018-03-20 3:58 ` [PATCH v3 13/13] ARM: dts: ipq8074: Enable few peripherals for hk01 board Sricharan R
2018-03-20 7:35 ` Stephen Boyd
2018-03-20 12:10 ` sricharan at codeaurora.org
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1521518336-5467-2-git-send-email-sricharan@codeaurora.org \
--to=sricharan@codeaurora.org \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).