summaryrefslogtreecommitdiff
path: root/drivers/misc/cros_ec_spi.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-03-26 15:29:39 (GMT)
committerSimon Glass <sjg@chromium.org>2015-04-18 17:11:16 (GMT)
commit3fbb78711ca6a80151dc847409f913053bb7d985 (patch)
tree90b8504a6faaca6ed61a962016ff74a0eb994d77 /drivers/misc/cros_ec_spi.c
parentce6adaa4b5b51ddf7dc53d61c1eca0fc0553ac06 (diff)
downloadu-boot-3fbb78711ca6a80151dc847409f913053bb7d985.tar.xz
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_spi.c')
-rw-r--r--drivers/misc/cros_ec_spi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/misc/cros_ec_spi.c b/drivers/misc/cros_ec_spi.c
index 98e8f60..ac2ee86 100644
--- a/drivers/misc/cros_ec_spi.c
+++ b/drivers/misc/cros_ec_spi.c
@@ -165,12 +165,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-spi" },
{ }
};
U_BOOT_DRIVER(cros_ec_spi) = {
- .name = "cros_ec",
+ .name = "cros_ec_spi",
.id = UCLASS_CROS_EC,
.of_match = cros_ec_ids,
.probe = cros_ec_probe,