projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b74b33f
)
i2c: jz4780: Add compatible string for JZ4770 SoC
author
Paul Cercueil
<paul@crapouillou.net>
Fri, 4 Sep 2020 13:11:51 +0000
(15:11 +0200)
committer
Wolfram Sang
<wsa@kernel.org>
Mon, 21 Sep 2020 09:45:43 +0000
(11:45 +0200)
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>
drivers/i2c/busses/i2c-jz4780.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/i2c/busses/i2c-jz4780.c
b/drivers/i2c/busses/i2c-jz4780.c
index ba831df6661ef8e5d1b5c412ccd3db8e37953a97..ed2ec86f6f1a1f1e0f601db1037b3294988e37d9 100644
(file)
--- a/
drivers/i2c/busses/i2c-jz4780.c
+++ b/
drivers/i2c/busses/i2c-jz4780.c
@@
-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 */ }