Re: [U-Boot] [PATCH 2/2] dm: i2c: Add a compatbility layer

2015-01-20 Thread Simon Glass
On 12 January 2015 at 18:02, Simon Glass wrote: > For boards which use multiple I2C devices, or for SOCs which support > multiple boards, we might want to convert these to driver model at different > times. At present this is difficult because we need to either use > CONFIG_DM_I2C for a board or n

[U-Boot] [PATCH 2/2] dm: i2c: Add a compatbility layer

2015-01-12 Thread Simon Glass
For boards which use multiple I2C devices, or for SOCs which support multiple boards, we might want to convert these to driver model at different times. At present this is difficult because we need to either use CONFIG_DM_I2C for a board or not. Add a compatibility layer which implements the old A