Re: [PATCH 2/9] Add I2C driver framework

2014-11-14 Thread Sebastian Huber
On 11/13/2014 06:35 PM, Alan Cudmore wrote: This sounds like a nice improvement. Is this intended to be a replacement for the RTEMS libi2c? Yes, this is intended as a replacement for libi2c. The big problem with libi2c is that it is too close to a particular hardware model which makes bus d

Re: [PATCH 2/9] Add I2C driver framework

2014-11-13 Thread Alan Cudmore
Hi Sebastian, This sounds like a nice improvement. Is this intended to be a replacement for the RTEMS libi2c? Are any updates to existing i2c drivers or code required? Alan On Thu, Nov 13, 2014 at 4:30 AM, Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > This I2C driver framework

[PATCH 2/9] Add I2C driver framework

2014-11-13 Thread Sebastian Huber
This I2C driver framework has some major differences compared to libi2c. * It is compatible to the Linux I2C user-space API. * It uses generic IMFS nodes and thus reduces the levels of indirection. * The drivers don't have to mess around with minor numbers to get their state information. * No