Message ID | b27515a1cfe3512253a3fbcda04a3367818520b9.1543245984.git-series.plaes@plaes.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | regulator: axp20x: Stop AXP209 from crashing when enabling LDO3 | expand |
On Mon, Nov 26, 2018 at 05:27:51PM +0200, Priit Laes wrote: > From: Olliver Schinagl <oliver@schinagl.nl> > > The lradc's analog reference voltage is set to 3.0 volt in the > hardware. This is more or less set in copper for at least lradc0. Set the > property in the dts to ensure the lradc is referenced properly. > > Signed-off-by: Olliver Schinagl <oliver@schinagl.nl> > Signed-off-by: Priit Laes <plaes@plaes.org> I'm not sure why that patch is part of this series, but I applied it. Thanks! Maxime
On Tue, Nov 27, 2018 at 5:37 PM Maxime Ripard <maxime.ripard@bootlin.com> wrote: > > On Mon, Nov 26, 2018 at 05:27:51PM +0200, Priit Laes wrote: > > From: Olliver Schinagl <oliver@schinagl.nl> > > > > The lradc's analog reference voltage is set to 3.0 volt in the > > hardware. This is more or less set in copper for at least lradc0. Set the > > property in the dts to ensure the lradc is referenced properly. > > > > Signed-off-by: Olliver Schinagl <oliver@schinagl.nl> > > Signed-off-by: Priit Laes <plaes@plaes.org> > > I'm not sure why that patch is part of this series, but I applied > it. Thanks! Please help fix up the subject. Should read "ARM: dts: sun7i: set proper lradc vref on OLinuXino Lime2" or "ARM: dts: sun7i: olinoxino-lime2: set proper lradc vref" ChenYu
On Tue, Nov 27, 2018 at 05:41:10PM +0800, Chen-Yu Tsai wrote: > On Tue, Nov 27, 2018 at 5:37 PM Maxime Ripard <maxime.ripard@bootlin.com> wrote: > > > > On Mon, Nov 26, 2018 at 05:27:51PM +0200, Priit Laes wrote: > > > From: Olliver Schinagl <oliver@schinagl.nl> > > > > > > The lradc's analog reference voltage is set to 3.0 volt in the > > > hardware. This is more or less set in copper for at least lradc0. Set the > > > property in the dts to ensure the lradc is referenced properly. > > > > > > Signed-off-by: Olliver Schinagl <oliver@schinagl.nl> > > > Signed-off-by: Priit Laes <plaes@plaes.org> > > > > I'm not sure why that patch is part of this series, but I applied > > it. Thanks! > > Please help fix up the subject. Should read > > "ARM: dts: sun7i: set proper lradc vref on OLinuXino Lime2" > > or > > "ARM: dts: sun7i: olinoxino-lime2: set proper lradc vref" Yes, I've noticed it while applying, and this is already fixed :) Thanks for the reminder! Maxime
diff --git a/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts b/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts index 1b9867f..7142471 100644 --- a/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts +++ b/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts @@ -154,6 +154,10 @@ }; }; +&lradc { + vref-supply = <®_vcc3v0>; +}; + &mmc0 { pinctrl-names = "default"; pinctrl-0 = <&mmc0_pins_a>;