[Xenomai] I2C RTDM driver

Matthias Schneider ma30002000 at yahoo.de
Wed Jun 25 21:01:47 CEST 2014


----- Original Message -----

> From: Matthias Schneider <ma30002000 at yahoo.de>
> To: "xenomai at xenomai.org" <xenomai at xenomai.org>
> Cc: 
> Sent: Tuesday, June 17, 2014 8:15 PM
> Subject: [Xenomai] I2C RTDM driver
> 
> Hi all,
> 
> in the spirit of
> 
> http://www.xenomai.org/pipermail/xenomai/2006-November/006455.html
> 
> I would like to contribute my I2C RTDM driver to xenomai and ask for a review.
> It is based on the Linux 3.14 i2c framework, porting the omap i2c driver (tested 
> on
> beaglebone black).
> 
> The following points mentioned in the above post have been addressed:
> 
> * usage of existing linux kernel structures when available
> * combined address+request command
> 
> * ahead-of-time allocation via special IOCTL
> 
> The framework itself is contained in a single file "rti2c-dev.c", 
> while modifications to 
> drivers when porting to rtdm should be minimal. A readme file is included in the 
> patch as always,
> 
> thanks in advance for your comments,
> 
> Matthias Schneider


Please find attached an updated patch.
It fixes some problems when compiling as a module, when unloading the 
module and when being interrupted in rtdm_event_timedwait.

Regards,
Matthias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Initial-i2c-commit-no.2.patch.gz
Type: application/x-gzip
Size: 19957 bytes
Desc: not available
URL: <http://www.xenomai.org/pipermail/xenomai/attachments/20140625/dcdbcdec/attachment.bin>



More information about the Xenomai mailing list