Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751844AbbH1JHp (ORCPT ); Fri, 28 Aug 2015 05:07:45 -0400 Received: from mail-bl2on0147.outbound.protection.outlook.com ([65.55.169.147]:58943 "EHLO na01-bl2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751367AbbH1JHk (ORCPT ); Fri, 28 Aug 2015 05:07:40 -0400 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; From: Haibo Chen To: , , , , , , , CC: , , , , , 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 Content-Type: text/plain 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+taDZ3JdmlFZfnDTNgYhKSVjpxUfQd23IZ2L?= =?us-ascii?Q?6lhCmNcHy74autdBqNsWYxxG+4Iruqtz2+6Z8CdIA83V/zSwElu5g1J2RLHF?= =?us-ascii?Q?4/mNBc9VwxnXb8vWunfzOp//mP0NCgksWBUDGcZTec2u328Rrw+YYhoWjnat?= =?us-ascii?Q?DHLE6bskSgX0sdgOGU6rKxkVnw4Sf8raEF5qV4yNxcWoxFZlxbcUvVeBrmEY?= =?us-ascii?Q?uTcQ7qtjnjAIHtJrJHJhu6pxKHeC7Aqoz/AujVELRKLzKTC04L8oUJb8amqk?= =?us-ascii?Q?Vzp9QJKJ3zZoaqAZsTPvvCenZRVr0PoeodmQm5GzCkvuhhSYuhCktyvuBzpS?= =?us-ascii?Q?i4k2WMzR5cHi5md1WzKLBRSMCELVDj+vEecJxlj9YLO9zy81wzv6Kgr49uIY?= =?us-ascii?Q?qgyHZSHZjh3Bs97eoKDK8mIhytUvIhQ1ljVKiTwX1goBKn4XA9XB0Ey/qIRV?= =?us-ascii?Q?yWvBcORPJwvH/rwssl++sGEzRRn6B9XHtZWIpngNPyCXx7B4+L8h7vj9CvCn?= =?us-ascii?Q?INXfzuD+fh/PX4/4zpeuS/9ZWA+R92D0/HOeqtstvfzfZ1ZMX74pEwogMP+F?= =?us-ascii?B?UT09?= X-Microsoft-Exchange-Diagnostics: 1;BN3PR03MB1384;5:8vPALUDxruJXpMzdG4FlrwrQpi85F131gPAK3b5bTSmJaQ4rVf00WYa11EGDeOhKR838nloEplimShEVAAeW8v1KjOv99MhFXeiHp+mDcpvDzHDGYTKPHZJ08pvlQ0b16d1hXNqWoGPYwko+DdoCJA==;24:XpKvePOzQNSlNKJSFiyGpdii5GPWBmTYIaKtT8+ASsZYy+26SdNFDxiMmExSUbAL+4WgVYRO2ugQlY6FinZnN1U1+Bgnz93bLobhNE7CIsM=;20:xHMALK4HxKYanuyHZFVlBRZzgne7t0CZPGwAy9GvnsJAZTuTuhCtgBkXU3BJ5kpw00NmpbXWgR4xbpdlAcim6g== 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 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2304 Lines: 60 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"; + }; -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/