From patchwork Fri Jan 20 08:43:45 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baoyou Xie X-Patchwork-Id: 92034 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp677262qgi; Fri, 20 Jan 2017 00:45:35 -0800 (PST) X-Received: by 10.99.168.76 with SMTP id i12mr15486513pgp.73.1484901935634; Fri, 20 Jan 2017 00:45:35 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h5si6197186plk.30.2017.01.20.00.45.35; Fri, 20 Jan 2017 00:45:35 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-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 devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 S1751495AbdATIpe (ORCPT + 7 others); Fri, 20 Jan 2017 03:45:34 -0500 Received: from mail-pg0-f42.google.com ([74.125.83.42]:35617 "EHLO mail-pg0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751459AbdATIpd (ORCPT ); Fri, 20 Jan 2017 03:45:33 -0500 Received: by mail-pg0-f42.google.com with SMTP id 194so22022202pgd.2 for ; Fri, 20 Jan 2017 00:44:21 -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=esXtSZzkCgPRzr8MZ/ZGwQD7QdaPg+AIYui8nLWzTI8=; b=BN02XXM5EGIbfp8hmso7QwATkFYKUWsQdxl23d5llWcGNQsO1Eay1xNxPVB6KZ6b0t 59rAhvM0Hp9nDizkhEF/J+elIUKdTluX83kzUlqOaDjCp4P8XjItwpvEq+sJRmFl2XlO ilGw4isl2AJOHgPqNqwg6ZYbqsjxYOF/vg5co= 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=esXtSZzkCgPRzr8MZ/ZGwQD7QdaPg+AIYui8nLWzTI8=; b=peGWxZz+Hi5x8JfZuPdnbQrMWqtwz042/PSf3lP06MaYxPz57svd1uka1icKf02KZS 22B4brxcnha7h1EbxaB7/cf3gtIpo4g6mk84HlDJQS//VdkefSYy1lO3PYA5yEw9gafB yMFbS4v0edZfRmFCFC+bxjAG4S3/mkjer6Fp/m2slPb9TxwYaGFWwVJws/GnDil2wvOD GlaCnxKVhVqgubT68/wi1QzcxMpO8j+HuTXAUWgRTymY6AIXn92ONQ+K5i+NaXCP3kjQ XFE5tffPnU14YiL35FY/yj+3RIEA0mlfwIuPygcCJt6kcmTTsRHyBzuKK0LaTXMxTmoU UdTA== X-Gm-Message-State: AIkVDXJcCLuZl7CJI31onHOstVCpKPU+wHmhSoCczNcCjPS97yHaOXsR6n3afwK6KM7+0aUX X-Received: by 10.98.103.195 with SMTP id t64mr15083756pfj.106.1484901860666; Fri, 20 Jan 2017 00:44:20 -0800 (PST) Received: from localhost.localdomain ([104.237.91.89]) by smtp.gmail.com with ESMTPSA id 16sm14575255pfk.54.2017.01.20.00.44.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 20 Jan 2017 00:44:19 -0800 (PST) From: Baoyou Xie To: jun.nie@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, shawnguo@kernel.org, baoyou.xie@linaro.org, xie.baoyou@zte.com.cn, chen.chaokai@zte.com.cn, wang.qiang01@zte.com.cn Subject: [PATCH v1 1/3] dt: bindings: add documentation for zx2967 family i2c controller Date: Fri, 20 Jan 2017 16:43:45 +0800 Message-Id: <1484901827-16369-1-git-send-email-baoyou.xie@linaro.org> X-Mailer: git-send-email 2.7.4 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This patch adds dt-binding documentation for zx2967 family i2c controller. Signed-off-by: Baoyou Xie --- .../devicetree/bindings/i2c/i2c-zx2967.txt | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Documentation/devicetree/bindings/i2c/i2c-zx2967.txt -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe devicetree" 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..cb806d1 --- /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>; + };