summaryrefslogtreecommitdiff
path: root/drivers/misc/cros_ec_i2c.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-03-26 09:29:39 -0600
committerSimon Glass <sjg@chromium.org>2015-04-18 11:11:16 -0600
commit3fbb78711ca6a80151dc847409f913053bb7d985 (patch)
tree90b8504a6faaca6ed61a962016ff74a0eb994d77 /drivers/misc/cros_ec_i2c.c
parentce6adaa4b5b51ddf7dc53d61c1eca0fc0553ac06 (diff)
cros_ec: exynos: Match up device tree with kernel version
The U-Boot device trees are slightly different in a few places. Adjust them to remove most of the differences. Note that U-Boot does not support the concept of interrupts as distinct from GPIOs, so this difference remains. For sandbox, use the same keyboard file as for ARM boards and drop the host emulation bus which seems redundant. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/misc/cros_ec_i2c.c')
-rw-r--r--drivers/misc/cros_ec_i2c.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/misc/cros_ec_i2c.c b/drivers/misc/cros_ec_i2c.c
index cee9a0f511..3de18b2d2a 100644
--- a/drivers/misc/cros_ec_i2c.c
+++ b/drivers/misc/cros_ec_i2c.c
@@ -139,12 +139,12 @@ static struct dm_cros_ec_ops cros_ec_ops = {
};
static const struct udevice_id cros_ec_ids[] = {
- { .compatible = "google,cros-ec" },
+ { .compatible = "google,cros-ec-i2c" },
{ }
};
U_BOOT_DRIVER(cros_ec_i2c) = {
- .name = "cros_ec",
+ .name = "cros_ec_i2c",
.id = UCLASS_CROS_EC,
.of_match = cros_ec_ids,
.probe = cros_ec_probe,