lkml.org 
[lkml]   [2016]   [May]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [RESEND PATCH v10 4/4] power: wm831x_power: Support USB charger current limit management
From
Hi Mark

>> > +static const unsigned int wm831x_usb_limits[] = {
>> > + 0,
>> > + 2,
>> > + 100,
>> > + 500,
>> > + 900,
>> > + 1500,
>> > + 1800,
>> > + 550,
>> > +};
>
>> Just for curiosity, How these current limits are getting decided?
>> Can we have some proper defines over here so that it can be grasped easily?
>
> They're in the silicon, it's just a table of values that were put into
> the silicon at design time. The defines would just be TABLE_ENTRY_1 or
> whatever.

Thanks for the clarification, In that case, comments/documentation
will work instead of making any defines.

Regards
Manish Badarkhe

\
 
 \ /
  Last update: 2016-05-04 06:01    [W:0.056 / U:1.492 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site