From patchwork Fri Oct 5 15:31:44 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 1554201 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id AB844DF24C for ; Fri, 5 Oct 2012 15:41:36 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TK9wQ-00049E-MU; Fri, 05 Oct 2012 15:35:55 +0000 Received: from mail-wg0-f49.google.com ([74.125.82.49]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TK9ts-0002uH-FZ for linux-arm-kernel@lists.infradead.org; Fri, 05 Oct 2012 15:33:17 +0000 Received: by mail-wg0-f49.google.com with SMTP id gg4so1041679wgb.18 for ; Fri, 05 Oct 2012 08:32:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=uCY7o4ua8LXq4l+cjbymJI3hjT8UV5ePcS1ATrcXcfQ=; b=madiKscJWdhj6eUL+sNVJVfJ/kF1VB8RrIZ3c9nZtSKTdFVwUJXejZWOKz7Z0jI/9a rztXviFSs7MFATei9YpR5sKr3FtvacTI2szYM6Wt4nRzuR9zb/Xf0IIr0pXIVpaVxWfH mcsGZRobTjKauUV+T4gB/7OOBqyiffOdRWojxopdDc8eCYY9YSQtCE1/BD8Ll3D1UGiR zYciVCfcsfXYcRFFXWJfeLVkQJadq7sf4tdjonpJc77/PHfnKyPeUDqH0BllQ2dwNFZm 9UMP4AAFKPcusua51jhyL7si8pYRBkdUNkzZru7BUysBiEGVlBZ+x5KB9OA2hgqPrKBP kdIg== Received: by 10.180.106.9 with SMTP id gq9mr4129142wib.12.1349451131181; Fri, 05 Oct 2012 08:32:11 -0700 (PDT) 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 w8sm2906148wif.4.2012.10.05.08.32.09 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 05 Oct 2012 08:32:10 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 08/10] Documentation: Describe bindings for STMPE Keypad driver Date: Fri, 5 Oct 2012 16:31:44 +0100 Message-Id: <1349451107-8009-9-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1349451107-8009-1-git-send-email-lee.jones@linaro.org> References: <1349451107-8009-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQkd9kKVCP1tx2jy2MfNfqZM//K+m6htiK8Pzk+IQzN2xrC/8qXbQpCpIL19PXKShTCr10Gs X-Spam-Note: CRM114 invocation failed X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [74.125.82.49 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Dmitry Torokhov , Lee Jones , linus.walleij@stericsson.com, arnd@arndb.de, linux-input@vger.kernel.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org 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: 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..e18e2de --- /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 + - stericsson,scan-count : Scanning cycles elapsed before key data is updated + - stericsson,no-autorepeat : If specified device will not autorepeat + +Example: + + stmpe_keypad { + compatible = "st,stmpe-keypad"; + + debounce-interval = <64>; + stericsson,scan-count = <8>; + stericsson,no-autorepeat; + + linux,keymap = <0x205006b + 0x4010074 + 0x3050072 + 0x1030004 + 0x502006a + 0x500000a + 0x5008b + 0x706001c + 0x405000b + 0x6070003 + 0x3040067 + 0x303006c + 0x60400e7 + 0x602009e + 0x4020073 + 0x5050002 + 0x4030069 + 0x3020008>; + };