[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1506073332-92438-10-git-send-email-kevin.wangtao@hisilicon.com>
Date: Fri, 22 Sep 2017 17:42:12 +0800
From: Tao Wang <kevin.wangtao@...ilicon.com>
To: <rui.zhang@...el.com>, <edubezval@...il.com>, <robh+dt@...nel.org>,
<mark.rutland@....com>, <xuwei5@...ilicon.com>,
<catalin.marinas@....com>, <will.deacon@....com>
CC: <leo.yan@...aro.org>, <lonela.Voinescu@....com>,
<Valentin.Schneider@....com>, <vincent.guittot@...aro.org>,
<daniel.lezcano@...aro.org>, <sunzhaosheng@...ilicon.com>,
<gengyanping@...ilicon.com>, <linux-pm@...r.kernel.org>,
<devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
Kevin Wangtao <kevin.wangtao@...aro.org>
Subject: [PATCH 9/9] arm64: dts: register Hi3660's thermal sensor
From: Kevin Wangtao <kevin.wangtao@...aro.org>
add binding for tsensor on H3660, this tsensor is used for
SoC thermal control, it supports alarm interrupt.
Signed-off-by: Kevin Wangtao <kevin.wangtao@...aro.org>
---
arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi
index b7a90d6..ae90991 100644
--- a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi
+++ b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi
@@ -978,5 +978,13 @@
clocks = <&crg_ctrl HI3660_OSC32K>;
clock-names = "apb_pclk";
};
+
+ tsensor: tsensor@...30000 {
+ compatible = "hisilicon,hi3660-tsensor";
+ reg = <0x0 0xfff30000 0x0 0x1000>;
+ interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
+ #thermal-sensor-cells = <1>;
+ };
+
};
};
--
2.8.1
Powered by blists - more mailing lists