From patchwork Thu Jan 26 13:00:29 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baoyou Xie X-Patchwork-Id: 9539221 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 8B59060429 for ; Thu, 26 Jan 2017 13:02:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8313D27DF9 for ; Thu, 26 Jan 2017 13:02:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 769282818E; Thu, 26 Jan 2017 13:02:55 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, T_DKIM_INVALID autolearn=no version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 2215427DF9 for ; Thu, 26 Jan 2017 13:02:54 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cWjhU-0000m6-N4; Thu, 26 Jan 2017 13:02:52 +0000 Received: from mail-pg0-f48.google.com ([74.125.83.48]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cWjhR-0000ih-BA for linux-arm-kernel@lists.infradead.org; Thu, 26 Jan 2017 13:02:50 +0000 Received: by mail-pg0-f48.google.com with SMTP id 14so72586062pgg.1 for ; Thu, 26 Jan 2017 05:02:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=nLWgtdXGHbDVppQDPSbOuqiqWKNGveeVWRY+YIb/lZk=; b=E3OOEIgRopcjKjPXLZOEJyr6qNzFoQ23fXhfRx5s2dev4vA8sq2AwqRejfoszmfCqC IcGAwbRBEuGdXarTeXmYRHGKfS8ahpisGQBsl7JqNEzQ/wsxTSpUK8bwsvohNu/oXSjA ed+qjObqUN29XHRWEb0BkKnGk8TTFZV6Np1oI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=nLWgtdXGHbDVppQDPSbOuqiqWKNGveeVWRY+YIb/lZk=; b=Q98DD/FOrwXg6+/3MevVBXICJnpUx1lsTJ/InffWACeoBVwrCbah1mfVcKvngwk9k8 fq/vtc262hav1DoLY8RRQ4U+svhuz9tSbRe2dWzTkJuigBV5386QAX61c6Yo1ylTBqiI k7yrkrgAnVIf8tyoNo3oPpejJff/2W0sTMAM55Q9GRz4by7eXIcGkFxzTYkaLS7ZLQyR DsKCekPQiHAZ1jqzKyeU7rBcrPeaM4A3my9s3bwn+1TW0OjS0xyBMIHO+KVujtiWvNVo wzR6f8Ig++UKJ0nCjnbg9oOGymXn3p1spOYyrSn8Qe1pHWa5U3DUD/zt2phpMxt/0Btz TRlQ== X-Gm-Message-State: AIkVDXJCqDrqCv8u3BxwZ6MR8kn9CyNLIwTvvZ94QnsipUSbHszsArxL+y0AU+lK08H69zGB X-Received: by 10.99.106.199 with SMTP id f190mr2927766pgc.110.1485435688133; Thu, 26 Jan 2017 05:01:28 -0800 (PST) Received: from localhost.localdomain ([45.56.152.22]) by smtp.gmail.com with ESMTPSA id r8sm3557596pfi.82.2017.01.26.05.01.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 26 Jan 2017 05:01:27 -0800 (PST) From: Baoyou Xie To: andy.shevchenko@gmail.com, jun.nie@linaro.org, wsa@the-dreams.de, robh+dt@kernel.org, mark.rutland@arm.com Subject: [PATCH v3 1/3] dt: bindings: add documentation for zx2967 family i2c controller Date: Thu, 26 Jan 2017 21:00:29 +0800 Message-Id: <1485435631-32642-1-git-send-email-baoyou.xie@linaro.org> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170126_050249_412588_732C8BDB X-CRM114-Status: GOOD ( 12.01 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, xie.baoyou@zte.com.cn, linux-kernel@vger.kernel.org, chen.chaokai@zte.com.cn, linux-i2c@vger.kernel.org, wang.qiang01@zte.com.cn, baoyou.xie@linaro.org, shawnguo@kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds dt-binding documentation for zx2967 family i2c controller. Signed-off-by: Baoyou Xie Acked-by: Rob Herring --- .../devicetree/bindings/i2c/i2c-zx2967.txt | 24 ++++++++++++++++++++++ 1 file changed, 24 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..a528374 --- /dev/null +++ b/Documentation/devicetree/bindings/i2c/i2c-zx2967.txt @@ -0,0 +1,24 @@ +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 = ; + clocks = <&osc24m>; + #address-cells = <1> + #size-cells = <0>; + clock-frequency = <1600000>; + pinctrl-names = "default"; + pinctrl-0 = <&i2c_global_pin>; + };