Thread (9 messages) 9 messages, 3 authors, 2016-05-04

Re: [RESEND PATCH v10 4/4] power: wm831x_power: Support USB charger current limit management

From: Mark Brown <broonie@kernel.org>
Date: 2016-05-03 10:58:06
Also in: lkml

On Tue, May 03, 2016 at 09:30:48AM +0530, Manish Badarkhe wrote:
On Tue, May 3, 2016 at 9:00 AM, Baolin Wang [off-list ref] wrote:
quoted
+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.

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help