[U-Boot] [PATCH v2 0/8] drivers: i2c: davinci_i2c: Convert driver to DM

Vignesh R vigneshr at ti.com
Fri Apr 21 09:13:58 UTC 2017



On Friday 21 April 2017 09:38 AM, Vignesh R wrote:
> Hi Franklin,
> 
> On Thursday 20 April 2017 08:55 PM, Franklin S Cooper Jr wrote:
>> This patch series converts the davinci i2c driver to use device model.
>> This updated driver has been verified on both Keystone K2G and Keystone
>> K2L evms by performing several i2c operations in U-boot prompt.
>>
>> Some additional work was required to get things working on K2G due to
>> the code that reads the on board EEPROM. DM I2C sets the default address
>> length to a default value of 1 when the on EEPROM requires an address
>> length of 2. Therefore, an additional function and minor changes were
>> required to get things working properly.
>>
> 
> You can add property:
> u-boot,i2c-offset-len = <2>;
> to the i2c slave DT node help to achieve this, right?
> Have you tried this option?
> 
> 

I missed your reply on previous version for the above question.

Sorry for the noise.

-- 
Regards
Vignesh


More information about the U-Boot mailing list