dev: Add support for i2c devices
authorPeter Enns <Peter.Enns@arm.com>
Thu, 23 Apr 2015 17:37:48 +0000 (13:37 -0400)
committerPeter Enns <Peter.Enns@arm.com>
Thu, 23 Apr 2015 17:37:48 +0000 (13:37 -0400)
commit2e64590b884540820072b0ea95707f50da5b0a65
tree4b309a378d25580449523e002e428259c76a8e32
parentc8c4f66889686d621abe9393306d3aea1fda3782
dev: Add support for i2c devices

This patch adds an I2C bus and base device. I2C is used to connect a
variety of sensors, and this patch serves as a starting point to
enable a range of I2C devices.
src/dev/I2C.py [new file with mode: 0644]
src/dev/SConscript
src/dev/i2cbus.cc [new file with mode: 0644]
src/dev/i2cbus.hh [new file with mode: 0644]
src/dev/i2cdev.hh [new file with mode: 0644]