Thread (37 messages) 37 messages, 6 authors, 2017-09-05

[Patch v2 3/3] arm64: dts: register Hi3660's thermal sensor

From: edubezval@gmail.com (Eduardo Valentin)
Date: 2017-07-01 03:06:23
Also in: linux-devicetree, linux-pm, lkml

On Thu, Jun 22, 2017 at 11:42:03AM +0800, Tao Wang wrote:
quoted hunk ↗ jump to hunk
Bind thermal sensor driver for Hi3660.

Signed-off-by: Tao Wang <redacted>
Signed-off-by: Leo Yan <redacted>
---
Changes in v2:
- rebase changes on linux next

 arch/arm64/boot/dts/hisilicon/hi3660.dtsi |    6 ++++++
 1 file changed, 6 insertions(+)
diff --git a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi
index c6a1961..a6a1e01 100644
--- a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi
+++ b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi
@@ -848,5 +848,11 @@
 				     &sdio_cfg_func>;
 			status = "disabled";
 		};
+
+		tsensor: tsensor {
+			compatible = "hisilicon,hi3660-thermal";
+			reg = <0x0 0xfff30000 0x0 0x1000>;
+			#thermal-sensor-cells = <1>;
+		};
Are you planning to also add thermal zone entries?
 	};
 };
-- 
1.7.9.5
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help