From patchwork Mon Jan 23 05:03:24 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baoyou Xie X-Patchwork-Id: 92191 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp1068220qgi; Sun, 22 Jan 2017 21:03:59 -0800 (PST) X-Received: by 10.98.12.77 with SMTP id u74mr29959149pfi.116.1485147839712; Sun, 22 Jan 2017 21:03:59 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 10si14447093pgf.235.2017.01.22.21.03.59; Sun, 22 Jan 2017 21:03:59 -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 S1750734AbdAWFD6 (ORCPT + 1 other); Mon, 23 Jan 2017 00:03:58 -0500 Received: from mail-pg0-f42.google.com ([74.125.83.42]:34995 "EHLO mail-pg0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750731AbdAWFD6 (ORCPT ); Mon, 23 Jan 2017 00:03:58 -0500 Received: by mail-pg0-f42.google.com with SMTP id 194so41510228pgd.2 for ; Sun, 22 Jan 2017 21:03:57 -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=bgRSpjvNY543lWtY1AtOP7j79rXE2kj5JZInA3/YxSaTkj/KyMc6GlFv1U1MJ2AmXb BkY/VgCeWCwxwHNUG3PE9tQ58qrG0nADkubDHelHEh/1fM1vMJ03rpavfcGnrfvkRL/R Wl2bRdYj0ai8QGc6wFSD7+ZfgN1PV0Wysm8Es= 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=dSUYOMAw/U2EXxsqC3Bao/a/TyIBQyUDZ7Ij6LS6gwa/hh83a/pF95ojgHbyRCSUTL DUEnr4iyx0vQMnQwBV0xALBHlCpnXtxq4KcFyCZpH58goYkbKP7zSYk1oRNKF2qMOTto czr9XYD/ALOL2US8ZGO5PhVkSpFQpsrqT61ei7bJJcjVNSZl+cb4rrqEeFQ+8l7YxjtV A6M7yf5YeJhqyqji4cB43HFdXKj5paBVrTvkMonkyVwK/7ijXTQ0DQsBD4tPL8EZ6cFV T0h6L7VVem1VZ4sc9sgC1kr10sVtBa0ZTYlUyLgJK/cuFaX1GDkI2tP2101mltIYe/ia NA0A== X-Gm-Message-State: AIkVDXJpawOHAFpQQeOvpOR5U+Wsg/WX6Jbmcxo1gXdmJ3D3gg0zPiKKDL8jyVdRv9nHyQUb X-Received: by 10.98.117.10 with SMTP id q10mr29706550pfc.31.1485147837402; Sun, 22 Jan 2017 21:03:57 -0800 (PST) Received: from localhost.localdomain ([104.237.91.105]) by smtp.gmail.com with ESMTPSA id g70sm32790439pfb.50.2017.01.22.21.03.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 22 Jan 2017 21:03:56 -0800 (PST) From: Baoyou Xie To: andy.shevchenko@gmail.com, 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 v2 1/3] dt: bindings: add documentation for zx2967 family i2c controller Date: Mon, 23 Jan 2017 13:03:24 +0800 Message-Id: <1485147806-17792-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 --- .../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 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..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>; + };