Skip to content

Commit

Permalink
dt: bindings: add documentation for zx2967 family i2c controller
Browse files Browse the repository at this point in the history
This patch adds dt-binding documentation for zx2967 family
i2c controller.

Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
  • Loading branch information
Baoyou Xie authored and Wolfram Sang committed Jun 23, 2017
1 parent 606fd27 commit c002250
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions Documentation/devicetree/bindings/i2c/i2c-zx2967.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
ZTE zx2967 I2C controller

Required properties:
- compatible: must be "zte,zx296718-i2c"
- reg: physical address and length of the device registers
- interrupts: a single interrupt specifier
- clocks: clock for the device
- #address-cells: should be <1>
- #size-cells: should be <0>
- clock-frequency: the desired I2C bus clock frequency.

Examples:

i2c@112000 {
compatible = "zte,zx296718-i2c";
reg = <0x00112000 0x1000>;
interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&osc24m>;
#address-cells = <1>
#size-cells = <0>;
clock-frequency = <1600000>;
};

0 comments on commit c002250

Please sign in to comment.