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

Vignesh R vigneshr at ti.com
Fri Apr 21 04:08:06 UTC 2017


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?


-- 
Regards
Vignesh


More information about the U-Boot mailing list