From patchwork Thu Feb 9 09:32:31 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baoyou Xie X-Patchwork-Id: 93684 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp162808qgi; Thu, 9 Feb 2017 01:41:58 -0800 (PST) X-Received: by 10.99.56.94 with SMTP id h30mr2839825pgn.23.1486633318218; Thu, 09 Feb 2017 01:41:58 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c1si9624279pld.50.2017.02.09.01.41.57; Thu, 09 Feb 2017 01:41:58 -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 S1752610AbdBIJl4 (ORCPT + 7 others); Thu, 9 Feb 2017 04:41:56 -0500 Received: from mail-pg0-f44.google.com ([74.125.83.44]:33516 "EHLO mail-pg0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752276AbdBIJlz (ORCPT ); Thu, 9 Feb 2017 04:41:55 -0500 Received: by mail-pg0-f44.google.com with SMTP id 204so56671484pge.0 for ; Thu, 09 Feb 2017 01:41:01 -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=P2ITI8cZSFFZC8aQV6BU2ELo0XiNnNt46ovOJKIpqJkpkqW+2nIPw4E5osoYfYwKNO n1Ebbqa1HUM8ibhrDs0x2MVVTjZvtI2uVWPKqRgJIWos+8oB9w8J49DvX5vjj8ciWdvk hNlE2JxZMUKSMthiCvu+L540/23eZvXCjaXIs= 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=hvJK+Z/1GOlCgZdSHZo6nypjLgWQE5Eqkcbnnl0/ibiyuQdkHn4LX/C6kF6SHl6uRe oOXQuOmjDhbc3wFxs9D+4Go40X/heL4qMZ+RMbm+hJkYJT6Au4y+9DGlUo/NkxRtkO3X q+b4IBQp2LIq6t/hwAur9p4sTISWXEg+sHhZy6pz/YEIR1rJtCgTfKe1A11Zk0IeIkid 6EJBirvMKxn5/3o0u4Dh4efRrKg/Yr+lrHU0om3ShP3xNL/lAgEzNJ6eCXgvhV7toyfv h9UcC0TgjWjOyTpMONChIJjmydCcSEmxFbVv0XJX0lEwwSa4XfG26qqX6GQa1KTbur/l BaNw== X-Gm-Message-State: AMke39mAp2RIFFrGT4spGp8Sget+dA/yJzRmKWW5xwBQ44B9bbsmVUCfCNtFmy61FQCWbSJ6 X-Received: by 10.84.225.20 with SMTP id t20mr2992113plj.154.1486632797409; Thu, 09 Feb 2017 01:33:17 -0800 (PST) Received: from localhost.localdomain ([104.237.91.63]) by smtp.gmail.com with ESMTPSA id h14sm27209278pgn.41.2017.02.09.01.33.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 09 Feb 2017 01:33:16 -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 v6 1/3] dt: bindings: add documentation for zx2967 family i2c controller Date: Thu, 9 Feb 2017 17:32:31 +0800 Message-Id: <1486632753-17363-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 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 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..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>; + }; From patchwork Thu Feb 9 09:32:32 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baoyou Xie X-Patchwork-Id: 93683 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp162612qgi; Thu, 9 Feb 2017 01:41:19 -0800 (PST) X-Received: by 10.99.181.66 with SMTP id u2mr2866270pgo.164.1486633279909; Thu, 09 Feb 2017 01:41:19 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c1si9624279pld.50.2017.02.09.01.41.19; Thu, 09 Feb 2017 01:41:19 -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 S1752630AbdBIJlC (ORCPT + 7 others); Thu, 9 Feb 2017 04:41:02 -0500 Received: from mail-pg0-f43.google.com ([74.125.83.43]:36843 "EHLO mail-pg0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752619AbdBIJlA (ORCPT ); Thu, 9 Feb 2017 04:41:00 -0500 Received: by mail-pg0-f43.google.com with SMTP id v184so56628784pgv.3 for ; Thu, 09 Feb 2017 01:40:54 -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:in-reply-to:references; bh=T2yE0OzFUiF92bN56Pw5BmkaWxhLyDiWAdNZYjRQlTM=; b=DsqHJpCekTHxfzM3szSFZC0ceu+rFbdxjdk025iAhQnVcN+tIjXZpXt+ERJqsxnxQU bWuw2vlW+eCvO2MVg2BvWK46nF9eu/3UmG9IXy/yc0OTJvqpySzeDxiMO7WMs208tCob cOhQEk1ZFVlbKR0BKfUbmCdcjrAKpOYEJi86o= 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:in-reply-to :references; bh=T2yE0OzFUiF92bN56Pw5BmkaWxhLyDiWAdNZYjRQlTM=; b=ht9RfDOq2qmjP4cL0sXZ7ThWsWJ9Xv9eNnvPsNvHCg63EOHAnLYDi6zAIB7A1FHfb8 R1yTZ5KZBpel++0xztXyrDtPuSQzjbP4s1Lu/DzKRF3mRm4HXFlhCoqE7B5haWVNqGvj 8xhlia+FJAVSXjz1rrM4L0LXSXiBeOA6eC8Z+C4RueysEnem2iKtC+cpDtsHsKQ50FOo qEWOeeD6YwIDoyaTaJPnlSwSL0ZwbtMV6cz1k/DJWNFfI3Tb+CxQi01dZgcJ/328a1ka W/Wee+6RbwbrNQuyfUWd/BzxFWVgXwEh7QeqkXoY1MDFTGY3oR1zGO8rkbfqr3gZ4jK1 ruhg== X-Gm-Message-State: AMke39lxa2PT5dA/1jCFswCsHOwpyx804H44dzeENPNHU+5Ja/BBvrGqwofsJ3QeLIUSz7b5 X-Received: by 10.99.181.7 with SMTP id y7mr2772269pge.57.1486632814062; Thu, 09 Feb 2017 01:33:34 -0800 (PST) Received: from localhost.localdomain ([104.237.91.63]) by smtp.gmail.com with ESMTPSA id h14sm27209278pgn.41.2017.02.09.01.33.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 09 Feb 2017 01:33:33 -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 v6 2/3] MAINTAINERS: add zx2967 i2c controller driver to ARM ZTE architecture Date: Thu, 9 Feb 2017 17:32:32 +0800 Message-Id: <1486632753-17363-2-git-send-email-baoyou.xie@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1486632753-17363-1-git-send-email-baoyou.xie@linaro.org> References: <1486632753-17363-1-git-send-email-baoyou.xie@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add the zx2967 i2c controller driver as maintained by ARM ZTE architecture maintainers, as they're parts of the core IP. Signed-off-by: Baoyou Xie --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) -- 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/MAINTAINERS b/MAINTAINERS index e63063b..313fab5 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1987,9 +1987,11 @@ L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers) S: Maintained F: arch/arm/mach-zx/ F: drivers/clk/zte/ +F: drivers/i2c/busses/i2c-zx2967.c F: drivers/soc/zte/ F: Documentation/devicetree/bindings/arm/zte.txt F: Documentation/devicetree/bindings/clock/zx296702-clk.txt +F: Documentation/devicetree/bindings/i2c/i2c-zx2967.txt F: Documentation/devicetree/bindings/soc/zte/ F: include/dt-bindings/soc/zx*.h