i2c: xiic: Implement power management
authorShubhrajyoti Datta <shubhraj@xilinx.com>
Wed, 2 Mar 2016 12:04:06 +0000 (17:34 +0530)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 3 Mar 2016 21:25:17 +0000 (22:25 +0100)
commit36ecbcab84d02381ab40363546616c0719adafdb
treefeb2b607c1aefd6ae2ded1cda522ddb475ec5733
parent33f5ccc343b7d15ea53f29be21dded7e38dd6c2d
i2c: xiic: Implement power management

Enable power management. This patch enables the clocks before transfer
and disables after the transfer. It also adds the clock description.

Signed-off-by: Shubhrajyoti Datta <shubhraj@xilinx.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Documentation/devicetree/bindings/i2c/i2c-xiic.txt
drivers/i2c/busses/i2c-xiic.c