Hammer I2C Driver

From eLinux.org
Jump to: navigation, search

Start by entering the kernel config with the "make menuconfig" command, then choose the "Device Drivers" section Kernel1.jpg


use the up/down arrow keys to move to the "I2C Support" Section and use the space bar to select Kernel2.jpg


use the up/down arrow keys to move to the "I2C Device Interface" Section and use the space bar to select Kernel3.jpg


use the up/down arrow keys to move to the "I2C Hardware Bus support" Section and use the space bar to select Kernel4.jpg


use the up/down arrow keys to move to the "S3C2410 I2C Driver" Section and use the space bar to select Kernel5.jpg


tab to the "Exit" option and move back one screen
then use the up/down arrow keys to move to the "Miscellaneous I2C Chip Support" Section and use the space bar to select Kernel6.jpg


there are a number of supported base drivers to select Kernel7.jpg


i2c-* device files, usually found in the /dev directory on your system. They make it possible to have user-space programs use the I2C bus. Information on how to do this is contained in the file Documentation/i2c/dev-interface in the linux source tree.