summaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses/i2c-rk3x.c
diff options
context:
space:
mode:
authorYakir Yang <ykk@rock-chips.com>2016-03-14 04:09:15 +0100
committerWolfram Sang <wsa@the-dreams.de>2016-04-12 23:34:44 +0200
commitb0b6d123f5df189d7d3a62d450e5f5c33ad614d8 (patch)
tree731056ce8a34470425a1e3e35ecc0814d64d8b5b /drivers/i2c/busses/i2c-rk3x.c
parentLinux 4.6-rc3 (diff)
downloadlinux-b0b6d123f5df189d7d3a62d450e5f5c33ad614d8.tar.xz
linux-b0b6d123f5df189d7d3a62d450e5f5c33ad614d8.zip
i2c: rk3x: add support for rk3228
Enable the I2C core for this SoC. Signed-off-by: Yakir Yang <ykk@rock-chips.com> Reviewed-by: Heiko Stuebner <heiko@sntech.de> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c/busses/i2c-rk3x.c')
-rw-r--r--drivers/i2c/busses/i2c-rk3x.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/i2c/busses/i2c-rk3x.c b/drivers/i2c/busses/i2c-rk3x.c
index 9096d17beb5b..3dcc5f3f26cb 100644
--- a/drivers/i2c/busses/i2c-rk3x.c
+++ b/drivers/i2c/busses/i2c-rk3x.c
@@ -855,6 +855,7 @@ static struct rk3x_i2c_soc_data soc_data[3] = {
static const struct of_device_id rk3x_i2c_match[] = {
{ .compatible = "rockchip,rk3066-i2c", .data = (void *)&soc_data[0] },
{ .compatible = "rockchip,rk3188-i2c", .data = (void *)&soc_data[1] },
+ { .compatible = "rockchip,rk3228-i2c", .data = (void *)&soc_data[2] },
{ .compatible = "rockchip,rk3288-i2c", .data = (void *)&soc_data[2] },
{},
};