On Sun, May 01, 2016 at 08:46:28AM +0200, Michael Haas wrote: > Hi Maxime, > > > On 04/02/2016 12:36 PM, Maxime Ripard wrote: > > Hi, > > > > On Fri, Mar 25, 2016 at 08:04:06PM +0100, Michael Haas wrote: > >> The A20-OLinuXino-LIME2 uses the AXP209 PMIC. This patch adds the > >> corresponding usb-power-supply node to the DTS. > >> If CONFIG_AXP20X_POWER is set, this patch enables the > >> /sys/class/power_supply/ > >> diirectory. > >> > >> Signed-off-by: Michael Haas <h...@computerlinguist.org> > > > > Is there *any* reason to not use the AXP209 dtsi where it's already > > defined? > > > > do you have any preference for this being in the AXP209 dtsi? I've been > thinking about it and it makes sense to enable the power supply nodes > for all devices using the AXP209. They will just report themselves as > offline if the PMIC indicates nothing is connected.
Yes, I'd prefer that a lot :) It avoids enabling it on all the boards. Thanks, Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: PGP signature