mfd: cros_ec: Add cros-usbpd-notify subdevice
authorPrashant Malani <pmalani@chromium.org>
Tue, 14 Jan 2020 23:22:20 +0000 (15:22 -0800)
committerLee Jones <lee.jones@linaro.org>
Fri, 24 Jan 2020 07:33:59 +0000 (07:33 +0000)
commit4602dce0361ebc67b9bfbed9338eee588e3c7e7e
treefd3a55063661280e25842d77477478abf45c9619
parent1112ba02ff1190ca9c15a912f9269e54b46d2d82
mfd: cros_ec: Add cros-usbpd-notify subdevice

Add the cros-usbpd-notify driver as a subdevice on platforms that
support the EC_FEATURE_USB_PD EC feature flag and don't have the
ACPI PD notification device defined.

This driver allows other cros-ec devices to receive PD event
notifications from the Chrome OS Embedded Controller (EC) via a
notification chain.

Signed-off-by: Prashant Malani <pmalani@chromium.org>
Reviewed-by: Benson Leung <bleung@chromium.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/cros_ec_dev.c