OSDN Git Service

arm64: dts: mt8173: add node for thermal calibration
authordawei.chien@mediatek.com <dawei.chien@mediatek.com>
Fri, 13 Jan 2017 05:52:51 +0000 (13:52 +0800)
committerMatthias Brugger <matthias.bgg@gmail.com>
Mon, 23 Jan 2017 09:18:13 +0000 (10:18 +0100)
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>
arch/arm64/boot/dts/mediatek/mt8173.dtsi

index 7fdb856..d80ddb4 100644 (file)
                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 {
                        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 {