summaryrefslogtreecommitdiffstats
path: root/drivers/i2c/designware_i2c_pci.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-01-21 13:57:08 -0700
committerSimon Glass <sjg@chromium.org>2021-01-30 14:25:41 -0700
commitdfb5bfbc208699ae1b5fc8e17f65d862be3b4612 (patch)
treeae93bfe8a0bc9e3d5c909558db64b0e957a6b125 /drivers/i2c/designware_i2c_pci.c
parent442e6305b5b02d689774a0bf73311643ffa0df6f (diff)
downloadu-boot-dfb5bfbc208699ae1b5fc8e17f65d862be3b4612.tar.gz
u-boot-dfb5bfbc208699ae1b5fc8e17f65d862be3b4612.tar.xz
u-boot-dfb5bfbc208699ae1b5fc8e17f65d862be3b4612.zip
i2c: desigware: Add an alias for Intel Apollo Lake
Add an alias so that this driver can be used in TPL on coral. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'drivers/i2c/designware_i2c_pci.c')
-rw-r--r--drivers/i2c/designware_i2c_pci.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/i2c/designware_i2c_pci.c b/drivers/i2c/designware_i2c_pci.c
index ec0cdf6220..9e387737b6 100644
--- a/drivers/i2c/designware_i2c_pci.c
+++ b/drivers/i2c/designware_i2c_pci.c
@@ -192,6 +192,8 @@ static const struct udevice_id designware_i2c_pci_ids[] = {
{ }
};
+DM_DRIVER_ALIAS(i2c_designware_pci, intel_apl_i2c)
+
U_BOOT_DRIVER(i2c_designware_pci) = {
.name = "i2c_designware_pci",
.id = UCLASS_I2C,