Essential Linux Device Drivers

Category: Operating Systems
Author: Sreekrishnan Venkateswaran
3.0
All Stack Overflow 7
This Month Stack Overflow 1

Comments

by anonymous   2017-08-20
  1. Linux Device Drivers - Jonathan Corbet, Alessandro Rubini, and Greg Kroah-Hartman
  2. Essential Linux Device Drivers - Sreekrishnan Venkateswaran
  3. Writing Linux Device Drivers - Jerry Cooperstein
by anonymous   2017-08-20

I think a character device driver implementing mmap should be adequate. Linux Device Drives covers that in chapter 15.

Edit:

Well, i2c is a serial bus, so mmap is not an option. I will refer you to Essential Linux Device Drivers book. I believe it has a sample i2c EEPROM char device driver in Chapter 8. Hope this helps.