Re: [PATCH] cpukit/libi2c allowed to probe on device init

2015-04-02 Thread Sebastian Huber
On 02/04/15 09:45, Alexandru-Sever Horin wrote: I have one question, though, is there a plan to port other Linux driver APIs like SPI ? Not from our side, but we need a proper SPI driver API. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone

Re: [PATCH] cpukit/libi2c allowed to probe on device init

2015-04-02 Thread Sebastian Huber
Hello Alexandru-Sever, in case you use the latest RTEMS version, then I would consider to use the new I2C support: https://docs.rtems.org/doxygen/cpukit/html/group__I2C.html For example see: https://git.rtems.org/rtems/tree/cpukit/dev/i2c

Re: [PATCH] cpukit/libi2c allowed to probe on device init

2015-04-02 Thread Alexandru-Sever Horin
Hello Sebastian, Thank you for the suggestion. The API compatible with Linux devices sounds great. However, the RTEMS version we are using is a few days before your patches, and probably I will port a bt firther along the road. I have one question, though, is there a plan to port other Linux

[PATCH] cpukit/libi2c allowed to probe on device init

2015-04-02 Thread Alexandru-Sever Horin
From: Alexandru-Sever Horin alex.seve...@gmail.com libi2c registration of a device fails if the device initialization fails Benefits: allows for device probing on multiple addresses --- cpukit/libi2c/libi2c.c | 27 --- 1 file changed, 16 insertions(+), 11 deletions(-)