Skip to content

Commit

Permalink
i2c: jz4780: Add compatible string for JZ4770 SoC
Browse files Browse the repository at this point in the history
The I2C controller in the JZ4770 SoC seems to work the exact same as in
the JZ4780 SoC.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
  • Loading branch information
Paul Cercueil authored and Wolfram Sang committed Sep 21, 2020
1 parent b74b33f commit 266fd91
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/i2c/busses/i2c-jz4780.c
Original file line number Diff line number Diff line change
Expand Up @@ -752,6 +752,7 @@ static const struct ingenic_i2c_config x1000_i2c_config = {
};

static const struct of_device_id jz4780_i2c_of_matches[] = {
{ .compatible = "ingenic,jz4770-i2c", .data = &jz4780_i2c_config },
{ .compatible = "ingenic,jz4780-i2c", .data = &jz4780_i2c_config },
{ .compatible = "ingenic,x1000-i2c", .data = &x1000_i2c_config },
{ /* sentinel */ }
Expand Down

0 comments on commit 266fd91

Please sign in to comment.