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: 93605 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp2587697qgi; Wed, 8 Feb 2017 01:13:04 -0800 (PST) X-Received: by 10.99.168.76 with SMTP id i12mr25613517pgp.73.1486545184357; Wed, 08 Feb 2017 01:13:04 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k184si6593765pgd.257.2017.02.08.01.13.04; Wed, 08 Feb 2017 01:13:04 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933120AbdBHJNC (ORCPT + 25 others); Wed, 8 Feb 2017 04:13:02 -0500 Received: from mail-pf0-f177.google.com ([209.85.192.177]:35505 "EHLO mail-pf0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933040AbdBHJMw (ORCPT ); Wed, 8 Feb 2017 04:12:52 -0500 Received: by mail-pf0-f177.google.com with SMTP id f144so40946326pfa.2 for ; Wed, 08 Feb 2017 01:12: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=AzM6hl2BUBmn4Dv440AqPhCEkIAdsICiZjKMgb98rqyglSKgsjEOG7QvAVZdnu3Uic 5OL4XjIxnRtFhOEJBXNDETG9OfiIAyUZIdL14O9xTpFV2ItW+HpD0RZKnVCCecimFLF1 aeDXf1X6ISei2eEyTxqFPCzfhfhw0nowLjeJMB+okptO2QZq2zlS5FhqUVk5Oh5U6U14 ttFI53QxsyRgC76RirkeiLIeB38PBW8+BdGQDFHLKOTCSFJpkpFluvEI8iLChM+O9+Ui J8g8MMbB+rnGOWknhuS6p0O9ocw64d08utTCu66npASW4KvLSnXdMYMiHswfNjcI/IN4 iNxQ== X-Gm-Message-State: AIkVDXIlRpWUey5DbSonKjqvdAepWf9Kn1IyN/4PKrxNuYWjKVeDY1VI++qe+eedu2aeRZZu 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 Cc: linux-arm-kernel@lists.infradead.org, linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org 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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 -- 2.7.4 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>; + };