From patchwork Tue Jul 28 09:58:38 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Haibo Chen X-Patchwork-Id: 6882271 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 34663C05AC for ; Tue, 28 Jul 2015 09:59:17 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3F42C206A7 for ; Tue, 28 Jul 2015 09:59:16 +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 5BAE520490 for ; Tue, 28 Jul 2015 09:59:15 +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 1ZK1dU-00080H-To; Tue, 28 Jul 2015 09:57:24 +0000 Received: from mail-by2on0741.outbound.protection.outlook.com ([2a01:111:f400:fc0c::741] helo=na01-by2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZK1cf-0006uV-H1 for linux-arm-kernel@lists.infradead.org; Tue, 28 Jul 2015 09:56:36 +0000 Received: from BY2PR03CA041.namprd03.prod.outlook.com (10.141.249.14) by BN3PR03MB1381.namprd03.prod.outlook.com (10.163.34.155) with Microsoft SMTP Server (TLS) id 15.1.225.19; Tue, 28 Jul 2015 09:56:07 +0000 Received: from BL2FFO11FD007.protection.gbl (2a01:111:f400:7c09::196) by BY2PR03CA041.outlook.office365.com (2a01:111:e400:2c5d::14) with Microsoft SMTP Server (TLS) id 15.1.225.19 via Frontend Transport; Tue, 28 Jul 2015 09:56:07 +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 BL2FFO11FD007.mail.protection.outlook.com (10.173.161.3) with Microsoft SMTP Server (TLS) id 15.1.231.11 via Frontend Transport; Tue, 28 Jul 2015 09:56:06 +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 t6S9tYpe013952; Tue, 28 Jul 2015 02:55:58 -0700 From: Haibo Chen To: , , , , , , , , Subject: [PATCH v2 2/5] Documentation: Detail permitted DT properties for the imx6ul_tsc Date: Tue, 28 Jul 2015 17:58:38 +0800 Message-ID: <1438077521-12857-3-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; BL2FFO11FD007; 1:erowUh56x+9/zoZIfJYO6VhAoPSaOzsfaVJqd3t+cfdwqIDE1cOplKECSPMd7mMsoVY4xS6RA4+WZSyHPb8vDXjYel/GS+lRbC5pjzgeBuQJdCinJRCd0kJT0CM97RzbqgJWDwvf9DqyMdWLE/MgTv8aXtBDJTCWUmlFr6CVBqTxcB6rVzClNXf6l1hMvNJ+AKxV7EZoYddAkx7ugU5Zj0FT4KaE+G0ohjOZE7ZD5ZLPsJF0BwbDJLuSlDipOO7RegJin+GH1xyDewyL9XmMYQgVSojMovHgCqVvVUL9+4F+/cN7Nfx7lMhmHdzOmdFwrqzJ1uf3rSSVFGQh9VOY0A== X-Forefront-Antispam-Report: CIP:192.88.168.50; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(2980300002)(339900001)(189002)(199003)(86362001)(50466002)(77096005)(48376002)(92566002)(19580405001)(189998001)(19580395003)(33646002)(50226001)(2950100001)(36756003)(46102003)(6806004)(50986999)(104016003)(5001920100001)(2201001)(47776003)(229853001)(76176999)(5001960100002)(85426001)(106466001)(62966003)(77156002)(87936001)(7059030); DIR:OUT; SFP:1102; SCL:1; SRVR:BN3PR03MB1381; 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; BN3PR03MB1381; 2:TloujQSmmuiItfy0aHgGxyZt59cs1XC0RYvKIdZWheuyK/22zx4rMOwt+FmsSSYdtMjJbVf4/MamigDd3C/kEo6PKPnnwL9YkoJr8KgrjAASJlhG7EttLTE4N563M3+y9DNgWDuFHCYZKtVPrC22pHJ+MEYx84GSWYbELg1yz7A=; 3:gZtqGgr/HYvSzjKFa2zV247TVXXU8ikoppW2qhRNJjVqnhPiz6Z44gThDkNX8RQ2AzF2hr7OJTMP+nLFUvLo+hMFMTzPxjZ80o6zU6Y0EcqJwDFfZOKUWeY2CFfbg33SNJ+MqIw7EDkQ4JkLesn6G3zMWsPe8j9Cm1CLVgL7YnxvJZUotfk4QGVUYd+rFsIsba534/bMGfsFs9GZ0fwscnM3rVqHOAeEoGIcuD2yhmI=; 25:85duosCS8bOFbNCHShCjYt0bXl1aEQA9JSn5E7illRhv1Lk+qgE8WaBf7O/Uttj5c8wUW4SSYiIcMwdJl9+AdktyXyY6F7ZVw3y0xcCuyyCZvN7za5ZxNToW88pdKzMQLjRS2CzsuI5cZlhyuxc/SqHE2sAM0ATZ4zeEhf9c2Z6n+jih4QnkF8JVayYkpo9z2nyljEFmzwB3Mblj0tjDofptc1CAKLKJ0e3/tYfEoYmpt0+NmFp4Duz574IApR8+ X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN3PR03MB1381; X-Microsoft-Exchange-Diagnostics: 1; BN3PR03MB1381; 20:eIJ9nGBIojqlc4w7MHGL7n024/3UStqJIAJprJJzw/yVJB8Vw6trzXKc1Yds60ToPY5VVjfkYnDAuFumJEu2XZa5zGWdsSIwM5nT2OW7IppIjHuEnkdWHN0TyaxZNLvULsUOGere+SEu1ZodoHYAOT79zXgqwjmhhyYaPPrzvuasgVXfzy4UoDGiSty6mj2WMWUh1nrLoNe65l2cr/1Q9+2mlC12QgStIr04VIRKHD1fDTOEwhGqpN8ywYAXUUqvw5mNCK3pwH/KyNWcMkyBZ6DZWczG9+Tz7erGW5ChV6a0HPPKP9D8wbEKRpxW594XW80jmpYA1XU/e0zMOyGzo391GunjxDDPrFSy+28TcXI=; 4:gEGKOgFr2/074XmLGDxv83DuYcVJSobT3lieXdxU/IwzLBTfv7QRrbe3EurgW9rwihB6bcySm1K2TT0RgW986slh6/h9b8wjdcW1fl4LdcEzXzPx1JXLVWHguQtSbjh3VvYt+xhq+F9W7l8R0ZFnrceK/+lNRAg80OYntuIobR1rrC7qmf4XtXORfg9T/UhOxWYMrLQ7ztsuiuZI3H52DD7WxSqvOxoNzPPRQgcAzcqo/3YelfnXkc/EWRkhfT/GvELgQ4vA/3+l8KLdTX+meOLy+kpkNk0k9lQfXD5NRMI= BN3PR03MB1381: 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:BN3PR03MB1381; BCL:0; PCL:0; RULEID:; SRVR:BN3PR03MB1381; X-Forefront-PRVS: 06515DA04B X-Microsoft-Exchange-Diagnostics: 1; BN3PR03MB1381; 23:a3SnbEJxzcr/Z0qJAXVYEf+U9ue8cZBLQbpcBQdOVUxc52vGcMKWrD7SnKvxAVTYmqCPYmD6Ut/EkKlAxdIWwPAom1f2bW5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3wAP2uQXdR93+e1Qnvk2Mf8/ypD02JM=; 20:idkVfLUgeUPkNTi/r64K3381c4n166/LkL7RYZPC59YEfLVuscNYEgyTXMpfTNYiAoOL828y13Ezpj25M+CLPw== X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Jul 2015 09:56:06.2934 (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: BN3PR03MB1381 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150728_025633_970713_F9D17877 X-CRM114-Status: GOOD ( 18.58 ) 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 Here we apply required documentation for the imx6ul touch screen controller driver which describe available properties and how to use them. Signed-off-by: Haibo Chen --- .../bindings/input/touchscreen/imx6ul_tsc.txt | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/touchscreen/imx6ul_tsc.txt diff --git a/Documentation/devicetree/bindings/input/touchscreen/imx6ul_tsc.txt b/Documentation/devicetree/bindings/input/touchscreen/imx6ul_tsc.txt new file mode 100644 index 0000000..ac41c32 --- /dev/null +++ b/Documentation/devicetree/bindings/input/touchscreen/imx6ul_tsc.txt @@ -0,0 +1,36 @@ +* Freescale i.MX6UL Touch Controller + +Required properties: +- compatible: must be "fsl,imx6ul-tsc". +- reg: this touch controller address and the ADC2 address. +- interrupts: the interrupt of this touch controller and ADC2. +- clocks: the root clock of touch controller and ADC2. +- clock-names; must be "tsc" and "adc". +- xnur-gpio: the X- gpio this controller connect to. + This xnur-gpio returns to high once the finger leave the touch screen (The + last touch event the touch controller capture). + +Optional properties: +- measure-delay-time: the value of measure delay time. + Before X-axis or Y-axis measurement, the screen need some time before + even potential distribution ready. + This value depends on the touch screen. +- pre-charge-time: the touch screen need some time to precharge. + This value depends on the touch screen. + +Example: + 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"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_tsc>; + xnur-gpio = <&gpio1 3 GPIO_ACTIVE_HIGH>; + measure-delay-time = <0xfff>; + pre-charge-time = <0xffff>; + status = "okay"; + };