CHROMIUM: cros_usbpd-charger - Use new Apple Brick ID type
Use the new Apple Brick power supply type when "USB_CHG_TYPE_PROPRIETARY"
is provided by the ec.
On most of our Chromebooks (Samus, and Glados generation), that type
will correspond directly to Apple 1.0A, 2.0A, or 2.4A methods being
This will allow us to gather better metrics in the power manager
when Apple Brick ID method is used on our Type-C Chromebooks.
Signed-off-by: Benson Leung <email@example.com>
TEST=With an Apple 12W (2.4A), 10W (2.1A), or 5W (1A) power adapter
attached, cat /sys/class/power_supply/CROS_USB_PD_CHARGER1/type
Check that "BrickID" is returned.
Commit-Ready: Benson Leung <firstname.lastname@example.org>
Tested-by: Benson Leung <email@example.com>
Reviewed-by: Shawn N <firstname.lastname@example.org>
1 file changed