lkml.org 
[lkml]   [2016]   [Mar]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v8 0/4] Introduce usb charger framework to deal with the usb gadget power negotation
    On Tue, Mar 29, 2016 at 10:05:23AM +0800, Baolin Wang wrote:

    > Yes, The user 'wm831x_power' did not implement any callbacks in
    > 'usb_charger_detect_type()' function, but in
    > 'usb_charger_detect_type()' function it just supplies different
    > callbacks to get the charger type with simple logic. Anyway we can try
    > to implement one callback to get the charger type and test the API.

    The wm831x doesn't have any charger detection features, what it does
    have is hardware for implementing a current limit on the power drawn
    from USB. What it's looking for from this framework is for something to
    tell it how much current it should draw from USB so it can program the
    hardware appropriately to impose that limit.
    [unhandled content-type:application/pgp-signature]
    \
     
     \ /
      Last update: 2016-03-29 19:41    [W:2.163 / U:0.096 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site