Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 6659b55d authored by Benson Leung's avatar Benson Leung Committed by Sebastian Reichel
Browse files

power_supply: Add types for USB Type C and PD chargers



This adds power supply types for USB chargers defined in
the USB Type-C Specification 1.1 and in the
USB Power Delivery Specification Revision 2.0 V1.1.

The following are added :
POWER_SUPPLY_TYPE_USB_TYPE_C,	/* Type C Port */
POWER_SUPPLY_TYPE_USB_PD,	/* Power Delivery Port */
POWER_SUPPLY_TYPE_USB_PD_DRP,	/* PD Dual Role Port */

Signed-off-by: default avatarBenson Leung <bleung@chromium.org>
[tomeu: remove the mention to Type C from the comments]
Signed-off-by: default avatarTomeu Vizoso <tomeu.vizoso@collabora.com>
Reviewed-by: default avatarAlec Berg <alecaberg@chromium.org>
Reviewed-by: default avatarVincent Palatin <vpalatin@chromium.org>
Reviewed-by: default avatarTodd Broch <tbroch@chromium.org>
Signed-off-by: default avatarSebastian Reichel <sre@kernel.org>
parent 64024ac7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment