On Sat, Oct 26, 2013 at 02:01:22AM +0300, Philippe De Swert wrote: ... > I think I did not make myself very clear. Well there are actually no > different chargers here. It is one USB charger input, however its > properties are different depending on the actual connected "charger > device/type". It is the same charging controller however when a usb > cable is connected and power comes from a PC it is very different > from when it is a dedicated USB charger.
See this discussion http://lkml.org/lkml/2013/10/28/39, there I am trying to make a point that we need a separate subsystem for chargers. And in power supply subsystem we want to only report the AC/USB supply state. Thanks, Anton -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/