Re: [PATCH v4 12/26] ARM: pxa: magician: Rename charger cable detection EGPIOs

From: Philipp Zabel
Date: Sat Oct 03 2015 - 08:39:01 EST


Am Montag, den 28.09.2015, 23:32 +0200 schrieb Petr Cvek:
> This patch renames EGPIOs, which are used for the charging cable
> presence
> and type detection. Old names did not correspond with an observed
> functionality (on board_id 0x3a). The behavior is not:
>
> - AC charger
> - USB charger
> - Cable detection
>
> , but:
>
> - AC/USB type
> - Cable detection1
> - Cable detection2
>
> This patch fixes a possible typo in the bit offset for the cable
> detection
> EGPIO declaration, too.
>
> Signed-off-by: Petr Cvek <petr.cvek@xxxxxx>

Just to be sure, please tell me what are the values of those three
EGPIOs while
a) wall plug charger plugged in
b) usb cable connected to a host plugged in
c) no cable plugged in

It could well be there are differences between our boards.

regards
Philipp
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/