[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1519859380-15878-1-git-send-email-Anson.Huang@nxp.com>
Date: Thu, 1 Mar 2018 07:09:39 +0800
From: Anson Huang <Anson.Huang@....com>
To: <leonard.crestez@....com>, <rui.zhang@...el.com>,
<edubezval@...il.com>, <robh+dt@...nel.org>,
<mark.rutland@....com>, <shawnguo@...nel.org>,
<kernel@...gutronix.de>, <fabio.estevam@....com>,
<linux@...linux.org.uk>
CC: <Linux-imx@....com>, <linux-pm@...r.kernel.org>,
<devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>
Subject: [PATCH V5 1/2] ARM: dts: imx7s: add temperature monitor support
Add i.MX7 temperature monitor support.
Signed-off-by: Anson Huang <Anson.Huang@....com>
Acked-by: Dong Aisheng <aisheng.dong@....com>
Acked-by: Shawn Guo <shawnguo@...nel.org>
---
No changes since V4.
arch/arm/boot/dts/imx7s.dtsi | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/arch/arm/boot/dts/imx7s.dtsi b/arch/arm/boot/dts/imx7s.dtsi
index 9aa2bb9..6a5c1bf 100644
--- a/arch/arm/boot/dts/imx7s.dtsi
+++ b/arch/arm/boot/dts/imx7s.dtsi
@@ -511,9 +511,29 @@
};
ocotp: ocotp-ctrl@...50000 {
+ #address-cells = <1>;
+ #size-cells = <1>;
compatible = "fsl,imx7d-ocotp", "syscon";
reg = <0x30350000 0x10000>;
clocks = <&clks IMX7D_OCOTP_CLK>;
+
+ tempmon_calib: calib@3c {
+ reg = <0x3c 0x4>;
+ };
+
+ tempmon_temp_grade: temp-grade@10 {
+ reg = <0x10 0x4>;
+ };
+ };
+
+ tempmon: tempmon {
+ compatible = "fsl,imx7d-tempmon";
+ interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;
+ fsl,tempmon =<&anatop>;
+ nvmem-cells = <&tempmon_calib>,
+ <&tempmon_temp_grade>;
+ nvmem-cell-names = "calib", "temp_grade";
+ clocks = <&clks IMX7D_PLL_SYS_MAIN_CLK>;
};
anatop: anatop@...60000 {
--
2.7.4
Powered by blists - more mailing lists