Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1377421

[PATCH v4 07/16] arm64: dts: add all hi6220 i2c nodes

Path csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Guodong Xu <guodong.xu@linaro.org>
Newsgroups linux.kernel
Subject [PATCH v4 07/16] arm64: dts: add all hi6220 i2c nodes
Date Wed, 13 Apr 2016 02:00:03 +0200
Message-ID <rngnV-7PD-29@gated-at.bofh.it> (permalink)
References <rngnU-7PD-3@gated-at.bofh.it>
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=R9yIvUSmNPHB5WLPK1H/JVkg/WJHiv6Q2q8Ylzm1XQg=; b=LckuddLl39CwPEuVRREKwcfabifvEuZLtzPVmucUUpqTUZTvkzLaTvl9JKg57m6D+V DIreORM5ZsmM4lmfecw0KEkVNQNfPOcQhW1AgIJVGSp6O1dTxp7iIJsc7uUyt1kbhDDD JH/JG56PhuIUc1+172asWnnR2A+9KDHVAunqk=
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=R9yIvUSmNPHB5WLPK1H/JVkg/WJHiv6Q2q8Ylzm1XQg=; b=BHXSFEhsGda7J31fyR9Rd6wEzWIpb28NpA4fycm3H1bMJS50fQKbpMliEFR1zo5R18 rB+HqD23BTpU/lJRwh5CxfYz28TrvElWHDv69NBtzGlLAiUvVBrmaRu7/NcjpVt2Htje QoUlhsCrNMfzK+Jxpi02V2dTmR0Vc13GZII4bYCmPe9JNDRCXIjiu4fkV5nlmIOzn27G UWUV3opv0Ueo31PUdwrQFVHPA5DgF8eEWGNp3/zI0WbehE52Dq5wtWZupkdFRsleLTgR Ja1z3AP1Usqe6+LJn0EJFqczAlsCJdKuYv+h6aN6WwoLNjXPY+Y8zMjKixarDBjglcdS UmTQ==
X-Gm-Message-State AOPr4FVndF5s6xA09tLOzaFlM/BD8DkqVRlYhKw9kXAKtUPE45YWMe3J82+ZvzuOO14dRcAs
X-Received by 10.98.80.10 with SMTP id e10mr8510648pfb.141.1460505488689; Tue, 12 Apr 2016 16:58:08 -0700 (PDT)
X-Mailer git-send-email 1.9.1
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 57
Organization linux.* mail to news gateway
X-Original-Cc devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Xinwei Kong <kong.kongxinwei@hisilicon.com>, Chen Feng <puck.chen@hisilicon.com>
X-Original-Date Wed, 13 Apr 2016 07:55:43 +0800
X-Original-Message-ID <1460505352-13157-8-git-send-email-guodong.xu@linaro.org>
X-Original-References <1460505352-13157-1-git-send-email-guodong.xu@linaro.org>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1377421

Show key headers only | View raw


From: Xinwei Kong <kong.kongxinwei@hisilicon.com>

This patch adds all I2C nodes for the Hi6220 SoC. This hi6220 Soc
use this I2C IP of Synopsys Designware for HiKey board.

Signed-off-by: Xinwei Kong <kong.kongxinwei@hisilicon.com>
Signed-off-by: Chen Feng <puck.chen@hisilicon.com>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
---
 arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 33 +++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi
index 7bcfffe..4fc0347 100644
--- a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi
+++ b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi
@@ -582,5 +582,38 @@
 			cs-gpios = <&gpio6 2 0>;
 			status = "disabled";
 		};
+
+		i2c0: i2c@f7100000 {
+			compatible = "snps,designware-i2c";
+			reg = <0x0 0xf7100000 0x0 0x1000>;
+			interrupts = <0 44 4>;
+			clocks = <&sys_ctrl HI6220_I2C0_CLK>;
+			i2c-sda-hold-time-ns = <300>;
+			pinctrl-names = "default";
+			pinctrl-0 = <&i2c0_pmx_func &i2c0_cfg_func>;
+			status = "disabled";
+		};
+
+		i2c1: i2c@f7101000 {
+			compatible = "snps,designware-i2c";
+			reg = <0x0 0xf7101000 0x0 0x1000>;
+			clocks = <&sys_ctrl HI6220_I2C1_CLK>;
+			interrupts = <0 45 4>;
+			i2c-sda-hold-time-ns = <300>;
+			pinctrl-names = "default";
+			pinctrl-0 = <&i2c1_pmx_func &i2c1_cfg_func>;
+			status = "disabled";
+		};
+
+		i2c2: i2c@f7102000 {
+			compatible = "snps,designware-i2c";
+			reg = <0x0 0xf7102000 0x0 0x1000>;
+			clocks = <&sys_ctrl HI6220_I2C2_CLK>;
+			interrupts = <0 46 4>;
+			i2c-sda-hold-time-ns = <300>;
+			pinctrl-names = "default";
+			pinctrl-0 = <&i2c2_pmx_func &i2c2_cfg_func>;
+			status = "disabled";
+		};
 	};
 };
-- 
1.9.1

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v4 00/16] DTS for hi6220 and HiKey Guodong Xu <guodong.xu@linaro.org> - 2016-04-13 02:00 +0200
  [PATCH v4 12/16] arm64: dts: hi6220: add pinctrl for uarts and enable them Guodong Xu <guodong.xu@linaro.org> - 2016-04-13 02:00 +0200
  [PATCH v4 06/16] arm64: dts: add Hi6220 spi configuration nodes Guodong Xu <guodong.xu@linaro.org> - 2016-04-13 02:00 +0200
  [PATCH v4 13/16] arm64: dts: add LED nodes for hi6220-hikey Guodong Xu <guodong.xu@linaro.org> - 2016-04-13 02:00 +0200
  [PATCH v4 08/16] arm64: dts: hikey: enable i2c0 and i2c1 for working with mezzanine boards Guodong Xu <guodong.xu@linaro.org> - 2016-04-13 02:00 +0200
  [PATCH v4 07/16] arm64: dts: add all hi6220 i2c nodes Guodong Xu <guodong.xu@linaro.org> - 2016-04-13 02:00 +0200
  [PATCH v4 09/16] arm64: dts: Add hi6220 usb node Guodong Xu <guodong.xu@linaro.org> - 2016-04-13 02:00 +0200
  [PATCH v4 04/16] arm64: dts: Add Hi6220 gpio configuration nodes Guodong Xu <guodong.xu@linaro.org> - 2016-04-13 02:00 +0200
  [PATCH v4 11/16] arm64: dts: add Hi6220's stub clock node Guodong Xu <guodong.xu@linaro.org> - 2016-04-13 02:00 +0200
  [PATCH v4 10/16] arm64: dts: add mailbox node for Hi6220 Guodong Xu <guodong.xu@linaro.org> - 2016-04-13 02:00 +0200
  [PATCH v4 05/16] arm64: dts: add Hi6220 pinctrl configuration nodes Guodong Xu <guodong.xu@linaro.org> - 2016-04-13 02:00 +0200
  [PATCH v4 03/16] arm64: dts: enable idle states for Hi6220 Guodong Xu <guodong.xu@linaro.org> - 2016-04-13 02:00 +0200
  [PATCH v4 15/16] arm64: dts: add dwmmc nodes for hi6220 Guodong Xu <guodong.xu@linaro.org> - 2016-04-13 02:10 +0200
  [PATCH v4 16/16] arm64: dts: add wifi nodes support for hi6220-hikey Guodong Xu <guodong.xu@linaro.org> - 2016-04-13 02:10 +0200
  [PATCH v4 14/16] arm64: dts: hikey: Add hi655x pmic dts node Guodong Xu <guodong.xu@linaro.org> - 2016-04-13 02:10 +0200
    Re: [PATCH v4 14/16] arm64: dts: hikey: Add hi655x pmic dts node Rob Herring <robh+dt@kernel.org> - 2016-04-13 02:20 +0200
      Re: [PATCH v4 14/16] arm64: dts: hikey: Add hi655x pmic dts node Guodong Xu <guodong.xu@linaro.org> - 2016-04-13 02:20 +0200

csiph-web