I2C Linux Device Driver
The major driver is composed of the following:
- Adapter specific code: /drivers/i2c/busses/i2c-xxxx.c
- Algorithm: /drivers/i2c/algos/i2c-algo-xxxx.c
- I2C-core: /drivers/i2c/i2c-core.c
- I2C-dev: /drivers/i2c/i2c-dev.c The I2C-dev block allows the userland program to access the I2C device (ex, EEPROM, RTC) through the /dev interface.
I2C Test Tools on Linux
i2c-tools
eeprog
Reference: