summaryrefslogtreecommitdiffstats
path: root/cpukit/dev/i2c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Canonicalize config.h includeSebastian Huber2020-04-1610-19/+19
| | | | | | | | Use the following variant which was already used by most source files: #ifdef HAVE_CONFIG_H #include "config.h" #endif
* Correct minor spelling and grammar errorsZenon2018-11-061-1/+1
| | | | This work was performed as a GCI 2018 task.
* i2c: Use self-contained mutexSebastian Huber2018-02-021-31/+5
| | | | Update #2843.
* Xilinx AXI I2C driver IP race condition causes clock glitch.Chris Johns2018-02-011-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
* i2c: Add temperature sensor LM75A driverSebastian Huber2017-10-021-0/+198
| | | | Close #3163.
* i2c: Fix EEPROM driver program timeout handlingSebastian Huber2017-10-021-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.
* i2c: Send MSB of address first for EEPROMsSebastian Huber2017-10-021-12/+21
| | | | Update #3161.
* Include missing <string.h>Sebastian Huber2017-08-251-0/+1
| | | | Update #2133.
* dev/i2c: Fix integer typeSebastian Huber2017-08-221-1/+1
| | | | Update #3082.
* dev/i2c: Add I2C device support for FPGA Slave, LM25066A, TMP112, ADS1113, ↵Chris Johns2017-08-204-0/+976
| | | | | | ADS1114 and ADS1115 Closes #3101.
* dev/i2c: Add Xilinx AXI I2C driver.Chris Johns2017-08-161-0/+943
| | | | | | This is a generic driver for use with Xilinx AXI I2C controller IP. Closes #3100.
* posix/mmap: Add support for file handler and MAP_ANONKevin Kirspel2017-07-142-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
* i2c: Fix return status of i2c dev read/writeSebastian Huber2015-07-231-6/+10
|
* IMFS: Replace node union with individual structSebastian Huber2015-01-272-18/+14
| | | | | | This reduces the average node size. Add and use IMFS_GENERIC_INITIALIZER().
* i2c: Do not close file descriptor 0 if open failsSebastian Huber2014-11-261-7/+6
|
* i2c: Avoid undefined right shift operationSebastian Huber2014-11-261-5/+8
|
* cpukit/dev/i2c/i2c-dev.c: Fix leak on error pathJoel Sherrill2014-11-251-2/+1
| | | | Coverity ID 1255520. fd was not closed on error path.
* i2c: Fix endian issueSebastian Huber2014-11-241-9/+14
|
* Add NXP PCA9548A 8-channel switch I2C driverSebastian Huber2014-11-201-0/+99
|
* Add NXP PCA9535 16-bit GPIO I2C driverSebastian Huber2014-11-201-0/+149
|
* Add generic EEPROM I2C device driverSebastian Huber2014-11-201-0/+260
|
* Add I2C driver frameworkSebastian Huber2014-11-202-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).