From: Sricharan R <sricharan@codeaurora.org>
To: robh+dt@kernel.org, robh@kernel.org, mark.rutland@arm.com,
linux@armlinux.org.uk, andy.gross@linaro.org,
david.brown@linaro.org, catalin.marinas@arm.com,
will.deacon@arm.com, sboyd@codeaurora.org,
bjorn.andersson@linaro.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org,
absahu@codeaurora.org
Cc: sricharan@codeaurora.org
Subject: [PATCH v2 01/13] firmware: qcom: scm: Add ipq4019 soc compatible
Date: Fri, 16 Mar 2018 15:08:09 +0530 [thread overview]
Message-ID: <1521193101-4586-2-git-send-email-sricharan@codeaurora.org> (raw)
In-Reply-To: <1521193101-4586-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
WARNING: multiple messages have this Message-ID (diff)
From: sricharan@codeaurora.org (Sricharan R)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 01/13] firmware: qcom: scm: Add ipq4019 soc compatible
Date: Fri, 16 Mar 2018 15:08:09 +0530 [thread overview]
Message-ID: <1521193101-4586-2-git-send-email-sricharan@codeaurora.org> (raw)
In-Reply-To: <1521193101-4586-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-16 9:38 UTC|newest]
Thread overview: 67+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-16 9:38 [PATCH v2 00/13] ARM: dts: ipq: updates to enable a few peripherals Sricharan R
2018-03-16 9:38 ` Sricharan R
2018-03-16 9:38 ` Sricharan R [this message]
2018-03-16 9:38 ` [PATCH v2 01/13] firmware: qcom: scm: Add ipq4019 soc compatible Sricharan R
2018-03-16 9:38 ` [PATCH v2 02/13] ARM: dts: ipq4019: Add a few peripheral nodes Sricharan R
2018-03-16 9:38 ` Sricharan R
2018-03-16 10:17 ` Abhishek Sahu
2018-03-16 10:17 ` Abhishek Sahu
2018-03-16 11:29 ` Abhishek Sahu
2018-03-16 11:29 ` Abhishek Sahu
2018-03-16 12:17 ` Marc Zyngier
2018-03-16 12:17 ` Marc Zyngier
2018-03-16 12:40 ` Sricharan R
2018-03-16 12:40 ` Sricharan R
2018-03-16 9:38 ` [PATCH v2 03/13] ARM: dts: ipq4019: Change the max opp frequency Sricharan R
2018-03-16 9:38 ` Sricharan R
2018-03-16 10:19 ` Abhishek Sahu
2018-03-16 10:19 ` Abhishek Sahu
2018-03-16 10:19 ` Abhishek Sahu
2018-03-16 9:38 ` [PATCH v2 04/13] ARM: dts: ipq4019: Update ipq4019-dk01.1 board data Sricharan R
2018-03-16 9:38 ` Sricharan R
2018-03-16 10:20 ` Abhishek Sahu
2018-03-16 10:20 ` Abhishek Sahu
2018-03-16 9:38 ` [PATCH v2 05/13] ARM: dts: ipq4019: Add ipq4019-ap.dk04.dtsi Sricharan R
2018-03-16 9:38 ` Sricharan R
2018-03-16 10:21 ` Abhishek Sahu
2018-03-16 10:21 ` Abhishek Sahu
2018-03-16 9:38 ` [PATCH v2 06/13] ARM: dts: ipq4019: Add ipq4019-ap.dk04.1-c1 board file Sricharan R
2018-03-16 9:38 ` Sricharan R
2018-03-16 10:21 ` Abhishek Sahu
2018-03-16 10:21 ` Abhishek Sahu
2018-03-16 9:38 ` [PATCH v2 07/13] ARM: dts: ipq4019: Add qcom-ipq4019-ap.dk04.1-c3 " Sricharan R
2018-03-16 9:38 ` Sricharan R
2018-03-16 10:22 ` Abhishek Sahu
2018-03-16 10:22 ` Abhishek Sahu
2018-03-16 9:38 ` [PATCH v2 08/13] ARM: dts: ipq4019: Add ipq4019-ap.dk07.1 common data Sricharan R
2018-03-16 9:38 ` Sricharan R
2018-03-16 10:22 ` Abhishek Sahu
2018-03-16 10:22 ` Abhishek Sahu
2018-03-16 9:38 ` [PATCH v2 09/13] ARM: dts: ipq4019: Add qcom-ipq4019-ap.dk07.1-c1 board file Sricharan R
2018-03-16 9:38 ` Sricharan R
2018-03-16 10:25 ` Abhishek Sahu
2018-03-16 10:25 ` Abhishek Sahu
2018-03-16 12:45 ` Sricharan R
2018-03-16 12:45 ` Sricharan R
2018-03-16 9:38 ` [PATCH v2 10/13] ARM: dts: ipq4019: Add qcom-ipq4019-ap.dk07.1-c2 " Sricharan R
2018-03-16 9:38 ` Sricharan R
2018-03-16 10:27 ` Abhishek Sahu
2018-03-16 10:27 ` Abhishek Sahu
2018-03-16 9:38 ` [PATCH v2 11/13] ARM: dts: ipq8074: Add peripheral nodes Sricharan R
2018-03-16 9:38 ` Sricharan R
2018-03-16 10:47 ` Abhishek Sahu
2018-03-16 10:47 ` Abhishek Sahu
2018-03-16 12:43 ` Sricharan R
2018-03-16 12:43 ` Sricharan R
2018-03-16 9:38 ` [PATCH v2 12/13] ARM: dts: ipq8074: Add pcie nodes Sricharan R
2018-03-16 9:38 ` Sricharan R
2018-03-16 11:20 ` Abhishek Sahu
2018-03-16 11:20 ` Abhishek Sahu
2018-03-16 12:42 ` Sricharan R
2018-03-16 12:42 ` Sricharan R
2018-03-16 9:38 ` [PATCH v2 13/13] ARM: dts: ipq8074: Enable few peripherals for hk01 board Sricharan R
2018-03-16 9:38 ` Sricharan R
2018-03-16 10:57 ` Abhishek Sahu
2018-03-16 10:57 ` Abhishek Sahu
2018-03-16 12:43 ` Sricharan R
2018-03-16 12:43 ` Sricharan R
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=1521193101-4586-2-git-send-email-sricharan@codeaurora.org \
--to=sricharan@codeaurora.org \
--cc=absahu@codeaurora.org \
--cc=andy.gross@linaro.org \
--cc=bjorn.andersson@linaro.org \
--cc=catalin.marinas@arm.com \
--cc=david.brown@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-soc@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=mark.rutland@arm.com \
--cc=robh+dt@kernel.org \
--cc=robh@kernel.org \
--cc=sboyd@codeaurora.org \
--cc=will.deacon@arm.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.