Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1366174

[PATCH v3 3/4] arm64: dts: register Hi6220's thermal sensor

From Leo Yan <leo.yan@linaro.org>
Newsgroups linux.kernel
Subject [PATCH v3 3/4] arm64: dts: register Hi6220's thermal sensor
Date 2016-03-29 13:30 +0200
Message-ID <ri00r-5tz-29@gated-at.bofh.it> (permalink)
References <ri00q-5tz-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Bind thermal sensor driver for Hi6220.

Signed-off-by: Leo Yan <leo.yan@linaro.org>
---
 arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi
index f588be9..50ba1b0 100644
--- a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi
+++ b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi
@@ -313,5 +313,14 @@
 			interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
 			#mbox-cells = <3>;
 		};
+
+		tsensor: tsensor@0,f7030700 {
+			compatible = "hisilicon,tsensor";
+			reg = <0x0 0xf7030700 0x0 0x1000>;
+			interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&sys_ctrl 22>;
+			clock-names = "thermal_clk";
+			#thermal-sensor-cells = <1>;
+		};
 	};
 };
-- 
1.9.1

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v3 0/4] thermal: hisilicon: enable power allocator for Hi6220 Leo Yan <leo.yan@linaro.org> - 2016-03-29 13:30 +0200
  [PATCH v3 4/4] arm64: dts: register Hi6220's thermal zone for power allocator Leo Yan <leo.yan@linaro.org> - 2016-03-29 13:30 +0200
  [PATCH v3 3/4] arm64: dts: register Hi6220's thermal sensor Leo Yan <leo.yan@linaro.org> - 2016-03-29 13:30 +0200
  [PATCH v3 2/4] thermal: hisilicon: fix IRQ imbalance enabling Leo Yan <leo.yan@linaro.org> - 2016-03-29 13:30 +0200
  Re: [PATCH v3 0/4] thermal: hisilicon: enable power allocator for  Hi6220 Eduardo Valentin <edubezval@gmail.com> - 2016-03-29 17:50 +0200
    Re: [PATCH v3 0/4] thermal: hisilicon: enable power allocator for  Hi6220 Leo Yan <leo.yan@linaro.org> - 2016-03-30 05:00 +0200
      Re: [PATCH v3 0/4] thermal: hisilicon: enable power allocator for  Hi6220 Wei Xu <xuwei5@hisilicon.com> - 2016-03-30 17:20 +0200

csiph-web