On Mon, Jan 13, 2020 at 11:53 AM Samuel Holland <sam...@sholland.org> wrote: > > AXP803/AXP813 have a flag that enables/disables the USB power supply > input. Allow control of this flag via the ONLINE property on those > variants. > > It may be necessary to offline the USB power supply input when using > the USB port in OTG mode, or to allow userspace to disable charging. > > When the USB VBUS input is disabled via the PATH_SEL bit, the VBUS_USED > bit in PWR_INPUT_STATUS is cleared, so there is no change needed when > getting the property. > > Signed-off-by: Samuel Holland <sam...@sholland.org>
Reviewed-by: Chen-Yu Tsai <w...@csie.org> -- 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. To view this discussion on the web, visit https://groups.google.com/d/msgid/linux-sunxi/CAGb2v65v40RDWz3V4Fu%3DMfU4K%2BMUXxmj5_LB7wFt2Qtxw9RMzQ%40mail.gmail.com.