MLK-14596: ARM: imx7s.dtsi: Fix reg_1p2 min-bit-val
authorLeonard Crestez <leonard.crestez@nxp.com>
Thu, 6 Apr 2017 10:32:40 +0000 (13:32 +0300)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:21:48 +0000 (15:21 -0500)
According to the manual the bit value for the minimum 1.1V is 0x14, not
0x8. This fixes reading incorrect voltages from the regulator. On new
kernels reading an out-of-range voltage on startup results in probe
errors.

Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
Reviewed-by: Octavian Purdila <octavian.purdila@nxp.com>
arch/arm/boot/dts/imx7s.dtsi

index 0d6368d..6993471 100644 (file)
                                         anatop-reg-offset = <0x220>;
                                         anatop-vol-bit-shift = <8>;
                                         anatop-vol-bit-width = <5>;
-                                        anatop-min-bit-val = <8>;
+                                        anatop-min-bit-val = <0x14>;
                                         anatop-min-voltage = <1100000>;
                                         anatop-max-voltage = <1300000>;
                                         anatop-enable-bit = <31>;