From patchwork Sun May 28 04:59:35 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shawn Guo X-Patchwork-Id: 100612 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp904526qge; Sat, 27 May 2017 22:00:44 -0700 (PDT) X-Received: by 10.98.70.198 with SMTP id o67mr10662733pfi.79.1495947644387; Sat, 27 May 2017 22:00:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1495947644; cv=none; d=google.com; s=arc-20160816; b=r55UyJRuYqfRDIYv7YLzAsprA8qSZt3DD6Y4/QbjzoJ+EsMR6F5A3ox8CSkorvOCyE qW2yeNGpO3CTYbEj2kg2EUMTBtiQP7rKvwqMa/vAWtlYUOmApE6arWxqflPFHjcNxKhU 1MXnnSbV51qdj2N+RNdwpIFyOq3KNZz0o9kEwPFeNv5SOMCpDZPINjWks1Po1kzfYOtj ctiBLVZ1EiyoVAWsZmu4you+BMGZFvaOxWsFBL1BqOJ5P7pZYPEDHhq9cik4aj2uKdGH YC5BHILnMXcSFqhssA+aWMsySN4qiKKwKuTONu0NAbxIEg1LM8vyudFxoZOiQ5GiBEU9 vYew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dmarc-filter:arc-authentication-results; bh=Ofy374rG4ronpbNdzyKbk5fBFYkMXjPuwKZe+mGWrhc=; b=lRCDo3p1XMTShdJpIka4r1KJMO/z8vZEWpmGbGroWn66BD5+qVisjpudlV0Gh/Pfg0 /T6v2XakMW7SY0HcJaDuAec5bqb7nIl0zMDx4RudWa7+NkGi6E30vPm3/+clvVrjOwmN DEQD1xFc3YIfUER39KQeoVkq5ntflsXhjBjmYjzR15QWl5H6btw3ZbhLBwnUlFTIOPKT MjyVO2MB9Jyi3/GrnXH492e+M5eyb6++QGooVu4pQUQijJWbGHwl/JJUQ7WhyyhPLCdN jSKUQWk31VH9K/ZYy3BRhJCWwL6s0UGTvAgyeTJ3n+ZLKboyp6gFIdemgjvlLTpwuhhX OG0g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-i2c-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-i2c-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u140si6059018pgb.25.2017.05.27.22.00.44; Sat, 27 May 2017 22:00:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-i2c-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-i2c-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-i2c-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750890AbdE1FAn (ORCPT + 1 other); Sun, 28 May 2017 01:00:43 -0400 Received: from mail.kernel.org ([198.145.29.99]:40882 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750886AbdE1FAn (ORCPT ); Sun, 28 May 2017 01:00:43 -0400 Received: from localhost.localdomain (li411-102.members.linode.com [106.187.91.102]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D453023A02; Sun, 28 May 2017 05:00:40 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D453023A02 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=shawnguo@kernel.org From: Shawn Guo To: Wolfram Sang Cc: linux-i2c@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Baoyou Xie , Xin Zhou , Baoyou Xie , Shawn Guo Subject: [PATCH 1/2] dt: bindings: add documentation for zx2967 family i2c controller Date: Sun, 28 May 2017 12:59:35 +0800 Message-Id: <1495947576-11037-2-git-send-email-shawnguo@kernel.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1495947576-11037-1-git-send-email-shawnguo@kernel.org> References: <1495947576-11037-1-git-send-email-shawnguo@kernel.org> Sender: linux-i2c-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org From: Baoyou Xie This patch adds dt-binding documentation for zx2967 family i2c controller. Signed-off-by: Baoyou Xie Acked-by: Rob Herring Signed-off-by: Shawn Guo --- .../devicetree/bindings/i2c/i2c-zx2967.txt | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Documentation/devicetree/bindings/i2c/i2c-zx2967.txt -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-i2c" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/Documentation/devicetree/bindings/i2c/i2c-zx2967.txt b/Documentation/devicetree/bindings/i2c/i2c-zx2967.txt new file mode 100644 index 000000000000..cb806d1ae4c9 --- /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 = ; + clocks = <&osc24m>; + #address-cells = <1> + #size-cells = <0>; + clock-frequency = <1600000>; + };