From patchwork Tue Jul 28 09:58:40 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Haibo Chen X-Patchwork-Id: 6882381 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id E02EA9F39D for ; Tue, 28 Jul 2015 10:01:45 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 22617206A5 for ; Tue, 28 Jul 2015 10:01:45 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 39DDB20490 for ; Tue, 28 Jul 2015 10:01:44 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZK1ft-0001jr-Nr; Tue, 28 Jul 2015 09:59:53 +0000 Received: from mail-by2on0725.outbound.protection.outlook.com ([2a01:111:f400:fc0c::725] helo=na01-by2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZK1cr-0007Ck-Uh for linux-arm-kernel@lists.infradead.org; Tue, 28 Jul 2015 09:56:47 +0000 Received: from BY2PR03CA011.namprd03.prod.outlook.com (10.255.93.28) by BN3PR03MB1383.namprd03.prod.outlook.com (10.163.34.157) with Microsoft SMTP Server (TLS) id 15.1.225.19; Tue, 28 Jul 2015 09:56:23 +0000 Received: from BN1BFFO11FD007.protection.gbl (10.255.93.4) by BY2PR03CA011.outlook.office365.com (10.255.93.28) with Microsoft SMTP Server (TLS) id 15.1.225.19 via Frontend Transport; Tue, 28 Jul 2015 09:56:22 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=freescale.com; vger.kernel.org; dkim=none (message not signed) header.d=none; Received-SPF: Fail (protection.outlook.com: domain of freescale.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BN1BFFO11FD007.mail.protection.outlook.com (10.58.144.70) with Microsoft SMTP Server (TLS) id 15.1.231.11 via Frontend Transport; Tue, 28 Jul 2015 09:56:21 +0000 Received: from b51421-server.ap.freescale.net (b51421-server.ap.freescale.net [10.193.102.57]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id t6S9tYpg013952; Tue, 28 Jul 2015 02:56:13 -0700 From: Haibo Chen To: , , , , , , , , Subject: [PATCH v2 4/5] ARM: dts: imx6ul.dtsi: add TSC support Date: Tue, 28 Jul 2015 17:58:40 +0800 Message-ID: <1438077521-12857-5-git-send-email-haibo.chen@freescale.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1438077521-12857-1-git-send-email-haibo.chen@freescale.com> References: <1438077521-12857-1-git-send-email-haibo.chen@freescale.com> X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD007; 1:3CFJIug+nx2qKBegZuTcjy4C/jbIOMytFzBDm/qtBc0TY6o/faz8R1WjwNXLZcjQ8r3aWI+mib1N7rKAYKSZyefWOT0HnQP/93AU0rzn9qUcNcIDhgl8eUQFfeK9+oSfKtSt5fe5WlodLwb/q5dfDnLUmcA73KcqIOWJAD2BQt4IOZWW8smjtlqj9ox+RJaJUWQ1F3F3eO5vOr8Wdeg8oCcPvVMtRn/SyLvMEeJ8nkpAz52vG8vSC+Y3bP87MBS/DlYyOK1+7lWOh6utVl9GTqb5NNvrHhdmR1z7bnBohwNUqjlgo6UUmWViCgBz7vcgvq8OzOg855k6wC00nujgdQ== X-Forefront-Antispam-Report: CIP:192.88.168.50; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(2980300002)(339900001)(189002)(199003)(62966003)(6806004)(87936001)(2201001)(46102003)(86362001)(575784001)(229853001)(19580405001)(33646002)(85426001)(48376002)(5001960100002)(104016003)(189998001)(19580395003)(77096005)(2950100001)(76176999)(50986999)(47776003)(36756003)(92566002)(77156002)(5001770100001)(106466001)(50226001)(50466002)(7059030); DIR:OUT; SFP:1102; SCL:1; SRVR:BN3PR03MB1383; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; MLV:sfv; MX:1; A:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Exchange-Diagnostics: 1; BN3PR03MB1383; 2:n0qlFzYgNSKPjRKWFjJqVneB7qM5FGy2FENu02OxJ+k6Tar/X8ObDNwiQnj5/dcifLHl+a27joluPCyEXbwE0wxrCTfMMJftEhDS5Mpucj+TB8vN6Yf0QSRdU52s3Sqpyjj3d/10BCUSo8Z6w4R5ZnXGA++80cubNHwBf0Mly/A=; 3:GHUstmOPC6lKw3oDBulyMKWvaRrOGM7Khbv8j+U9egN/F81A4RhZkrgADMqmwfSc17odo5DdoFPwbKqnPH53x8lNUBi/OAUnLGRVz9tF7Qv2L24nvKuc1VWTO/o0/lqdqhKJB5HK8kQxv8tnSGzjvmtH2QBFgSesc0exo6XktAhdCPtHGtgsZnxa5ITA0E+X8iaJJqTflg7R3XozXDhqSArUy3c5vpIx/qkgILVxmTI=; 25:n7XV0kh89VNrboa/u0H3E18JEIUvgZ9KpqjfszYxNiWWN81kX88/ESV12hWRos9EK/S+pC7XUwvm5yc0slAxllvmCA3Ig2cdqQXvVkKxYyUwHW3bHIPAViLpFEiuy4xG7kYXaZiSs0ryLPNeMJ2gr6PPXQM9sUGADQ5GM0cDFktxGmYnPx4yAV4eCXCFL8LBGIZOSGsZbL+HPzLepx2a9Jee+8BR4hnN7xUidd+IRCc00/n4AE5bqJUu4JAR8vMkneS9Vf9yahZ6uY0Wy7s0cg== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN3PR03MB1383; X-Microsoft-Exchange-Diagnostics: 1; BN3PR03MB1383; 20:LHqsk2au4P/fMXwTMQ6eG4sKB1rlqklgoScTO+ymbFJi5JgQ2U8ajweiU9gFiNIzdOEjmT2dynuJyw8/xCjP8LocvUkAmppkMSRSNikJV83zw64Y76fqqc9gWCY0ROFBDYSGAtocUNJyJ+BaJUcOyDX6o7sNgEPLnkCa1m+BfFK/UUD9zXUVZG6bWaVDc6SAS/fEPNWjGiNqiy+ImFFENHQU1jMl449RhVpgu1g/q3lYU0QN2FaOzSXr1s0iyZm68sUGWSpuoMWZx2iaoMuKv8WhZ9ARJVs+A0iXrgc9RpS7kr1+msfQvOrhqvHtiVVk4VXFwVlD466k9avuJAUcAq6ZhsyiHlWrVRjelXRHQV4=; 4:4+efrZutncA8SwM7loRsXoyn6VjXugi8TCt+Lcgi/moH+v7N42j+kGRKQ11sYoRFHcbDqvm9zneubr1eADiJmoJcYw36b3LWZbhXcfyu/257S3KC/MMXG7h3HpsuMymGqB66TOzqRe+Uf1yqVhr16+eCs80DT/hCWg2iKHhv/CHFVCyCRXPl6sL9AIl65oldQczubOwIVSdTBdIMSA81UMbfH1B7cAKZs6OVUxGA9D5SStQZPPciFUzqR/wkL7PgmGKAa5IZBcGtL1Tk6PUxQSjqCRkeq6Bn3NlajzAUPyA= BN3PR03MB1383: X-MS-Exchange-Organization-RulesExecuted X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(5005006)(3002001); SRVR:BN3PR03MB1383; BCL:0; PCL:0; RULEID:; SRVR:BN3PR03MB1383; X-Forefront-PRVS: 06515DA04B X-Microsoft-Exchange-Diagnostics: 1; BN3PR03MB1383; 23:eE8waMxyVmByP+E/K3Hykd26wCLKzZZwROj41KCfW4X1GM97xEYcduGLmO4NuJasci2Vbuh1q7TIaRO985SJl6f38pWxq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ODTU3daW04ATFbYqtIzJg3dy+yM0=; 20:+9U4H5Tjca4zQvgHFP+8XO+uGd5X5K2+VCDC/7dB9rAHrG9W/JrO99X48H8hFq2b+s6XwnR3hat+GvyHMzFW8A== X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Jul 2015 09:56:21.4747 (UTC) X-MS-Exchange-CrossTenant-Id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=710a03f5-10f6-4d38-9ff4-a80b81da590d; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR03MB1383 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150728_025646_113199_54BAD84B X-CRM114-Status: GOOD ( 16.11 ) X-Spam-Score: -1.9 (-) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, sbranden@broadcom.com, arnd@arndb.de, mchehab@osg.samsung.com, haibo.chen@freescale.com, christian.gmeiner@gmail.com, scott.liu@emc.com.tw, linux-kernel@vger.kernel.org, hdegoede@redhat.com, jonathar@broadcom.com, benjamin.tissoires@redhat.com, hans.verkuil@cisco.com, hadess@hadess.net, linux-input@vger.kernel.org, geert@linux-m68k.org, sebastien.szymanski@armadeus.com, mamlinav@gmail.com, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add imx6ul touchscreen controller support. TSC module need ADC2 module to measure the touchscreen coordinate value. This patch put TSC and ADC2 together, make ADC2 module only be used for TSC, can't be used as a normal ADC. Signed-off-by: Haibo Chen --- arch/arm/boot/dts/imx6ul.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/imx6ul.dtsi b/arch/arm/boot/dts/imx6ul.dtsi index dc0f5b4..33aac1f 100644 --- a/arch/arm/boot/dts/imx6ul.dtsi +++ b/arch/arm/boot/dts/imx6ul.dtsi @@ -484,6 +484,17 @@ reg = <0x02100000 0x100000>; ranges; + tsc: tsc@02040000 { + compatible = "fsl,imx6ul-tsc"; + reg = <0x02040000 0x4000>, <0x0219c000 0x4000>; + interrupts = , + ; + clocks = <&clks IMX6UL_CLK_IPG>, + <&clks IMX6UL_CLK_ADC2>; + clock-names = "tsc", "adc"; + status = "disabled"; + }; + usdhc1: usdhc@02190000 { compatible = "fsl,imx6ul-usdhc", "fsl,imx6sx-usdhc"; reg = <0x02190000 0x4000>;