From patchwork Wed Nov 14 13:47:17 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12844 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id B3FE823E13 for ; Wed, 14 Nov 2012 13:47:58 +0000 (UTC) Received: from mail-ia0-f180.google.com (mail-ia0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id 66EADA18F14 for ; Wed, 14 Nov 2012 13:47:58 +0000 (UTC) Received: by mail-ia0-f180.google.com with SMTP id f6so263043iag.11 for ; Wed, 14 Nov 2012 05:47:58 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=cBLAYsUyK+wpqwgcYFpObiF1gx9kl2fgxQ+HkLYK6SE=; b=N3RXgyul5U2ivGjyQYdelVwAmT5EqLNESKa2NAOQOMci3AUDuOjjPuo3FXWQl2yx1v X2YROBHUh3gT78lcsWqNCjvfWtaPVsG2ALaF9FUTvMGyyF2EKH80Xef6Axxsv0Rhy1vO TzpllkNZIf2cHnUD6uN2lSnuaJlmmuWD8oSRiTJiS4mAVj/ZNlxr0Ew3x68sb9ouifX4 9IBV062iYNn2+Tekz3C/h0+6Z6yzHb95eDZOlPIg4gcqhUi3w+hPL4awfe9IkkKT9ao5 NH8sqkClsvrK0MBUPzAEajtPrwd/9xqV+9RlghBPqZYosBV47Eau7bZjWKj7xZJHURUH as3A== Received: by 10.50.213.34 with SMTP id np2mr1809718igc.57.1352900878172; Wed, 14 Nov 2012 05:47:58 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.67.148 with SMTP id n20csp662917igt; Wed, 14 Nov 2012 05:47:57 -0800 (PST) Received: by 10.180.107.136 with SMTP id hc8mr26089581wib.9.1352900876928; Wed, 14 Nov 2012 05:47:56 -0800 (PST) Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by mx.google.com with ESMTPS id c26si6668700wep.50.2012.11.14.05.47.56 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 14 Nov 2012 05:47:56 -0800 (PST) Received-SPF: neutral (google.com: 74.125.82.50 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=74.125.82.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 74.125.82.50 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) smtp.mail=lee.jones@linaro.org Received: by mail-wg0-f50.google.com with SMTP id 16so161493wgi.7 for ; Wed, 14 Nov 2012 05:47:56 -0800 (PST) Received: by 10.216.205.145 with SMTP id j17mr1603085weo.95.1352900876031; Wed, 14 Nov 2012 05:47:56 -0800 (PST) Received: from localhost.localdomain (cpc1-aztw13-0-0-cust473.18-1.cable.virginmedia.com. [77.102.241.218]) by mx.google.com with ESMTPS id b1sm2516537wix.11.2012.11.14.05.47.54 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 14 Nov 2012 05:47:55 -0800 (PST) From: Lee Jones To: linux-kernel@vger.kernel.org Cc: Lee Jones , Dmitry Torokhov , linux-input@vger.kernel.org Subject: [PATCH 5/5] Documentation: Describe bindings for STMPE Keypad driver Date: Wed, 14 Nov 2012 13:47:17 +0000 Message-Id: <1352900837-20759-6-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1352900837-20759-1-git-send-email-lee.jones@linaro.org> References: <1352900837-20759-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQmsfu6hUDilJZPO8DChmwZ2Kdm22C9ys2F1mP5jDo1u8/5CAtz8r6IqixzM2XZKrjB65A0C Here we add the required documentation for the STMPE Device Tree bindings. It describes all of the bindings currently supported by the driver. Cc: Dmitry Torokhov Cc: linux-input@vger.kernel.org Acked-by: Arnd Bergmann Acked-by: Linus Walleij Signed-off-by: Lee Jones --- .../devicetree/bindings/input/stmpe-keypad.txt | 39 ++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/stmpe-keypad.txt diff --git a/Documentation/devicetree/bindings/input/stmpe-keypad.txt b/Documentation/devicetree/bindings/input/stmpe-keypad.txt new file mode 100644 index 0000000..1b97222 --- /dev/null +++ b/Documentation/devicetree/bindings/input/stmpe-keypad.txt @@ -0,0 +1,39 @@ +* STMPE Keypad + +Required properties: + - compatible : "st,stmpe-keypad" + - linux,keymap : See ./matrix-keymap.txt + +Optional properties: + - debounce-interval : Debouncing interval time in milliseconds + - st,scan-count : Scanning cycles elapsed before key data is updated + - st,no-autorepeat : If specified device will not autorepeat + +Example: + + stmpe_keypad { + compatible = "st,stmpe-keypad"; + + debounce-interval = <64>; + st,scan-count = <8>; + st,no-autorepeat; + + linux,keymap = <0x205006b + 0x4010074 + 0x3050072 + 0x1030004 + 0x502006a + 0x500000a + 0x5008b + 0x706001c + 0x405000b + 0x6070003 + 0x3040067 + 0x303006c + 0x60400e7 + 0x602009e + 0x4020073 + 0x5050002 + 0x4030069 + 0x3020008>; + };