diff options
author | Javier Martinez Canillas <javier.martinez@collabora.co.uk> | 2015-02-02 12:26:26 +0100 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2015-02-26 15:45:09 -0800 |
commit | 8a4be850b6a1eb8c7b910d98d3683a803ff5ddb4 (patch) | |
tree | 2872c5de670d39678f9126a57fe37c9131c59808 /drivers/mfd | |
parent | e7c256fbfb157885d36ffcf03d981fa8b21e8fec (diff) |
mfd: cros_ec: Instantiate ChromeOS EC character device
The ChromeOS EC character device is an user-space interface to
allow applications to access the Embedded Controller.
Add a cell for this device so it's spawned from the mfd driver.
Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Acked-by: Lee Jones <lee.jones@linaro.org>
Tested-by: Gwendal Grignou <gwendal@chromium.org>
Reviewed-by: Gwendal Grignou <gwendal@chromium.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'drivers/mfd')
-rw-r--r-- | drivers/mfd/cros_ec.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/mfd/cros_ec.c b/drivers/mfd/cros_ec.c index c872e1b0eaf8..c4aecc6f8373 100644 --- a/drivers/mfd/cros_ec.c +++ b/drivers/mfd/cros_ec.c @@ -118,6 +118,10 @@ static const struct mfd_cell cros_devs[] = { .id = 2, .of_compatible = "google,cros-ec-i2c-tunnel", }, + { + .name = "cros-ec-ctl", + .id = 3, + }, }; int cros_ec_register(struct cros_ec_device *ec_dev) |