On Mon, 30 Apr 2018, Enric Balletbo i Serra wrote: > From: Sameer Nanda <[email protected]> > > 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 <[email protected]> > Signed-off-by: Enric Balletbo i Serra <[email protected]> > --- > > 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 <[email protected]> > 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

