]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit282b1e2487f5fb7cb2e67d830b82a7988610b223
treeebade77ae1a25a56e822feed87c7135d01500083
parent989e8e7abaf2a1087508d5352ba09d287d8fd974
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