Message ID | 1431528462-21591-2-git-send-email-Frank.Li@freescale.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> 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 D8906BEEE1 for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 13 May 2015 16:17:13 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 179B620439 for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 13 May 2015 16:17:13 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2B2C720437 for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 13 May 2015 16:17:12 +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 1YsZGg-00004w-DF; Wed, 13 May 2015 16:12:22 +0000 Received: from mail-bn1on0147.outbound.protection.outlook.com ([157.56.110.147] helo=na01-bn1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YsZ1f-0002Vl-Ce for linux-arm-kernel@lists.infradead.org; Wed, 13 May 2015 15:56:52 +0000 Received: from BN3PR0301CA0045.namprd03.prod.outlook.com (10.160.152.141) by DM2PR0301MB0781.namprd03.prod.outlook.com (10.160.97.152) with Microsoft SMTP Server (TLS) id 15.1.160.19; Wed, 13 May 2015 15:56:24 +0000 Received: from BL2FFO11OLC008.protection.gbl (2a01:111:f400:7c09::113) by BN3PR0301CA0045.outlook.office365.com (2a01:111:e400:401e::13) with Microsoft SMTP Server (TLS) id 15.1.160.19 via Frontend Transport; Wed, 13 May 2015 15:56:24 +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; 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 BL2FFO11OLC008.mail.protection.outlook.com (10.173.160.143) with Microsoft SMTP Server (TLS) id 15.1.160.8 via Frontend Transport; Wed, 13 May 2015 15:56:24 +0000 Received: from shlinux2.ap.freescale.net (shlinux2.ap.freescale.net [10.192.224.44]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id t4DFuHfD024009; Wed, 13 May 2015 08:56:20 -0700 From: <Frank.Li@freescale.com> To: <lznuaa@gmail.com>, <shawn.guo@linaro.org>, <dmitry.torokhov@gmail.com> Subject: [PATCH v2 2/3] document: devicetree: input: imx: i.mx snvs power device tree bindings Date: Wed, 13 May 2015 22:47:41 +0800 Message-ID: <1431528462-21591-2-git-send-email-Frank.Li@freescale.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1431528462-21591-1-git-send-email-Frank.Li@freescale.com> References: <1431528462-21591-1-git-send-email-Frank.Li@freescale.com> X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11OLC008; 1:5vct0F1yzjDlsS4ZDuFcGfSQmxk0E44+8jr9QREiyUxKXCtNHAEKmhp76XqaHHq9ZDjIc40GworcnJ1fqFvHQ7m7h8vLuuGe3D6uVTlpa2SW8py+9tgge5GbGPeoKYcvrQ9WTEkQmFsxvpR9y554u/w3tz1FTsHyYhmryg12ZgJbupGOn5fAmW6Y+w3VH6TtrTL+KL2T4suJF9vXZ8RSqCXHRAIQiAyg4XGvX6mS1QeXWLfrolHmCGym3GH/Yml5funOus7//mErYWS7f/BvjJ6AdOhV+0XvF69D2ypQqq2s95yEA6XJnMc9IV01/QnPuauXfDspvjSAXOA9BiSS+g== X-Forefront-Antispam-Report: CIP:192.88.158.2; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(339900001)(189002)(199003)(85426001)(50226001)(86362001)(92566002)(77096005)(77156002)(62966003)(47776003)(50466002)(6806004)(2950100001)(106466001)(104016003)(48376002)(46102003)(189998001)(5001770100001)(87936001)(36756003)(5001960100002)(107886002)(86152002)(2201001)(50986999)(76176999)(105606002)(229853001)(19580395003)(19580405001)(4001430100001); DIR:OUT; SFP:1102; SCL:1; SRVR:DM2PR0301MB0781; H:az84smr01.freescale.net; FPR:; SPF:Fail; MLV:sfv; MX:1; A:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB0781; 2:KQDbqwQT2FKqeWlA+WMqljIrnhAoI/14C6HcdZ4E0Rx+HN1p98GlQxLAJywymCXf; 2:wgqE0OdZEkzqXlaW6+jyy9Q+XN4xywihWy+wz3y7BaYCpyTAQ4+OEckg//Wv1ttdQZJH1ZcgN+7cxgz41zyw1jVu/8+Nz5TFv0NfymhU/AT5nL14bOxdV3gaz2RKuiOCcqStpSIHtNVROvxAo4bBFOnqvgYq7tUQSaM4KIpBQ1sCgzFHj4CVi3J4/G1rTLuj3I8/5A2ym43tcFIPH/vzc3Ejl5qJNjmYDwZc5Z24Ao4=; 6:uyTaPplI4xXuc/XuNDHEApCT6o4YGKObjtzceCiVn+Cq7KCH3InXSiAFNEEq7lYnvFQxhqd/OlygeMhy9fVoj3+PNwMPYlv1OkXfR3NG1hn3gjJexd7t5NGIxE/xCGqpIvKlak5Xlta8gUXn/FmO7xsTWIAzAyEem+AcPqe2WM9YqMcF9uR9SBwLdwk+UJ5mH4QNcaKvGYW1tjwbjBzTefb4iR7S4Emi7Ezt6igkVUsLQ+mgodx6gfUXYCYVbGKitvoeyyrGHShkESbG/t4DR+v7O/ceuNU9C+BfrLNDXxfhjJxppvrYIcwnb/AxLItuXTOPFjj3fNuPkiuNcCuJZw==; 3:XAMaFg3DqA1jNSP/M2h9f1XYy/Sk4JrCeKPUFjLjqJeppY77IVpPb34If692climucSecTJAfNiap7pCEWwjh8Ak/bAVz339cW+Lrc2hA41s3zDG5ZmLtCWt9XGdW5oYa9mil1aquz9yHIA2MlnsN1S6QbkBt1b+5AYaET03vMINebeiaSQXOx5ZXMIo73W7/pDGKEg1GDS5Uf0p1E0tTBInk5EVYnfDkZdaKdq5E83umXmNtYUl6Vpl16iZzhO1UkJ8qaglqa/hwiBwZVbJaoEfVsqpupBTtPfmrtm6Ffk= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DM2PR0301MB0781; X-Microsoft-Antispam-PRVS: <DM2PR0301MB07815594A2DA63CE1136A0BC82D90@DM2PR0301MB0781.namprd03.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(5005006)(3002001); SRVR:DM2PR0301MB0781; BCL:0; PCL:0; RULEID:; SRVR:DM2PR0301MB0781; X-Forefront-PRVS: 0575F81B58 X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB0781; 9:u6FePT6BuV5m6twwtnvDMNQTCc6UWFi+U4R1fp+PMFMKFe7e4IYAS2zxFEETEgen3x79xE145LqQKYxy/tOf9Xewj6QjoYDdlvubpISTNXXXNzy0RaUCB2bp85DjqGqMJdnkpS0KZ9XtFcll8xe0/rXbrlPVkNfMG/klCLCrG3vyf5cFCj5jZ/09hbJ5+yt3Zp/nKAxasw44RLHmZdmhFLSyx0Uqkexc6Z7mr6kgILNBB8fH2LX266k2GGsogI7Sv+yPBzD9mv8X9BmgU15Oz5seRxnDTRVecNF0Sc6qr3kyUJ8VLpx4Zgz2fkm6mIVcGAL37sb0cpuUwv3k16ExENluUuHrEcJ3FIjvrpUn/ivJfkyNRA5FBZrsFZBpPPdPDuGD9Lg/Cs7GO9B2rYCPTpRR/JmtTwaskK71ljyslZ3p2g1lr+X0tuqRKu8iX7UM9mQuTVcHW0bXtmAV0Wd3TVKLPzBOD2P5921oJ9A/g7pTHiOIeAoq1Jw1khiJdt0d2ihS5XzaAQmuKsMvESCTHq6EdeB6VI/ueqxB8yhqPq8EW2rNJqfPazet+s/u0P4iJ+4ucISk4OfRkT3O5CEvlVN7YPOyeuwL7HYkSDwBdWLtFZSTVjV0AHnVSUKsIm2ItKiLENkkPcWkRviWstmzmj9TTmB1jst/xEPs7Gyxc0NB1HJgqiEFHdW+zVPkdxjOkM4fz9vq5/gFB7kiI5+23rYeNu3BtTS8Zx3j6arC8VU2i/t6FN4JMt3ZhPlWJkEti9eQbgkdtbT7tXeuBRWqh8fEBj+Smab3oPqmqo7/aDyICRTa3FrZ/ZfT7FLc3q3m2mjuFEI54kxXKDFp1nVDJGYKqfCZ5m1Y+abKIY/kMB+ye59yuHYCjbwyuFAdk64lFLI4u08spQXvXDceb4gDtEm0RS+OOFeFNAFlOLjPVbw= X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB0781; 3:BEX3NrRsTh1a6hKlEUhVIh/zoDw+l83Vhwu6GJ21CafmHx1GRKAHpvRGiCRca5grOt/oIXoVmfnfwEpo7TkbOpLVcyKiLRff5y924yT+xPRTguO8r+T5qEhuPbKGLLE5f29JVqsdXBuzY91elGMlgw==; 10:J7NIzlpBS8D0R2oP+NIb+XS4d34YdZtsTaXDAnbCB3WJP3aieG7HNc5KmPDGtpxfyaOgGa5oryJ+vXhyu3K4ToSVFai9LYyXy3Pb8vwIz1E=; 6:S7D//oR4bbQF2SGvHCUNe0Buxy37ZbUy3/kJ6WNzcD4nAYSZaBicMQLpmj+ZLqHq X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 May 2015 15:56:24.0879 (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: DM2PR0301MB0781 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150513_085651_662160_A8AD311B X-CRM114-Status: UNSURE ( 6.89 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.0 (/) Cc: Robin Gong <b38343@freescale.com>, Frank Li <Frank.Li@freescale.com>, linux-arm-kernel@lists.infradead.org, linux-input@vger.kernel.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_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 |
diff --git a/Documentation/devicetree/bindings/input/snvs-pwrkey.txt b/Documentation/devicetree/bindings/input/snvs-pwrkey.txt new file mode 100644 index 0000000..9b3b58d --- /dev/null +++ b/Documentation/devicetree/bindings/input/snvs-pwrkey.txt @@ -0,0 +1,26 @@ +* Freescale i.MX SNVS powerkey device tree bindings + +The snvs-pwrkey is designed to enable POWER key function which controlled +by SNVS ONOFF, the driver can report the status of POWER key and wakeup +system if pressed after system suspend. + +Required SoC Specific Properties: +- compatible: Should be "fsl,imx6sx-snvs-pwrkey". + +- reg: Physical base address of the SNVS and length of memory mapped + region. + +- interrupts: The SNVS interrupt number to the CPU(s). + +- linux,keycode: Keycode to emit, KEY_POWER by default. + +- linux,wakeup: Button can wake-up the system + +Example: +snvs-pwrkey@0x020cc000 { + compatible = "fsl,imx6sx-snvs-pwrkey"; + reg = <0x020cc000 0x4000>; + interrupts = <0 4 0x4>; + linux,keycode = <116>; /* KEY_POWER */ + linux,wakeup; +};