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


Groups > linux.kernel > #1558041 > unrolled thread

arm64: dts: mt8173: add node for thermal calibration

Started byDawei Chien <dawei.chien@mediatek.com>
First post2017-01-13 07:00 +0100
Last post2017-01-13 10:00 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  arm64: dts: mt8173: add node for thermal calibration Dawei Chien <dawei.chien@mediatek.com> - 2017-01-13 07:00 +0100
    Re: arm64: dts: mt8173: add node for thermal calibration Daniel Kurtz <djkurtz@chromium.org> - 2017-01-13 10:00 +0100

#1558041 — arm64: dts: mt8173: add node for thermal calibration

FromDawei Chien <dawei.chien@mediatek.com>
Date2017-01-13 07:00 +0100
Subjectarm64: dts: mt8173: add node for thermal calibration
Message-ID<sZ345-5t0-7@gated-at.bofh.it>
From: "dawei.chien@mediatek.com" <dawei.chien@mediatek.com>

Add this for supporting thermal calibration by e-fuse data.

Signed-off-by: Dawei Chien <dawei.chien@mediatek.com>
---
 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

[toc] | [next] | [standalone]


#1558128

FromDaniel Kurtz <djkurtz@chromium.org>
Date2017-01-13 10:00 +0100
Message-ID<sZ5Si-79g-23@gated-at.bofh.it>
In reply to#1558041
On Fri, Jan 13, 2017 at 1:52 PM, Dawei Chien <dawei.chien@mediatek.com> wrote:
>
> From: "dawei.chien@mediatek.com" <dawei.chien@mediatek.com>
>
> Add this for supporting thermal calibration by e-fuse data.
>
> Signed-off-by: Dawei Chien <dawei.chien@mediatek.com>

Reviewed-by: Daniel Kurtz <djkurtz@chromium.org>

> ---
>  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
>

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web