[PATCH linux dev-5.2 2/2] i2c: Aspeed: Add AST2600 compatible

Eddie James eajames at linux.vnet.ibm.com
Fri Sep 6 05:09:29 AEST 2019


On 9/4/19 10:02 PM, Andrew Jeffery wrote:
>
> On Thu, 5 Sep 2019, at 06:05, Eddie James wrote:
>> Signed-off-by: Eddie James <eajames at linux.ibm.com>
> Have you tested this on hardware? What was the outcome?


Yes. The I2C devices I accessed through hwmon worked fine, including the 
PSU, tmp275, and ir35521. I didn't check every single device on every 
bus, but everything seemed to probe up fine.


Thanks,

Eddie


>
> Andrew
>
>> ---
>>   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 8931792..1943977 100644
>> --- a/drivers/i2c/busses/i2c-aspeed.c
>> +++ b/drivers/i2c/busses/i2c-aspeed.c
>> @@ -1274,6 +1274,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
>>
>>


More information about the openbmc mailing list