Re: [PATCH v2 2/3] power: supply: add cros-ec USBPD charger driver.
From: Lee Jones
Date: Tue May 01 2018 - 04:30:05 EST
On Mon, 30 Apr 2018, Enric Balletbo i Serra wrote:
> From: Sameer Nanda <snanda@xxxxxxxxxxxx>
>
> This driver gets various bits of information about what is connected to
> USB PD ports from the EC and converts that into power_supply properties.
>
> Signed-off-by: Sameer Nanda <snanda@xxxxxxxxxxxx>
> Signed-off-by: Enric Balletbo i Serra <enric.balletbo@xxxxxxxxxxxxx>
> ---
>
> Changes in v2:
> - [2/3] Add SPDX header, use devm_ variant and drop .owner
> - [2/3] Removed the PD log functionality (will be send on a follow up patch)
> - [2/3] Removed the extra custom sysfs attributes (will be send on a follow up patch)
>
> drivers/power/supply/Kconfig | 10 +
> drivers/power/supply/Makefile | 1 +
> drivers/power/supply/cros_usbpd-charger.c | 511 ++++++++++++++++++++++
> include/linux/mfd/cros_ec.h | 2 +
Acked-by: Lee Jones <lee.jones@xxxxxxxxxx>
> 4 files changed, 524 insertions(+)
> create mode 100644 drivers/power/supply/cros_usbpd-charger.c
--
Lee Jones [æçæ]
Linaro Services Technical Lead
Linaro.org â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog