Re: [PATCH 3/4] i2c-nomadik: support smbus emulation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2010/9/24 Shinya Kuribayashi <shinya.kuribayashi.px@xxxxxxxxxxx>:
> On 9/23/2010 4:04 PM, Linus Walleij wrote:
>> We can do smbus emulation so flag this and drop the duplicate
>> flags implied from smbus emulation.
>
>> @@ -803,10 +803,7 @@ static irqreturn_t i2c_irq_handler(int irq, void *arg)
>>
>>  static unsigned int nmk_i2c_functionality(struct i2c_adapter *adap)
>>  {
>> -     return I2C_FUNC_I2C
>> -             | I2C_FUNC_SMBUS_BYTE_DATA
>> -             | I2C_FUNC_SMBUS_WORD_DATA
>> -             | I2C_FUNC_SMBUS_I2C_BLOCK;
>> +     return I2C_FUNC_I2C | I2C_FUNC_SMBUS_EMUL;
>>  }
>>
>>  static const struct i2c_algorithm nmk_i2c_algo = {
>
> (failed to figure out from the driver, so would like to make sure)
> Is this I2C core capable of I2C_FUNC_SMBUS_QUICK?  Unless it's capable
> of full SMBus emulation, it would be better to turn off relevant flags
> for safety.  I'm not objecting to the patch, but just wondered.

I have verified with the hardware engineer that this block is indeed
capable of SMBUS_QUICK.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux