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>
This commit is contained in:
parent
e7c256fbfb
commit
8a4be850b6
@ -118,6 +118,10 @@ static const struct mfd_cell cros_devs[] = {
|
|||||||
.id = 2,
|
.id = 2,
|
||||||
.of_compatible = "google,cros-ec-i2c-tunnel",
|
.of_compatible = "google,cros-ec-i2c-tunnel",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
.name = "cros-ec-ctl",
|
||||||
|
.id = 3,
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
int cros_ec_register(struct cros_ec_device *ec_dev)
|
int cros_ec_register(struct cros_ec_device *ec_dev)
|
||||||
|
Loading…
Reference in New Issue
Block a user