From: Konrad Dybcio <konradybcio@gmail.com>
To: skrzynka@konradybcio.pl
Cc: Konrad Dybcio <konradybcio@gmail.com>,
Andy Gross <agross@kernel.org>,
Bjorn Andersson <bjorn.andersson@linaro.org>,
Rob Herring <robh+dt@kernel.org>,
Amit Kucheria <amit.kucheria@linaro.org>,
Zhang Rui <rui.zhang@intel.com>,
Daniel Lezcano <daniel.lezcano@linaro.org>,
Rajendra Nayak <rnayak@codeaurora.org>,
linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org
Subject: [PATCH 3/8] arm64: dts: qcom: sdm630: Add tsens node
Date: Tue, 23 Jun 2020 20:08:27 +0200 [thread overview]
Message-ID: <20200623180832.254163-4-konradybcio@gmail.com> (raw)
In-Reply-To: <20200623180832.254163-1-konradybcio@gmail.com>
Enable tsens on this SoC using tsens-v2 driver.
Signed-off-by: Konrad Dybcio <konradybcio@gmail.com>
---
.../devicetree/bindings/thermal/qcom-tsens.yaml | 1 +
arch/arm64/boot/dts/qcom/sdm630.dtsi | 11 +++++++++++
2 files changed, 12 insertions(+)
diff --git a/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml b/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml
index d7be931b42d2..d89d5acd6e2a 100644
--- a/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml
+++ b/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml
@@ -39,6 +39,7 @@ properties:
- qcom,msm8996-tsens
- qcom,msm8998-tsens
- qcom,sc7180-tsens
+ - qcom,sdm630-tsens
- qcom,sdm845-tsens
- const: qcom,tsens-v2
diff --git a/arch/arm64/boot/dts/qcom/sdm630.dtsi b/arch/arm64/boot/dts/qcom/sdm630.dtsi
index ea85f28032d2..92bf4ae6a590 100644
--- a/arch/arm64/boot/dts/qcom/sdm630.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm630.dtsi
@@ -566,6 +566,17 @@ anoc2_smmu: iommu@16c0000 {
<GIC_SPI 474 IRQ_TYPE_LEVEL_HIGH>;
};
+ tsens: thermal-sensor@10ae000 {
+ compatible = "qcom,sdm630-tsens", "qcom,tsens-v2";
+ reg = <0x010ae000 0x1000>, /* TM */
+ <0x010ad000 0x1000>; /* SROT */
+ #qcom,sensors = <12>;
+ interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 430 IRQ_TYPE_LEVEL_HIGH>;
+ interrupt-names = "uplow", "critical";
+ #thermal-sensor-cells = <1>;
+ };
+
tcsr_mutex_regs: syscon@1f40000 {
compatible = "syscon";
reg = <0x01f40000 0x20000>;
--
2.27.0
next prev parent reply other threads:[~2020-06-23 18:09 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-23 18:08 [PATCH 0/8] SDM630 and Ninges fixes Konrad Dybcio
2020-06-23 18:08 ` [PATCH 1/8] soc: qcom: rpmpd: Add SDM660 power-domains Konrad Dybcio
2020-06-23 18:08 ` [PATCH 2/8] arm64: dts: qcom: sdm630: Add RPM power domains support Konrad Dybcio
2020-06-23 18:08 ` Konrad Dybcio [this message]
2020-06-24 11:44 ` [PATCH 3/8] arm64: dts: qcom: sdm630: Add tsens node Amit Kucheria
2020-06-24 15:01 ` Konrad Dybcio
2020-06-25 5:47 ` Amit Kucheria
2020-06-23 18:08 ` [PATCH 4/8] arm64: dts: qcom: sdm630: nile: Enable BLSP1_UART2 Konrad Dybcio
2020-06-23 18:08 ` [PATCH 5/8] arm64: dts: qcom: sdm630: Fix the pinctrl node Konrad Dybcio
2020-06-23 18:08 ` [PATCH 6/8] arm64: dts: qcom: sdm630: nile: Reserve disabled GPIOs Konrad Dybcio
2020-06-23 18:08 ` [PATCH 7/8] arm64: dts: qcom: sdm630: nile: Remove Volume Down gpio-key Konrad Dybcio
2020-06-23 18:08 ` [PATCH 8/8] arm64: dts: qcom: sdm630: ganges: Change addresses to phandles Konrad Dybcio
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=20200623180832.254163-4-konradybcio@gmail.com \
--to=konradybcio@gmail.com \
--cc=agross@kernel.org \
--cc=amit.kucheria@linaro.org \
--cc=bjorn.andersson@linaro.org \
--cc=daniel.lezcano@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=rnayak@codeaurora.org \
--cc=robh+dt@kernel.org \
--cc=rui.zhang@intel.com \
--cc=skrzynka@konradybcio.pl \
/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).