Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1564682 > unrolled thread

[PATCH v2 1/3] dt: bindings: add documentation for zx2967 family i2c controller

Started byBaoyou Xie <baoyou.xie@linaro.org>
First post2017-01-23 06:10 +0100
Last post2017-01-23 22:00 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH v2 1/3] dt: bindings: add documentation for zx2967 family i2c controller Baoyou Xie <baoyou.xie@linaro.org> - 2017-01-23 06:10 +0100
    Re: [PATCH v2 1/3] dt: bindings: add documentation for zx2967 family  i2c controller Rob Herring <robh@kernel.org> - 2017-01-23 22:00 +0100

#1564682 — [PATCH v2 1/3] dt: bindings: add documentation for zx2967 family i2c controller

FromBaoyou Xie <baoyou.xie@linaro.org>
Date2017-01-23 06:10 +0100
Subject[PATCH v2 1/3] dt: bindings: add documentation for zx2967 family i2c controller
Message-ID<t2F3c-2aT-5@gated-at.bofh.it>
This patch adds dt-binding documentation for zx2967 family
i2c controller.

Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org>
---
 .../devicetree/bindings/i2c/i2c-zx2967.txt         | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/i2c/i2c-zx2967.txt

diff --git a/Documentation/devicetree/bindings/i2c/i2c-zx2967.txt b/Documentation/devicetree/bindings/i2c/i2c-zx2967.txt
new file mode 100644
index 0000000..cb806d1
--- /dev/null
+++ b/Documentation/devicetree/bindings/i2c/i2c-zx2967.txt
@@ -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>;
+	};
-- 
2.7.4

[toc] | [next] | [standalone]


#1565301 — Re: [PATCH v2 1/3] dt: bindings: add documentation for zx2967 family i2c controller

FromRob Herring <robh@kernel.org>
Date2017-01-23 22:00 +0100
SubjectRe: [PATCH v2 1/3] dt: bindings: add documentation for zx2967 family i2c controller
Message-ID<t2TSy-2N8-23@gated-at.bofh.it>
In reply to#1564682
On Mon, Jan 23, 2017 at 01:03:24PM +0800, Baoyou Xie wrote:
> This patch adds dt-binding documentation for zx2967 family
> i2c controller.
> 
> Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org>
> ---
>  .../devicetree/bindings/i2c/i2c-zx2967.txt         | 22 ++++++++++++++++++++++
>  1 file changed, 22 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/i2c/i2c-zx2967.txt

Acked-by: Rob Herring <robh@kernel.org>

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web