From patchwork Fri Aug 28 09:09:33 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Haibo Chen X-Patchwork-Id: 7090531 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 9D6C3BEEC1 for ; Fri, 28 Aug 2015 09:10:09 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id BBF992082C for ; Fri, 28 Aug 2015 09:10:08 +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 A1FD12081C for ; Fri, 28 Aug 2015 09:10:07 +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 1ZVFdm-0001tK-Lo; Fri, 28 Aug 2015 09:08:06 +0000 Received: from mail-bl2on0770.outbound.protection.outlook.com ([2a01:111:f400:fc09::770] helo=na01-bl2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZVFdf-0001lb-Us for linux-arm-kernel@lists.infradead.org; Fri, 28 Aug 2015 09:08:00 +0000 Received: from BLUPR0301CA0035.namprd03.prod.outlook.com (10.162.113.173) by BN3PR03MB1384.namprd03.prod.outlook.com (10.163.34.158) with Microsoft SMTP Server (TLS) id 15.1.256.15; Fri, 28 Aug 2015 09:07:37 +0000 Received: from BN1BFFO11FD050.protection.gbl (2a01:111:f400:7c10::1:143) by BLUPR0301CA0035.outlook.office365.com (2a01:111:e400:5259::45) with Microsoft SMTP Server (TLS) id 15.1.256.15 via Frontend Transport; Fri, 28 Aug 2015 09:07:37 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=freescale.com; freescale.mail.onmicrosoft.com; dkim=none (message not signed) header.d=none; freescale.mail.onmicrosoft.com; dmarc=none action=none header.from=freescale.com; 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 BN1BFFO11FD050.mail.protection.outlook.com (10.58.145.5) with Microsoft SMTP Server (TLS) id 15.1.256.10 via Frontend Transport; Fri, 28 Aug 2015 09:07:36 +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 t7S96Xfs010502; Fri, 28 Aug 2015 02:07:32 -0700 From: Haibo Chen To: , , , , , , , Subject: [PATCH v3 2/5] Documentation: Detail permitted DT properties for the imx6ul_tsc Date: Fri, 28 Aug 2015 17:09:33 +0800 Message-ID: <1440752976-9094-3-git-send-email-haibo.chen@freescale.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1440752976-9094-1-git-send-email-haibo.chen@freescale.com> References: <1440752976-9094-1-git-send-email-haibo.chen@freescale.com> X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD050; 1:+psTob9hlzGf9CyvnHslErRYJUR1XXQJTXZJqw1b/oNvGELd5uilxUuKktjQ8vn0mW+BqWWhl2d/+B36GuSi97+yR9cRsg8fgRWigbq/qMiAkk3JZHfWFYf399kmqMV1Ra9NBhwTeWwRJcKCoWJ5gMYfunGk/3VVrXvJwkR0ok2D5ZceR/uryr0QEAkV2V3ag+6PA7GFaelxXKN+oheS11G0mnJ7OAxDAVShYeiM2vAKyQADqPq19ZqaOSuPYzSSPyKb1Y8YsE77BItECjoRWW/+W6Y7tCHcE3hO82Yj8NBKpkxOe4eaMg/YQQrYdg06rQ5EmtXsvoR8/iWev8NOpwyGZQUMqhFNJTge4RqLznu5GlY3pOsOotzd8R7vV9FT9b2KNfgMrXHXMxzPJY+lNVr5YVLVH8VRN/4OVQQqx5d8cWcfG7OVDsQPqQ0JEVr3 X-Forefront-Antispam-Report: CIP:192.88.158.2; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(2980300002)(339900001)(3050300001)(199003)(189002)(86362001)(81156007)(4001540100001)(5001830100001)(5003940100001)(85426001)(5001770100001)(50226001)(5001860100001)(105606002)(68736005)(77096005)(106466001)(189998001)(107886002)(50986999)(5001960100002)(87936001)(5007970100001)(69596002)(92566002)(76176999)(229853001)(77156002)(62966003)(36756003)(64706001)(104016003)(33646002)(19580395003)(19580405001)(50466002)(97736004)(48376002)(2201001)(2950100001)(46102003)(6806004)(5001920100001)(47776003)(4001430100001); DIR:OUT; SFP:1102; SCL:1; SRVR:BN3PR03MB1384; H:az84smr01.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Exchange-Diagnostics: 1; BN3PR03MB1384; 2:ZRrWLXly+oue+fSi1kF11L7yER6BMLd0B1d2DaJEPOD/ad1HS3mAP+YoqrEw06T0aGmSTSD3ZSpySnoPsHERheNoKS9IDOAjyRnAfH0KD//KA0clYOrUiQ1l/RqtV2xVLceRRyt3JW0w8Ym6PxkpWWyQQNrw7oUegt9LrXncZ8w=; 3:b9J7BZE4QQ0rd7mDGpTZ/L3XHZZdflAYDQFi19cTBf4QBoDAaWNjhAlzxci64xSnH/1HBFQMjDBjkUIEfNwkD0jmoDSqgN0bhsBZfsH+Ro/kUQVZBxa6UqG1Zno7VcYN3gXZy/BY2yWwtYwngRpRJAoJ4aKNlnzq+wQq7A2e/uaDOpO4eDtnPjGl9JaaPn8FGjJFvGDKngUAXBVvFvCiTTRx06MEiGVWh/xX7FgRtQ0=; 25:/vNJ6ueSOryx5P7/e6TS1uQwcuTNuOK9FhMxfDC0VGkin73aQEvxiM0rKrEEYHLx6CF0nKF9RmayIrMA8Ut4IbZLjWK9N4dyoOJzqJMyumfFfSonhIABJUSf4avne31dzGNFFMfVGm+c3BnSA2sGVXhp3QmDapHIHVTV0fudnVudADq+dVRmRQotCIl5eqIffzoEldfb6Ip834m/IeOYY0mCPHni5bTmcgKshzhHv+XIAh8qaL2gsZ2zjvvv2rNt X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN3PR03MB1384; X-Microsoft-Exchange-Diagnostics: 1; BN3PR03MB1384; 20:dR0oAf0n6TmuNzQYD2VYSqhAvg0PMV5lH/1M00yMcyR52n0UlA8jt643LfM5T0RQiTozcfcLzBcJV2KdWmU08DJ34rbWSeIJQ6nZ4EgEYpt0kPh7bvbM3RKTGNJ91lij/emmAKhtQTMi1ons8pRXOwxQ2gRLxHb0GPNGMJ+GGK8ezTVRvJVi8A3Yqj58mNmxIH7GFzYvM+TjYuLvrBJDsnJFkfl4QoFZuUJ/yIvZbpptIwSfOeC7gP5O9g9NXsLMYJNNSS/8Zd6YMvF/fOTXzb2vptudyOHXU6x1wOAwDI3y4+9bhbgQ1uaxmRNrvgiGrBVKtSac90xFJKtyw20a26YD3B+CSCL34ulYbpdx2N8=; 4:16NOL+YybUTCU+DYNAzxvHlRE4tg8pPU78TEhFNKQOCytI+2OToRcXMkD9Yx56jo5GuQjyjKylb8aqMHKBu0hAT3fVRr7BO/nIOvHHZr8Cx8jrXr8Ap5NhA/2WX671xB43UjPKMx/Tje/NTmTtmHaYRWG5+nPIFYRfAzqdvaQ4zVStcBPPlPTi35ruK10vzdRU2q2/2O/jp+5Mz7kS7FsBgEEsaAh3FaVqOgls21GGmCJIT+nFUSwz0ldbipxivkhu4zP2DOMQ3oyCuhL5fnxYCJAfbD6nQ1kDz/7/e5y+WeAzhGdthQmNJdUMH5rzMy X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(8121501046)(5005006)(3002001); SRVR:BN3PR03MB1384; BCL:0; PCL:0; RULEID:; SRVR:BN3PR03MB1384; X-Forefront-PRVS: 0682FC00E8 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR03MB1384; 23:NDIce5UbqSxV09zfMJ0n9wSfvMZpJpD6RYSOyg3Mo?= =?us-ascii?Q?7gc/yIvjyl53UO67T0JSHNlfcLy9T3/FtQJ5G5x19K+WTJlqXvJgAeEcWykc?= =?us-ascii?Q?d3DOlcr1nGc15J0CsN1BviyzA6/fK1yTYgK77sSfEYxLKl08LbeI6ijjknDg?= =?us-ascii?Q?i1w+fop5nxxo/6gfG0TW9gKIZjY4h1YqbixdKuXGXL0OthZ9H/Ma++hNmK15?= =?us-ascii?Q?A5eo0LP358PGGl+OVHPuawBMLEb/OzIB/qQwxoWnXrhtUDDb7XOiqcJr12wx?= =?us-ascii?Q?XMEpZegx7LHzr7dTN3fS4I3n9eViwpbgESSitYunK+pNSR8xgG+z8oVe94pG?= =?us-ascii?Q?fHyHXmab/68qt5JGUBx8RQAWfKT6Fh6Eim8dKWRk2paTAJqkJiS9Bbc5kLTY?= =?us-ascii?Q?IpSfXwSUmcddU0DLXvLHuVApmtUlpncN0M7Ref+zB2G1EJaA6Yr0OqwzNS6W?= =?us-ascii?Q?8n89AIj1M1zXYLPTXgiNK7GgoFAqzmUOy7Nv9TwntjR5o1UH5QjoQRNt5Xt9?= =?us-ascii?Q?qOsmsgjwLC0IeeT6m/YcqDCFMGaC2CJF1gg8gMZuonFX1yFOgJq7JQXofaj5?= =?us-ascii?Q?jyiUZquoy8ASRmfw0WJd7tTylv+LjM9ryIcragrNmBkFa9aIemNPucLWWm0r?= =?us-ascii?Q?tw6LodRi9uhs5SdqdMvlD1vUcCyxvds0jdZV+CJl7Zj/GLE3uzjZGr5VSJoF?= =?us-ascii?Q?STiS7McMJwqfmInqD3IixDAi+taDZ3JdmlFZfnD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gR4xbpdlAcim6g== X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Aug 2015 09:07:36.5431 (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: BN3PR03MB1384 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150828_020800_274820_5E253D8D X-CRM114-Status: GOOD ( 15.44 ) 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, haibo.chen@freescale.com, linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, mpa@pengutronix.de, 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=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 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..853dff9 --- /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 low 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_LOW>; + measure-delay-time = <0xfff>; + pre-charge-time = <0xffff>; + status = "okay"; + };