From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthias Brugger Subject: Re: arm64: dts: mt8173: add node for thermal calibration Date: Mon, 23 Jan 2017 10:20:02 +0100 Message-ID: References: <1484286771-35913-1-git-send-email-dawei.chien@mediatek.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-kernel-owner@vger.kernel.org To: Daniel Kurtz , Dawei Chien Cc: Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , "open list:OPEN FIRMWARE AND..." , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , linux-pm@vger.kernel.org, "moderated list:ARM/Mediatek SoC support" , srv_heupstream , Sascha Hauer , Punit Agrawal List-Id: linux-mediatek@lists.infradead.org On 01/13/2017 09:51 AM, Daniel Kurtz wrote: > On Fri, Jan 13, 2017 at 1:52 PM, Dawei Chien wrote: >> >> From: "dawei.chien@mediatek.com" >> >> Add this for supporting thermal calibration by e-fuse data. >> >> Signed-off-by: Dawei Chien > > Reviewed-by: Daniel Kurtz > applied, thanks >> --- >> arch/arm64/boot/dts/mediatek/mt8173.dtsi | 7 +++++++ >> 1 file changed, 7 insertions(+) >> >> diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi >> index 12e7027..adfac1e 100644 >> --- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi >> +++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi >> @@ -401,6 +401,11 @@ >> efuse: efuse@10206000 { >> compatible = "mediatek,mt8173-efuse"; >> reg = <0 0x10206000 0 0x1000>; >> + #address-cells = <1>; >> + #size-cells = <1>; >> + thermal_calibration: calib@528 { >> + reg = <0x528 0xc>; >> + }; >> }; >> >> apmixedsys: clock-controller@10209000 { >> @@ -574,6 +579,8 @@ >> resets = <&pericfg MT8173_PERI_THERM_SW_RST>; >> mediatek,auxadc = <&auxadc>; >> mediatek,apmixedsys = <&apmixedsys>; >> + nvmem-cells = <&thermal_calibration>; >> + nvmem-cell-names = "calibration-data"; >> }; >> >> nor_flash: spi@1100d000 { >> -- >> 1.9.1 >>