summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/i2c/i2c-xiic.txt
diff options
context:
space:
mode:
authorShubhrajyoti Datta <shubhraj@xilinx.com>2016-03-02 17:34:06 +0530
committerWolfram Sang <wsa@the-dreams.de>2016-03-03 22:25:17 +0100
commit36ecbcab84d02381ab40363546616c0719adafdb (patch)
treefeb2b607c1aefd6ae2ded1cda522ddb475ec5733 /Documentation/devicetree/bindings/i2c/i2c-xiic.txt
parent33f5ccc343b7d15ea53f29be21dded7e38dd6c2d (diff)
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>
Diffstat (limited to 'Documentation/devicetree/bindings/i2c/i2c-xiic.txt')
-rw-r--r--Documentation/devicetree/bindings/i2c/i2c-xiic.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/i2c/i2c-xiic.txt b/Documentation/devicetree/bindings/i2c/i2c-xiic.txt
index ceabbe91ae44..caf42e989462 100644
--- a/Documentation/devicetree/bindings/i2c/i2c-xiic.txt
+++ b/Documentation/devicetree/bindings/i2c/i2c-xiic.txt
@@ -6,14 +6,17 @@ Required properties:
- interrupts : IIC controller unterrupt
- #address-cells = <1>
- #size-cells = <0>
+- clocks: Input clock specifier. Refer to common clock bindings.
Optional properties:
- Child nodes conforming to i2c bus binding
+- clock-names: Input clock name, should be 'pclk'.
Example:
axi_iic_0: i2c@40800000 {
compatible = "xlnx,xps-iic-2.00.a";
+ clocks = <&clkc 15>;
interrupts = < 1 2 >;
reg = < 0x40800000 0x10000 >;