summaryrefslogtreecommitdiffstats
path: root/cpukit/dev/i2c (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-06-22i2c: Add non blocking read / writeChristian Mauderer1-5/+40
This adds the possibility to open an I2C bus with O_NONBLOCK (or set it later via fcntl) to get non-blocking transmissions. This means that if the bus is busy, a read, write or transfer ioctl will return with a EAGAIN errno.
2020-04-16Canonicalize config.h includeSebastian Huber10-19/+19
Use the following variant which was already used by most source files: #ifdef HAVE_CONFIG_H #include "config.h" #endif
2018-11-06Correct minor spelling and grammar errorsZenon1-1/+1
This work was performed as a GCI 2018 task.
2018-02-02i2c: Use self-contained mutexSebastian Huber1-31/+5
Update #2843.
2018-02-01Xilinx AXI I2C driver IP race condition causes clock glitch.Chris Johns1-1/+5
Setting the PIRQ to 0 before reading the data produces a short clock pulse. Moving the write to after reading the data fixes the issue. Close #3173
2017-10-02i2c: Add temperature sensor LM75A driverSebastian Huber1-0/+198
Close #3163.
2017-10-02i2c: Fix EEPROM driver program timeout handlingSebastian Huber1-4/+13
The RTEMS_MILLISECONDS_TO_TICKS() macro doesn't round up. Do not use it to calculate the program timeout in ticks. Check program done condition after the timeout check to account for pre-emptions. Update #3162.
2017-10-02i2c: Send MSB of address first for EEPROMsSebastian Huber1-12/+21
Update #3161.
2017-08-25Include missing <string.h>Sebastian Huber1-0/+1
Update #2133.
2017-08-22dev/i2c: Fix integer typeSebastian Huber1-1/+1
Update #3082.
2017-08-20dev/i2c: Add I2C device support for FPGA Slave, LM25066A, TMP112, ADS1113, ↵Chris Johns4-0/+976
ADS1114 and ADS1115 Closes #3101.
2017-08-16dev/i2c: Add Xilinx AXI I2C driver.Chris Johns1-0/+943
This is a generic driver for use with Xilinx AXI I2C controller IP. Closes #3100.
2017-07-14posix/mmap: Add support for file handler and MAP_ANONKevin Kirspel2-0/+2
Added a mmap file handler to struct _rtems_filesystem_file_handlers_r. Updated each file handler object to support the default mmap handler. Updated mmap() to call the mmap handler for MAP_SHARED. Added a mmap file handler for shm Added support for MAP_ANON in mmap(). Updates #2859
2015-07-23i2c: Fix return status of i2c dev read/writeSebastian Huber1-6/+10
2015-01-27IMFS: Replace node union with individual structSebastian Huber2-18/+14
This reduces the average node size. Add and use IMFS_GENERIC_INITIALIZER().
2014-11-26i2c: Do not close file descriptor 0 if open failsSebastian Huber1-7/+6
2014-11-26i2c: Avoid undefined right shift operationSebastian Huber1-5/+8
2014-11-25cpukit/dev/i2c/i2c-dev.c: Fix leak on error pathJoel Sherrill1-2/+1
Coverity ID 1255520. fd was not closed on error path.
2014-11-24i2c: Fix endian issueSebastian Huber1-9/+14
2014-11-20Add NXP PCA9548A 8-channel switch I2C driverSebastian Huber1-0/+99
2014-11-20Add NXP PCA9535 16-bit GPIO I2C driverSebastian Huber1-0/+149
2014-11-20Add generic EEPROM I2C device driverSebastian Huber1-0/+260
2014-11-20Add I2C driver frameworkSebastian Huber2-0/+642
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 arbitrary bus controller model is assumed. The main task of an I2C bus controller driver is to process I2C messages. How this is done is private to the driver. * Scatter/gather operations are supported (I2C_M_NOSTART).