From patchwork Mon Feb 6 03:26:07 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baoyou Xie X-Patchwork-Id: 9557067 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 2015F602B1 for ; Mon, 6 Feb 2017 03:28:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 15D0426C9B for ; Mon, 6 Feb 2017 03:28:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 086DB26E82; Mon, 6 Feb 2017 03:28:03 +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 A63E126C9B for ; Mon, 6 Feb 2017 03:28:02 +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 1caZyA-0004hQ-W8; Mon, 06 Feb 2017 03:27:59 +0000 Received: from mail-pf0-f180.google.com ([209.85.192.180]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1caZy6-0004g5-SK for linux-arm-kernel@lists.infradead.org; Mon, 06 Feb 2017 03:27:57 +0000 Received: by mail-pf0-f180.google.com with SMTP id 189so20100906pfu.3 for ; Sun, 05 Feb 2017 19:27:32 -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=Nwnge8gTY/239KD/My5TsAWGW8Q/1Rx71vunAZYoy6v3iW2lZjAG4mZMWWbyBut5at Gs8z9PjQ8qnSPMxtW7Q8xdmYs0bTtADZq1UUiifBHKtpXbT0DZ2Pvd2bYLM6OM/wbWj/ esa6ta8/fiJsn8FpfxY0khTglMsEFGClujieQ= 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=RPACVlKLWxtWSBJJddeHOgEo0wlwYDgG4uRLCt/k6vz4GfR2xP4PrUh8rWMkk0ybZ7 xhyR7LJGwOTETMs1xVDMToGhLcTN98cnhk+yuBfgDMYoNXSFjQWIzXefuMRAQ1qJP3Us yI4JZDHiRugC8dGe1YJWdMk7mshnp4N5KeDxt9yaecd3Vne+9aPz4KzXw2yeqADmDvSj CCptQ7fS0Mj8/cNxv5B5NUgI827vo/vB9Bd214oA7+YojKCDiZ5uia0EktQqL/YOl8Dk KI+rPbUgQixMWv12+uvgs4tvNNVBTCKXdUp8V6E8wHBXhhvivvq2zpi3fpS/rajIfX+f t8hw== X-Gm-Message-State: AIkVDXJoQWyMTRCanNPn7lFOccaINEkeTB4ZeG7xHbeYnXSzd/0ZXqSHRPqEXIhNctvaR6VY X-Received: by 10.98.65.15 with SMTP id o15mr10844386pfa.42.1486351592052; Sun, 05 Feb 2017 19:26:32 -0800 (PST) Received: from localhost.localdomain ([104.237.91.32]) by smtp.gmail.com with ESMTPSA id m12sm84794448pgc.46.2017.02.05.19.26.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 05 Feb 2017 19:26:31 -0800 (PST) From: Baoyou Xie To: 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 v4 1/3] dt: bindings: add documentation for zx2967 family i2c controller Date: Mon, 6 Feb 2017 11:26:07 +0800 Message-Id: <1486351569-4814-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-20170205_192754_946630_2D54699B X-CRM114-Status: GOOD ( 11.30 ) 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>; + };