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: 93382 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp1538925qgi; Sun, 5 Feb 2017 19:26:35 -0800 (PST) X-Received: by 10.98.8.11 with SMTP id c11mr10727158pfd.135.1486351595707; Sun, 05 Feb 2017 19:26:35 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 77si27743129pgc.364.2017.02.05.19.26.35; Sun, 05 Feb 2017 19:26:35 -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 S1753219AbdBFD0d (ORCPT + 1 other); Sun, 5 Feb 2017 22:26:33 -0500 Received: from mail-pf0-f172.google.com ([209.85.192.172]:33128 "EHLO mail-pf0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752878AbdBFD0c (ORCPT ); Sun, 5 Feb 2017 22:26:32 -0500 Received: by mail-pf0-f172.google.com with SMTP id y143so20122473pfb.0 for ; Sun, 05 Feb 2017 19:26: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=EYWNOZaYciaCIiczgVpImY0XcKxIW0te9trAoLIEZRfpRUNCNh84O2LFa41F/WNlpZ 9dJsE4pLvLl56astVKRJjup5/QYsrvtn+xUgobfvGzmCKvFIXtnia0PfznspPVOKozXH 8oyh7qiBdkV8v1M0WqcLJcuxaglWx+fTA/VwGnLwsomiyMrbu8iQNlZnBzKEI8aWq6kn A2tVO1LOYYaWaxjkr5eYkWCPY/TY06BTOVwaiDEVrShLNRokKaCAnNoFmVo+sJOvJx61 ItjNj9g5YMgzBwRAwsofA/utxqwqsxkf/EuGF9I16yRYcdSkWMfCi9EouhTdPdX6r8xb N6Hg== X-Gm-Message-State: AIkVDXLPVqE8W1FGalKrNUGtxW4BzgP/EoqJxM/kx2nzykkSE4mxNZICT3Kf/64BaO/ZSOAG 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 Cc: linux-arm-kernel@lists.infradead.org, linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org 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 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>; + };