From patchwork Wed Feb 8 09:11:05 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baoyou Xie X-Patchwork-Id: 9562029 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 7528860236 for ; Wed, 8 Feb 2017 09:14:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 67B7F2849D for ; Wed, 8 Feb 2017 09:14:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4D7872849E; Wed, 8 Feb 2017 09:14:14 +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=-0.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, HK_RANDOM_FROM,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 EAB482849D for ; Wed, 8 Feb 2017 09:14:13 +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 1cbOKI-0006RB-JH; Wed, 08 Feb 2017 09:14:10 +0000 Received: from mail-pg0-f51.google.com ([74.125.83.51]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cbOKE-0006P3-Hv for linux-arm-kernel@lists.infradead.org; Wed, 08 Feb 2017 09:14:08 +0000 Received: by mail-pg0-f51.google.com with SMTP id v184so47406014pgv.3 for ; Wed, 08 Feb 2017 01:13:46 -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=diTI1cdRwQ/0Tx4M5OxW051cVa/vj8TrDjxz+aO4otKD+vg51SWV8nvhTZS9YJkJi6 3IDthqgIDPML7CpPjl6540OBxgFtZetS7IRfrjQCiLqB5B5N/56bCS+nHsaeyirgEeAX zKm9avHPjPg8eMvlMvVCFstZ6b37KkyIvStlM= 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=rCv7HRTdDW06Jm3v7ZLlxlOAPyW5pTYy2E4Yymreha4LxvcvQ8LKNHFpcGp7jeiJzG nKIYN7HGz/wE19c1abDPz2YG0nS0DiK7mYXTBJ8f4xhpSEk2oCSO7NkrhIxchpLs59ee tkmdoZQfEmtKQKYnRsZgq/fwaWOyho4WnQPqzJdsnDbJZ+QuA6Ns79pOkt1Vz+ll/Zmb 4+hKw9zUjh6L1ZJnN2dfBg39jPX/V0kCXgU5FEhfffRd1KrC9UKE0sKTn6L67MuNP0hH SNPzs6/k4UW3rcmnp7IAJ6WgtGf5WlIFlqOZmw24KTSxhEsuG3IlPthEJFJNRCRCK2Bx LGxA== X-Gm-Message-State: AIkVDXK/MsYrTX07sPDHeVq9t1QCiD1OTPLG4RvCNtKYXTijAqRxdTSHthQAXo01jdMZfkZ2 X-Received: by 10.84.225.20 with SMTP id t20mr32740528plj.154.1486545165508; Wed, 08 Feb 2017 01:12:45 -0800 (PST) Received: from localhost.localdomain ([210.21.223.3]) by smtp.gmail.com with ESMTPSA id f188sm18139221pfa.35.2017.02.08.01.12.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 08 Feb 2017 01:12:44 -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 v5 1/3] dt: bindings: add documentation for zx2967 family i2c controller Date: Wed, 8 Feb 2017 17:11:05 +0800 Message-Id: <1486545067-4688-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-20170208_011406_638244_15D71E9E X-CRM114-Status: GOOD ( 12.26 ) 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, linux-i2c@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.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>; + };