|author||Enric Balletbo i Serra <email@example.com>||2019-09-02 11:53:02 +0200|
|committer||Lee Jones <firstname.lastname@example.org>||2019-09-02 11:33:21 +0100|
|parent||mfd / platform: cros_ec: Move cros-ec core driver out from MFD (diff)|
mfd / platform: cros_ec: Miscellaneous character device to talk with the EC
That's a driver to talk with the ChromeOS Embedded Controller via a miscellaneous character device, it creates an entry in /dev for every instance and implements basic file operations for communicating with the Embedded Controller with an userspace application. The API is moved to the uapi folder, which is supposed to contain the user space API of the kernel. Note that this will replace current character device interface implemented in the cros-ec-dev driver in the MFD subsystem. The idea is to move all the functionality that extends the bounds of what MFD was designed to platform/chrome subsystem. Signed-off-by: Enric Balletbo i Serra <email@example.com> Acked-by: Andy Shevchenko <firstname.lastname@example.org> Reviewed-by: Gwendal Grignou <email@example.com> Tested-by: Gwendal Grignou <firstname.lastname@example.org> Signed-off-by: Lee Jones <email@example.com>
Diffstat (limited to 'drivers/platform/chrome/Kconfig')
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/platform/chrome/Kconfig b/drivers/platform/chrome/Kconfig
index eaeb04e07335..bd3524bd6b37 100644
@@ -136,6 +136,17 @@ config CROS_KBD_LED_BACKLIGHT
To compile this driver as a module, choose M here: the
module will be called cros_kbd_led_backlight.
+ tristate "ChromeOS EC miscdevice"
+ depends on MFD_CROS_EC_CHARDEV
+ default MFD_CROS_EC_CHARDEV
+ This driver adds file operations support to talk with the
+ ChromeOS EC from userspace via a character device.
+ To compile this driver as a module, choose M here: the
+ module will be called cros_ec_chardev.
tristate "Chromebook Pixel's lightbar support"
depends on MFD_CROS_EC_CHARDEV