From: Heiko Stübner Date: Mon, 20 Mar 2017 11:40:35 +0000 (+0100) Subject: rockchip: i2c: Add compatibles for Rockchip Cortex-A9 socs X-Git-Tag: v2017.05-rc2~144 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=02a7d83301d5b5dfed387b8d16ff2882f6a5d9ed;p=u-boot 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 Acked-by: Simon Glass --- diff --git a/drivers/i2c/rk_i2c.c b/drivers/i2c/rk_i2c.c index 7c701cbed0..af925cecdb 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" }, { } };