From patchwork Wed Feb 22 09:18:50 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baoyou Xie X-Patchwork-Id: 9586453 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 C3614600CA for ; Wed, 22 Feb 2017 09:19:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9F6BE212E8 for ; Wed, 22 Feb 2017 09:19:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 93D26288AD; Wed, 22 Feb 2017 09:19:38 +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.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HK_RANDOM_FROM autolearn=ham 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 2AE9E237A5 for ; Wed, 22 Feb 2017 09:19:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=QXx/1x52X/lbWvXSv0DKkq3u3PX2zPLaB3tqMpcRJ0c=; b=iBW W/F26PD+EnnGswop9yogA96AE9lYWeO6na2aDhpb0XzQA/EfylDO3h3wA7yZ2diUXFRHviOItASSE gjM1f6/eftvhFKLZ8dt0UM532h8Tl9q9Bdkr/D9hQYWx6c3CdUtZ7h4CZSvaf+qPv39WntHySY5jk MYaNw9F9bepOQF5+OMOwH+cL1sB7HYcxEEv6GMjDRvFjLxqRxSjgLd8T66PDNNr4ar3w9tczDFVN7 L+zN4RgYK2RLUqVuKExNW18pT+CpgYDTQbnjHR6tL4DnbhhyQcqLg2NO1Enjqua+vudp5Ay+yJ4FP sEc8VK8YkFD6/bVVu+tMH3iCjPN+gRQ==; 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 1cgT5F-0007v7-B9; Wed, 22 Feb 2017 09:19:37 +0000 Received: from mail-pg0-x22b.google.com ([2607:f8b0:400e:c05::22b]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cgT5B-0007nn-Ph for linux-arm-kernel@lists.infradead.org; Wed, 22 Feb 2017 09:19:35 +0000 Received: by mail-pg0-x22b.google.com with SMTP id b129so4636615pgc.2 for ; Wed, 22 Feb 2017 01:19:13 -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=RXM7wRxE6C9e4tMDSvV74T+McOeWMKHzL4RvHbjQOjZhAbParWC1vIR+SWn91ave2P ZdmlkFX+vnfoVAJ/xF06zdCalIU5wVLZLgZutxan2kBjLB/3x5Hm9OiRQyPksMPejQiP cOEfx9emqR/NWNMNylt0L2hwxlcaV00npZeY0= 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=C+gy9JSbxVeGLUyRBOKsMc5XC3lVuqMPxZiuDEJpJxLTlcNSQ7YPdxSSHIS5so4NyA ijX5E/gVlkURddRr+cZYdpm/dvSZRAvAyCz/XHrjH0ySiJb5TdQu0Tmi3nKaS5stngtA gg3781INOOl3OayebLGWlczmuYp4Rm5YGuyLXVbdgF/a7pDLaFR8X2q8wKkchk49W9KT d01dMGuzlFxGYshfYo6N5WbbZUDxqXupOQlYCC49F07M4WGdeSk78wdo8iK50/ZsdHsA 65nRjHqJuf0KiQC/naSLstJOHLH4+6KFWKmk9i7rhweKYQ9ypQ6X9lY3h5scf1xoSRH4 CfGw== X-Gm-Message-State: AMke39kxR3HNwD31FKO/9NGj46bmAzIDY/RU16KxlXHugZosqHdfUeFghGmeSnzlT2eaoBEg X-Received: by 10.84.128.8 with SMTP id 8mr12335175pla.24.1487755152449; Wed, 22 Feb 2017 01:19:12 -0800 (PST) Received: from localhost.localdomain ([104.237.91.179]) by smtp.gmail.com with ESMTPSA id r1sm2218140pgn.47.2017.02.22.01.19.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 22 Feb 2017 01:19:11 -0800 (PST) From: Baoyou Xie To: shawnguo@kernel.org, andy.shevchenko@gmail.com, jun.nie@linaro.org, baoyou.xie@linaro.org, wsa@the-dreams.de, robh+dt@kernel.org, mark.rutland@arm.com Subject: [PATCH v8 1/3] dt: bindings: add documentation for zx2967 family i2c controller Date: Wed, 22 Feb 2017 17:18:50 +0800 Message-Id: <1487755132-7730-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-20170222_011933_913703_3A132E09 X-CRM114-Status: GOOD ( 11.67 ) 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, 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>; + };