i2c: Aspeed: Add AST2600 compatible
authorEddie James <eajames@linux.ibm.com>
Fri, 13 Sep 2019 16:35:09 +0000 (11:35 -0500)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 21 Oct 2019 12:22:46 +0000 (14:22 +0200)
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>
drivers/i2c/busses/i2c-aspeed.c

index fa66951..c2a6e5a 100644 (file)
@@ -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);