[PATCH v4 11/26] ARM: pxa: magician: Optimize EGPIO initial values

Robert Jarzmik robert.jarzmik at free.fr
Wed Oct 7 12:45:46 PDT 2015


Philipp Zabel <philipp.zabel at gmail.com> writes:

> Am Montag, den 28.09.2015, 23:32 +0200 schrieb Petr Cvek:
>> This patch optimizes initial values of the EGPIO chip driver.
>> 
>> GSM and sound should be powered off during boot. A weak accumulator
>> and
>> a powered GSM sometimes cause a system reboot. A charging current
>> should be
>> as high as possible during boot.
>
> Wouldn't that violate USB spec if we boot the magician while plugged
> into an unpowered USB host?

You're right. As USB 2.0 device cannot draw more than 100mA until enumerated
(prior to battery charging spec 1.1). It is described in USB 2.0 specification,
chapter 7.3.2, in the table :
 - Unconfigured Function/Hub - ICCInit - maximum 100mA.

So I'll drop this patch for now I think.

Cheers.

-- 
Robert



More information about the linux-arm-kernel mailing list