diff options
author | Eddie James <eajames@linux.ibm.com> | 2019-09-13 11:35:09 -0500 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2019-10-21 14:22:46 +0200 |
commit | e2c913e4fd9e1cc5a523164ac87d100e34f19e9e (patch) | |
tree | a2f911efe8208f3e6eee2a18b2b2d90e53ad99e3 /drivers/i2c | |
parent | c1e83e32885d373077ad1df7cfd82c38e40e2701 (diff) | |
download | linux-e2c913e4fd9e1cc5a523164ac87d100e34f19e9e.tar.bz2 |
i2c: Aspeed: Add AST2600 compatible
The driver default behavior works with the AST2600. We need a new
compatible though to make sure the driver doesn't enable AST2400 or
AST2500 behavior.
Signed-off-by: Eddie James <eajames@linux.ibm.com>
Reviewed-by: Brendan Higgins <brendanhiggins@google.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c')
-rw-r--r-- | drivers/i2c/busses/i2c-aspeed.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/i2c/busses/i2c-aspeed.c b/drivers/i2c/busses/i2c-aspeed.c index fa66951b05d0..c2a6e5a27314 100644 --- a/drivers/i2c/busses/i2c-aspeed.c +++ b/drivers/i2c/busses/i2c-aspeed.c @@ -938,6 +938,10 @@ static const struct of_device_id aspeed_i2c_bus_of_table[] = { .compatible = "aspeed,ast2500-i2c-bus", .data = aspeed_i2c_25xx_get_clk_reg_val, }, + { + .compatible = "aspeed,ast2600-i2c-bus", + .data = aspeed_i2c_25xx_get_clk_reg_val, + }, { }, }; MODULE_DEVICE_TABLE(of, aspeed_i2c_bus_of_table); |