Basic I2C Driver for Beginners

Hello :),

I am currently working on I2C in my beaglebone black. And I accessed my I2C device (EEPROM) through I2C utilities (I2Cget and I2Cset) and /dev interface. Now I want to learn how to write a kernel driver for my I2C client.

Can anyone please share good tutorial ? Links ? or Simple I2C driver ? to understand the concepts.

Thanks :slight_smile:

You can start with the basic kernel driver docs and go from there:

Or or, u should watch this awesome tutorial :