i2c: OMAP: Add DT support for i2c controller
authorBenoit Cousson <b-cousson@ti.com>
Thu, 22 Dec 2011 14:56:36 +0000 (15:56 +0100)
committerBen Dooks <ben-linux@fluff.org>
Tue, 17 Jan 2012 22:44:57 +0000 (22:44 +0000)
commit6145197be6cc0583fa1a2f4ec1079d366137061e
treeebade77ae1a25a56e822feed87c7135d01500083
parent78e1cf42ee3efd2c3e8af0b97cf0a0a570cc0c1f
i2c: OMAP: Add DT support for i2c controller

Add initial DT support to retrieve the frequency using a
DT attribute instead of the pdata pointer if of_node exist.

Add documentation for omap i2c controller binding.

Based on original patches from Manju and Grant.

Signed-off-by: Benoit Cousson <b-cousson@ti.com>
Cc: Ben Dooks <ben-linux@fluff.org>
Reviewed-by: Rob Herring <rob.herring@calxeda.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Kevin Hilman <khilman@ti.com>
Documentation/devicetree/bindings/i2c/omap-i2c.txt [new file with mode: 0644]
drivers/i2c/busses/i2c-omap.c