From patchwork Thu Jun 22 12:56:54 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shawn Guo X-Patchwork-Id: 106208 Delivered-To: patch@linaro.org Received: by 10.182.29.35 with SMTP id g3csp119123obh; Thu, 22 Jun 2017 05:58:30 -0700 (PDT) X-Received: by 10.84.143.100 with SMTP id 91mr2870891ply.186.1498136310691; Thu, 22 Jun 2017 05:58:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1498136310; cv=none; d=google.com; s=arc-20160816; b=jumT6l4Xoa9ITheUonL+ljKBZ+q6Svm1J1K5jw13TLCwbGvVcpkHWFt4n3VvJ8kEi+ h/y6Fsk/QLD+3jczeScKqypkTbBlVndkJAv8/c4GI02AaXDFVbA21XLUPOQyUgkkx9GE R+lDjwI3smM1AbgOfOQZGjngQBVc8Ill26zfIBHOb064ptvmuy2VNMLjYnTjpC6VmPD1 nQowKRwIuWbIGGPecK9pQ+qWhjye60CBLkoj/RxH/BQoTkYvA1vhjcPjbc2ANcqnXyPB oAM2++8bALs5nYkcJvzILJ1Zv1dNv1bAr9SA5075/AcsPIKuTJXfuO2g3yPbcDD8yfOf phXQ== 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=AaUvKPTHT3GMvubyuK+lw4X7AkEPCWITZUgz5pO+yuQ=; b=uXKngm/6jR1MunupNQDW8XPQcG+pfYUIyoPHT+ZSmL1GJqTFMYx3c2bz2GZGigsBbu GbWPPn/daC13sqSF1FO2V0Mbn+U9jcxwMrzezqeXVBhy7z5UmISz3QPQgG2FryLO/7xz 0F3/z0lBvMr9Yt+ZNcd2X7E9sD56TQDuzTHxVg/cBH/FzoWk/KmfJ6FHEyhrJWDoyKeM LuDDFrzPm5PCwW24wLUYOay2EcnsidI67DxPxJ8BePjZb4Ud2oRgrVi2UsapRG+xmP07 u/eNcYw9smpIm8IKEDz6lT/AKNVRpMMO+ZktOuCkTwagwVtYjD7lXkWj6QA5kgOmaA8k f68g== 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 x13si161907pff.83.2017.06.22.05.58.30; Thu, 22 Jun 2017 05:58:30 -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 S1751164AbdFVM6a (ORCPT + 1 other); Thu, 22 Jun 2017 08:58:30 -0400 Received: from mail.kernel.org ([198.145.29.99]:57670 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750847AbdFVM63 (ORCPT ); Thu, 22 Jun 2017 08:58:29 -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 1B40922B60; Thu, 22 Jun 2017 12:58:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1B40922B60 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: Baoyou Xie , Xin Zhou , Jun Nie , linux-i2c@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Baoyou Xie , Shawn Guo Subject: [PATCH v2 1/2] dt: bindings: add documentation for zx2967 family i2c controller Date: Thu, 22 Jun 2017 20:56:54 +0800 Message-Id: <1498136215-8102-2-git-send-email-shawnguo@kernel.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1498136215-8102-1-git-send-email-shawnguo@kernel.org> References: <1498136215-8102-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 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>; + };