Re: [PATCH v9 0/4] Introduce usb charger framework to deal with the usb gadget power negotation
From: Mark Brown
Date: Wed Apr 06 2016 - 13:02:13 EST
On Wed, Apr 06, 2016 at 09:15:26AM +0800, Peter Chen wrote:
> > > No, this comment is common one, but only for SW detection. Eg, when
> > > the PMIC tells you it is a SDP, you can't notify to charger IC about
> > > 500mA at once, you need to do it after host allows you to do it.
> > Note that this isn't just the charger device that needs to constrain
> > current consumption - it's the entire system. You can't charge to the
> > limit for system power draw if the USB controller is supplying the main
> > system rail.
> Sorry, I can't catch up you. USB Host (SDP or CDP) supplies power for
> USB device (not only USB controller, it is the whole system), it can
> supply more power after set configuration. See 1.4.13 from BC 1.2.
You're saying we need to notify the charger. The charger does not in
general control the overall system current draw.
Attachment:
signature.asc
Description: PGP signature