From patchwork Thu Feb 16 06:00:42 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baoyou Xie X-Patchwork-Id: 94042 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp2360799qgi; Wed, 15 Feb 2017 22:01:21 -0800 (PST) X-Received: by 10.99.94.195 with SMTP id s186mr730718pgb.198.1487224881570; Wed, 15 Feb 2017 22:01:21 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 85si5958180pfq.219.2017.02.15.22.01.21; Wed, 15 Feb 2017 22:01:21 -0800 (PST) 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; dkim=neutral (body hash did not verify) header.i=@linaro.org; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753922AbdBPGBT (ORCPT + 1 other); Thu, 16 Feb 2017 01:01:19 -0500 Received: from mail-pf0-f170.google.com ([209.85.192.170]:34231 "EHLO mail-pf0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753552AbdBPGBG (ORCPT ); Thu, 16 Feb 2017 01:01:06 -0500 Received: by mail-pf0-f170.google.com with SMTP id e4so3018367pfg.1 for ; Wed, 15 Feb 2017 22:01:06 -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=COxK024cyqUPPJdZyPBthGqQmGgo/QHtToxuwXAbjWFLSm57KO/XI38F8Ffpi1SELR 4aT6NtjQEt/bGHMERrQUxw70l/giGwdYymyI6rswFXRhyNn4OA36j4fiCgN57RaYRDSU 1d8Ed5E4PlIv0sdaqhq+QtaOI4f0MyqqGQTWM= 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=Zyzon/UQFi+/4jPiOBQEf50xpCjgrDVFROY6hFJN97S93ellf/AIY5SE79VAvv7DaI avlt4w7BJ5ABfftPwnkcmMz9VTWDEEZDhf5fEPy5APLdY3+2GxOyhq2IeCcY8iWLnH0W FQpJq2JCzQDXYm3rmnHR/NBXuwS4Ng9lXRiaoleQws8A6dX93qJWFzusvSpnjnUEv6Xl s+XJyYQO8tboGAwiV/T7W66tGsvmNv172Lp4Hx5PkUSNvEa1h8Ucku5DWKX53i8u80Pg tx9QEGAdIbw3nO9zAPn1I4jFQ2pYK/vaUOOiB6Oi5UuWxL0k41gvaS0jHtAO2u0J9oYO Q0YA== X-Gm-Message-State: AMke39kPC8yuSSkbnvWhYgIgcki78KkyX9WMl9WZ7lNbrNhr6Gn7fCVn9vGCnaNvkYgeElJh X-Received: by 10.99.99.5 with SMTP id x5mr674565pgb.225.1487224865463; Wed, 15 Feb 2017 22:01:05 -0800 (PST) Received: from localhost.localdomain ([104.237.91.216]) by smtp.gmail.com with ESMTPSA id d69sm10804333pfd.11.2017.02.15.22.00.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 15 Feb 2017 22:01:04 -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, xie.baoyou@zte.com.cn, chen.chaokai@zte.com.cn, wang.qiang01@zte.com.cn Subject: [PATCH v7 1/3] dt: bindings: add documentation for zx2967 family i2c controller Date: Thu, 16 Feb 2017 14:00:42 +0800 Message-Id: <1487224844-10973-1-git-send-email-baoyou.xie@linaro.org> X-Mailer: git-send-email 2.7.4 Sender: linux-i2c-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-i2c@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 -- 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 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>; + };