
The i2c driver includes two parts. 1) Driver code to implement the i2c function. 2) Device tree binding documentation, it describes how to add the i2c in device tree.
Changes in v3: - Update the clk API.
Changes in v2: - Add code to get and enable clock. - Add phandles to input clocks
Songjun Wu (2): i2c: atmel: add i2c driver i2c: atmel: DT binding for i2c driver
doc/device-tree-bindings/i2c/i2c-at91.txt | 26 +++ drivers/i2c/Kconfig | 10 + drivers/i2c/Makefile | 1 + drivers/i2c/at91_i2c.c | 338 ++++++++++++++++++++++++++++++ drivers/i2c/at91_i2c.h | 77 +++++++ 5 files changed, 452 insertions(+) create mode 100644 doc/device-tree-bindings/i2c/i2c-at91.txt create mode 100644 drivers/i2c/at91_i2c.c create mode 100644 drivers/i2c/at91_i2c.h