From patchwork Mon Jul 27 11:26:46 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Haibo Chen X-Patchwork-Id: 6872541 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 67C65C05AC for ; Mon, 27 Jul 2015 11:27:32 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 890152062A for ; Mon, 27 Jul 2015 11:27:31 +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 A8A8620611 for ; Mon, 27 Jul 2015 11:27:30 +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 1ZJgXE-0008TB-KG; Mon, 27 Jul 2015 11:25:32 +0000 Received: from mail-by2on0136.outbound.protection.outlook.com ([207.46.100.136] helo=na01-by2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZJgWP-0006PY-LF for linux-arm-kernel@lists.infradead.org; Mon, 27 Jul 2015 11:24:43 +0000 Received: from BN3PR0301CA0055.namprd03.prod.outlook.com (10.160.152.151) by CY1PR03MB1389.namprd03.prod.outlook.com (10.163.17.11) with Microsoft SMTP Server (TLS) id 15.1.225.19; Mon, 27 Jul 2015 11:24:20 +0000 Received: from BN1BFFO11FD041.protection.gbl (2a01:111:f400:7c10::1:150) by BN3PR0301CA0055.outlook.office365.com (2a01:111:e400:401e::23) with Microsoft SMTP Server (TLS) id 15.1.225.19 via Frontend Transport; Mon, 27 Jul 2015 11:24:19 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) 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.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Received: from az84smr01.freescale.net (192.88.158.2) by BN1BFFO11FD041.mail.protection.outlook.com (10.58.144.104) with Microsoft SMTP Server (TLS) id 15.1.231.11 via Frontend Transport; Mon, 27 Jul 2015 11:24:19 +0000 Received: from b51421-server.ap.freescale.net (b51421-server.ap.freescale.net [10.193.102.57]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id t6RBNbKd029320; Mon, 27 Jul 2015 04:24:11 -0700 From: Haibo Chen To: , , , , , , , , Subject: [PATCH 4/5] ARM: dts: imx6ul.dtsi: add TSC support Date: Mon, 27 Jul 2015 19:26:46 +0800 Message-ID: <1437996407-27266-5-git-send-email-haibo.chen@freescale.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1437996407-27266-1-git-send-email-haibo.chen@freescale.com> References: <1437996407-27266-1-git-send-email-haibo.chen@freescale.com> X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD041; 1:UgPAN1iy1/Gfzy6AqjTg77j1jbrnSau3OkQKE2gnWoGdYFGsOqN4z/J4mHnPseYCPZgjt9k69ZCLNqwgGYBcmvvNzX86IynxPPY9VoLMAX85AlU8GH4u/ZvuuxqLdidIf5/Zbe7puKuCFI3e2s5wyUeRAuXafaWqKntSwEvQKy81WuuusW7TCs7V3A4XVSkEdcDhGBGFXJfg9zRqLnexC5Z18zzuIqS6YlZG/p3rCRn88tYVUGkPuIlAk331Ve6lgPfOnp/OA/TB2EzbRkc4H/77epp1qdH9WV+I0fmcNxBurIxXoaDOd0Vwco2kPeeKthCgCZpU2PchkX4V+YytUQ== X-Forefront-Antispam-Report: CIP:192.88.158.2; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(2980300002)(339900001)(199003)(189002)(19580405001)(2950100001)(77156002)(2201001)(33646002)(50986999)(76176999)(104016003)(47776003)(85426001)(87936001)(5001960100002)(5001770100001)(46102003)(575784001)(50226001)(48376002)(62966003)(6806004)(229853001)(189998001)(50466002)(105606002)(77096005)(5003940100001)(92566002)(19580395003)(106466001)(36756003)(86362001)(7059030)(32563001); DIR:OUT; SFP:1102; SCL:1; SRVR:CY1PR03MB1389; H:az84smr01.freescale.net; FPR:; SPF:Fail; MLV:sfv; A:1; MX:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Exchange-Diagnostics: 1; CY1PR03MB1389; 2:qMxNU4JEKe1ZT1TItoVhQinmofR/rs72XhsJwoxiQQ7AedSPvtY6c8Cia7H1M35jElg5cddnP5YcQISDLTWG5yVr4YigrdJuazpk3JXYgXQN5j1witahZUj/2VtDwfvWP8hOBzLm47PxaX4E7fzmCnpOKGwWVAKNE/lPVoEcbas=; 3:znp/ZDBkC/RiVYrzSiKRvg8one9VWmDLqFmLalDSQiM1ruKC1qvi3ebzUkI4UFKiu8Wp5fuccFE6YiyLRUU0lgECTunEGu7Mteq5UaWU/Nph+zzcNiCm5zLdKXoB4gxAVCZE5xT4zRcdwy+3vyoElQp2mza7mLzpnuzzkuUNAkj22l9LxzTkDCi9k8bysAt7yDhkFZWagZA5qw7j2pPVUF1XwiU9IPdyWBxQ9v9YtC8=; 25:PrnG6n062fJTFK5bhYKDNOthWU5jEQGGOMMdb1XVx9FPuZtj5gotia6kUfMDyhVEcspbBEgjEy7c1qkpNhc77iBbZ7GrPEuPvj/nqlVVt0wXrmuTH0c4neuWXjur2SNKAg6JqHWQeQ4S6CqQCZyl1ln6+IkgYfs/JizXMMeDZdlN/dSZCvmlNNy4JPW6k1bJn9vUPp9p+XeKK4klIekwpy60PF6ORBm8igBQOuogM4LDbIVgZnuFEBwTTpsf1O/waJ2EMFJZW7SlQcrSIXTyUA== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CY1PR03MB1389; X-Microsoft-Exchange-Diagnostics: 1; CY1PR03MB1389; 20:vLOUK5v1H8hqacd0EIRY8rGSG3O3nP8C8kUNcZAYOiOuW64y5eVrF09ZDN/4NxqERfKEEj/JgF/zr3YbIvkqM/Du7/g9Gi4jfI309Egq/2ipTb9L/32rR3Fke9MFTc3rge5m6J4z5kEBy0fpyKOiHjK4xz/pIXsAuJ82CtvImrDpeTFupZChahRgbmb7stML/vbJ2PGH/Mh1xYXfm+jH4GZA/dotblt97wKRlmaB/2cu7X1wi4yiMiCAz5nQd8FqJId/ht7Fgu3GaT6qBHM1HfFh/fyANm+PTAzSGAbKx5etbJuTR0qaLTLHOnE/Ga/IOMJyusU9Ly2nLColSLvdhtEmIoDuj+HmP1P/Nzss0Oo=; 4:H/2CgSmJzNSKWdj+Kg/Dbauix2ZNOS1oHyq2YoV1AkdJ0QaPGoW372PAW/IpaBYocwiveSj6WmBRVh1RIBumYJpsNU46lHD+ySVQACu0YujI9zLfGsLmJjkp9/v0R1MgAgMKB5/1tBMkNcCz8QHXcRTUhMCCFKz4iUKjfM0yMOE7xlO3i+ZdarMU19em+M2hxjXPyjVpLYhjXuvbEaY25oFVZkCsWZSwzGsQHl/MH/Qwm5POlX/PO44ftAjiwfL4mqjcfYCEhvpUYwgWiTZEwKXu6XcY5PQYk/g5wVQmMHI= CY1PR03MB1389: 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:CY1PR03MB1389; BCL:0; PCL:0; RULEID:; SRVR:CY1PR03MB1389; X-Forefront-PRVS: 0650714AAA X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR03MB1389; 23:KWR8/l86uHTR+X/OoolnB1yiQqpyLRgZDd45+fO93?= =?us-ascii?Q?7DYzdLtV2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Xkd2sgHUMAi?= =?us-ascii?Q?6efYmpb7aaN/W8a/9ZITcoplWC3RQYrL1cwx2pOvV8t7EOSpICLRUXGpCrZm?= =?us-ascii?Q?Ag=3D?= X-Microsoft-Exchange-Diagnostics: 1; CY1PR03MB1389; 5:hPwhamJ7AH9GFyj++rsZtCT8NliBCNq9kBDWrO0hxq2KeNrPbbVtnPsnQXIjCULsB/Eyg6BQ732SWUa8Qo7cG66hNPSZuk3cDRtohFTGcBGX0jJ0ipxLsh0j33F5Hw6PFRR109C0ZVbOGqWpBsMjZg==; 24:yH3TIRcz1cImcZ9kHFwrtJzh3BFh12OwILg35ngNL2TYVUZVuhGFEeYh4hevIr5+lH3/qaZblqXHwOmKrD18QX/ap4YrC3PYVoezq8cHmIg=; 20:HuwBHjwqWUHa4XBYEx1zsYuWGs/5dZkHKTDSz0QZr7bozA/v5QBC3bTyaSxOa80x1W5hdo9RktVd+x7UQkYnUw== X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jul 2015 11:24:19.0316 (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.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR03MB1389 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150727_042441_953560_132902AD X-CRM114-Status: GOOD ( 12.93 ) 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.5 required=5.0 tests=BAD_ENC_HEADER,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>;