Re: [PATCH 1/2] i2c: Aspeed: Add AST2600 compatible

2019-10-21 Thread Wolfram Sang
On Fri, Sep 13, 2019 at 11:35:09AM -0500, Eddie James wrote:
> 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 

Applied to for-next, thanks!



signature.asc
Description: PGP signature


Re: [PATCH 1/2] i2c: Aspeed: Add AST2600 compatible

2019-09-13 Thread Brendan Higgins
On Fri, Sep 13, 2019 at 11:35:09AM -0500, Eddie James wrote:
> 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 

Reviewed-by: Brendan Higgins 

Thanks!


[PATCH 1/2] i2c: Aspeed: Add AST2600 compatible

2019-09-13 Thread Eddie James
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 
---
 drivers/i2c/busses/i2c-aspeed.c | 4 
 1 file changed, 4 insertions(+)

diff --git a/drivers/i2c/busses/i2c-aspeed.c b/drivers/i2c/busses/i2c-aspeed.c
index fa66951..c2a6e5a 100644
--- a/drivers/i2c/busses/i2c-aspeed.c
+++ b/drivers/i2c/busses/i2c-aspeed.c
@@ -938,6 +938,10 @@ static int aspeed_i2c_reset(struct aspeed_i2c_bus *bus)
.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);
-- 
1.8.3.1