diff options
| author | Robert Jarzmik <[email protected]> | 2009-01-24 23:59:38 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2009-03-24 16:20:27 -0700 |
| commit | ee069fb1185895e725ad942c7a529f947e25166d (patch) | |
| tree | 0aba6c381156e151d7153b79f2497c3cdce9259f /tools/perf/scripts/python | |
| parent | 7fec3c25b773883bd50c4078bcccdd23d3dadeac (diff) | |
USB: pxa27x_udc: add vbus_draw callback
Add the vbus_draw() callback to inform the transceiver, if
it exists, how much current may be drawn. The decision is
taken on gadget driver side using the configuration chosen
by the host and its bMaxPower field. Some systems can use
the host's VBUS supply to augment or recharge a battery.
(There's also a default of 100 mA for unconfigured devices,
or 8 mA if they're OTG devices.)
Signed-off-by: Robert Jarzmik <[email protected]>
Signed-off-by: David Brownell <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions