ARM: imx6: fix min/max voltage of anatop 2p5 regulator
authorLucas Stach <l.stach@pengutronix.de>
Thu, 19 Jan 2017 14:21:33 +0000 (15:21 +0100)
committerShawn Guo <shawnguo@kernel.org>
Sun, 29 Jan 2017 01:53:56 +0000 (09:53 +0800)
The regulation bound of this regulator are 2.1V to 2.875V, the
wrong DT values cause the driver to miscalculate the effective
voltage.

This isn't really an issue right now, as nobody actively changes
the regulator voltage, but better fix it now.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6qdl.dtsi

index 53e6e63..9313b9a 100644 (file)
                                        anatop-vol-bit-shift = <8>;
                                        anatop-vol-bit-width = <5>;
                                        anatop-min-bit-val = <0>;
-                                       anatop-min-voltage = <2000000>;
-                                       anatop-max-voltage = <2750000>;
+                                       anatop-min-voltage = <2100000>;
+                                       anatop-max-voltage = <2875000>;
                                };
 
                                reg_arm: regulator-vddcore {