i2c: davinci: Add helper functions for power management
commit5ae5b1136e0c434b076ab1f9cb39deebf6187f55
authorChaithrika U S <chaithrika@ti.com>
Wed, 6 Jan 2010 09:24:58 +0000 (6 14:54 +0530)
committerKevin Hilman <khilman@deeprootsystems.com>
Thu, 5 Aug 2010 16:38:32 +0000 (5 09:38 -0700)
treec9d9f9b0f7f6ef6528e537c20d963738dd712775
parentc062a2518d35a76e7db8519b2292191a47e3ab79
i2c: davinci: Add helper functions for power management

Add i2c reset control and clock divider calculation functions
which will be useful for power management features.

Signed-off-by: Chaithrika U S <chaithrika@ti.com>
Acked-by: Kevin Hilman <khilman@deeprootsystems.com>
drivers/i2c/busses/i2c-davinci.c