]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitffd9f1cddb92bdf5127231eb891fecc8d9fd1057
treefd3a55063661280e25842d77477478abf45c9619
parent252d1d1b4963c0750040edd5580d187aa6f5074b
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