summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordawei.chien@mediatek.com <dawei.chien@mediatek.com>2017-01-13 06:52:51 +0100
committerMatthias Brugger <matthias.bgg@gmail.com>2017-01-23 10:18:13 +0100
commit6de18454e06f4eb9c0c7008d3999cd1d0b289d42 (patch)
tree66c8302232d21b739cfd5d1f0d18ac7937180af3
parentarm64: dts: mt8173: Fix cpu_thermal cooling-maps contributions (diff)
downloadlinux-6de18454e06f4eb9c0c7008d3999cd1d0b289d42.tar.xz
linux-6de18454e06f4eb9c0c7008d3999cd1d0b289d42.zip
arm64: dts: mt8173: add node for thermal calibration
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> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
-rw-r--r--arch/arm64/boot/dts/mediatek/mt8173.dtsi7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi
index 7fdb856ddfeb..d80ddb4a4a05 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 {