From: Emmanuel Vadot <manu@freebsd.org>
To: rui.zhang@intel.com, edubezval@gmail.com, robh+dt@kernel.org,
mark.rutland@arm.com, maxime.ripard@bootlin.com, wens@csie.org,
catalin.marinas@arm.com, will.deacon@arm.com
Cc: linux-pm@vger.kernel.org, devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, Emmanuel Vadot <manu@freebsd.org>
Subject: [PATCH 4/7] arm64: dts: allwinner: a64: Add thermal sensor controller node
Date: Sat, 4 Aug 2018 09:03:52 +0200 [thread overview]
Message-ID: <20180804070355.14857-4-manu@freebsd.org> (raw)
In-Reply-To: <20180804070355.14857-1-manu@freebsd.org>
This add the ths controller for the A64 and the nvmem cell for the
calibration data on the sid node.
Signed-off-by: Emmanuel Vadot <manu@freebsd.org>
---
arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
index 925bf38fb536..ad72a6fcdd7c 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
@@ -273,6 +273,25 @@
sid: eeprom@1c14000 {
compatible = "allwinner,sun50i-a64-sid";
reg = <0x1c14000 0x400>;
+
+ ths_calib: calib@234 {
+ reg = <0x234 0x6>;
+ };
+ };
+
+ ths: thermal_sensor@1c25000 {
+ compatible = "allwinner,sun50i-a64-ths";
+ reg = <0x01c25000 0x100>;
+ interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&ccu CLK_BUS_THS>, <&ccu CLK_THS>;
+ clock-names = "apb", "ths";
+ resets = <&ccu RST_BUS_THS>;
+ reset-names = "apb";
+ #thermal-sensor-cells = <2>;
+ status = "disabled";
+
+ nvmem-cells = <&ths_calib>;
+ nvmem-cell-names = "ths-calib";
};
usb_otg: usb@1c19000 {
--
2.18.0
next prev parent reply other threads:[~2018-08-04 7:04 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-04 7:03 [PATCH 1/7] dt-bindings: Add DT bindings documentation for Allwinner Thermal Sensor Controller Emmanuel Vadot
2018-08-04 7:03 ` [PATCH 2/7] ARM: dts: sun8i: h3: Add thermal sensor controller node Emmanuel Vadot
2018-08-04 7:03 ` [PATCH 3/7] arm64: dts: allwinner: h5: " Emmanuel Vadot
2018-08-04 7:03 ` Emmanuel Vadot [this message]
2018-08-04 7:03 ` [PATCH 5/7] ARM: dts: sun8i: h3: Enable the THS on H3 boards Emmanuel Vadot
2018-08-04 7:03 ` [PATCH 6/7] arm64: dts: allwinner: a64: Enable the THS on A64 boards Emmanuel Vadot
2018-08-04 7:03 ` [PATCH 7/7] arm64: dts: allwinner: H5: Enable the THS on H5 boards Emmanuel Vadot
2018-08-14 19:20 ` [PATCH 1/7] dt-bindings: Add DT bindings documentation for Allwinner Thermal Sensor Controller Rob Herring
2018-08-20 11:17 ` Maxime Ripard
2018-08-20 13:41 ` Rob Herring
2018-08-20 13:57 ` Emmanuel Vadot
2018-08-20 14:07 ` Maxime Ripard
2018-08-20 14:27 ` Emmanuel Vadot
2018-08-24 14:58 ` Maxime Ripard
2018-08-24 19:59 ` Emmanuel Vadot
2018-08-24 23:03 ` Eduardo Valentin
2018-08-25 15:43 ` Emmanuel Vadot
2018-08-29 12:38 ` Maxime Ripard
2018-08-29 13:31 ` Maxime Ripard
2018-08-20 18:47 ` Rob Herring
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=20180804070355.14857-4-manu@freebsd.org \
--to=manu@freebsd.org \
--cc=catalin.marinas@arm.com \
--cc=devicetree@vger.kernel.org \
--cc=edubezval@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=maxime.ripard@bootlin.com \
--cc=robh+dt@kernel.org \
--cc=rui.zhang@intel.com \
--cc=wens@csie.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®