From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Wangtao (Kevin, Kirin)" Subject: Re: [PATCH 9/9] arm64: dts: register Hi3660's thermal sensor Date: Mon, 9 Oct 2017 10:38:18 +0800 Message-ID: <87bf0cfb-d465-03a3-004c-6c7957e33006@hisilicon.com> References: <1506073332-92438-1-git-send-email-kevin.wangtao@hisilicon.com> <1506073332-92438-10-git-send-email-kevin.wangtao@hisilicon.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-pm-owner@vger.kernel.org To: Daniel Lezcano , rui.zhang@intel.com, edubezval@gmail.com, robh+dt@kernel.org, mark.rutland@arm.com, xuwei5@hisilicon.com, catalin.marinas@arm.com, will.deacon@arm.com Cc: leo.yan@linaro.org, lonela.Voinescu@arm.com, Valentin.Schneider@arm.com, vincent.guittot@linaro.org, sunzhaosheng@hisilicon.com, gengyanping@hisilicon.com, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Kevin Wangtao List-Id: devicetree@vger.kernel.org on 2017/10/3 3:06, Daniel Lezcano wrote: > On 22/09/2017 11:42, Tao Wang wrote: >> From: Kevin Wangtao >> >> add binding for tsensor on H3660, this tsensor is used for >> SoC thermal control, it supports alarm interrupt. >> >> Signed-off-by: Kevin Wangtao > > I'm not able to apply this patch. Does it rely on another patch? No, This patch is based on linux-next > >> --- >> 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@fff30000 { >> + compatible = "hisilicon,hi3660-tsensor"; >> + reg = <0x0 0xfff30000 0x0 0x1000>; >> + interrupts = ; >> + #thermal-sensor-cells = <1>; >> + }; >> + >> }; >> }; >> > >