aboutsummaryrefslogtreecommitdiff
path: root/drivers/i2c
diff options
context:
space:
mode:
authorHeiko Stübner <heiko@sntech.de>2017-03-20 12:40:35 +0100
committerSimon Glass <sjg@chromium.org>2017-04-04 20:01:57 -0600
commit02a7d83301d5b5dfed387b8d16ff2882f6a5d9ed (patch)
treea55824e73121a1146b578417d1d90a4097ce09a3 /drivers/i2c
parentf4f57c58b5899efbad2f0d9c9dd8d44b0619395e (diff)
downloadu-boot-02a7d83301d5b5dfed387b8d16ff2882f6a5d9ed.zip
u-boot-02a7d83301d5b5dfed387b8d16ff2882f6a5d9ed.tar.gz
u-boot-02a7d83301d5b5dfed387b8d16ff2882f6a5d9ed.tar.bz2
rockchip: i2c: Add compatibles for Rockchip Cortex-A9 socs
The Cortex-A9 socs rk3066 and rk3188 share the IP but have their own compatible values, so add them to make the i2c on these platforms accessible. Signed-off-by: Heiko Stuebner <heiko@sntech.de> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/i2c')
-rw-r--r--drivers/i2c/rk_i2c.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/i2c/rk_i2c.c b/drivers/i2c/rk_i2c.c
index 7c701cb..af925ce 100644
--- a/drivers/i2c/rk_i2c.c
+++ b/drivers/i2c/rk_i2c.c
@@ -380,6 +380,8 @@ static const struct dm_i2c_ops rockchip_i2c_ops = {
};
static const struct udevice_id rockchip_i2c_ids[] = {
+ { .compatible = "rockchip,rk3066-i2c" },
+ { .compatible = "rockchip,rk3188-i2c" },
{ .compatible = "rockchip,rk3288-i2c" },
{ }
};