]> git.sur5r.net Git - u-boot/commitdiff
rockchip: i2c: Add compatibles for Rockchip Cortex-A9 socs
authorHeiko Stübner <heiko@sntech.de>
Mon, 20 Mar 2017 11:40:35 +0000 (12:40 +0100)
committerSimon Glass <sjg@chromium.org>
Wed, 5 Apr 2017 02:01:57 +0000 (20:01 -0600)
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>
drivers/i2c/rk_i2c.c

index 7c701cbed0a981d7c41b6c4fb1fc99735b9757c5..af925cecdbb891701b1bdf53bc75d500829c7d0b 100644 (file)
@@ -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" },
        { }
 };