From: Enric Balletbo i Serra Date: Wed, 3 Apr 2019 14:05:29 +0000 (+0200) Subject: mfd: cros_ec: Instantiate the CrOS USB PD logger driver X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=49a65e3c276c5ddc7d310257732bf9972ab64351;p=openwrt%2Fstaging%2Fblogic.git mfd: cros_ec: Instantiate the CrOS USB PD logger driver Add the cros-usbpd-logger driver for logging event data for the USB PD charger available in the Embedded Controller on ChromeOS systems. The logging feature is logically separate functionality from charge manager, hence is instantiated as a different driver. Signed-off-by: Enric Balletbo i Serra Reviewed-by: Guenetr Roeck Signed-off-by: Lee Jones --- diff --git a/drivers/mfd/cros_ec_dev.c b/drivers/mfd/cros_ec_dev.c index 596f124f2a54..a3b319913097 100644 --- a/drivers/mfd/cros_ec_dev.c +++ b/drivers/mfd/cros_ec_dev.c @@ -385,7 +385,8 @@ static const struct mfd_cell cros_ec_rtc_cells[] = { }; static const struct mfd_cell cros_usbpd_charger_cells[] = { - { .name = "cros-usbpd-charger" } + { .name = "cros-usbpd-charger" }, + { .name = "cros-usbpd-logger" }, }; static const struct mfd_cell cros_ec_platform_cells[] = {