ipq806x: fix wrong definition for tsense calib
authorAnsuel Smith <ansuelsmth@gmail.com>
Wed, 25 Dec 2019 14:06:14 +0000 (15:06 +0100)
committerPetr Štetiar <ynezz@true.cz>
Thu, 26 Dec 2019 07:31:42 +0000 (08:31 +0100)
We have only 11 sensors on ipq806x. Fix the reg property
to load the right amount of data instead of the entire
space.

Tested-by: Stefan Lippers-Hollmann <s.l-h@gmx.de> [nbg6817/ipq8065]
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8064.dtsi

index 6074a507b8baa09e7798964ba88036fc73e17030..e6066024f6eb0cc0e26a4de06ae2c73c22988f2f 100644 (file)
                        #size-cells = <1>;
                        status = "okay";
                        tsens_calib: calib@400 {
-                               reg = <0x400 0x10>;
+                               reg = <0x400 0xb>;
                        };
                        tsens_backup: backup@410 {
-                               reg = <0x410 0x10>;
+                               reg = <0x410 0xb>;
                        };
                        speedbin_efuse: speedbin@0c0 {
                                reg = <0x0c0 0x4>;