platform/chrome: Add CrOS USB PD logging driver
authorGuenter Roeck <groeck@chromium.org>
Wed, 3 Apr 2019 14:05:28 +0000 (16:05 +0200)
committerEnric Balletbo i Serra <enric.balletbo@collabora.com>
Mon, 15 Apr 2019 10:13:24 +0000 (12:13 +0200)
commita2679b64719085196a8e1762a40e90e92b1f3cf5
tree5c752d1d076ae48125b72abe8db7a4440b4a759e
parent37a186225a0c020516bafad2727fdcdfc039a1e4
platform/chrome: Add CrOS USB PD logging driver

The CrOS USB PD logging feature is logically separate functionality of
the charge manager, hence has its own driver. The driver logs the event
data for the USB PD charger available in some ChromeOS Embedded
Controllers.

Signed-off-by: Guenter Roeck <groeck@chromium.org>
[remove macro to APPEND_STRING and minor cleanups]
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
drivers/platform/chrome/Kconfig
drivers/platform/chrome/Makefile
drivers/platform/chrome/cros_usbpd_logger.c [new file with mode: 0644]