From patchwork Fri Oct 5 15:31:42 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 1554121 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 37F12DF24C for ; Fri, 5 Oct 2012 15:37:41 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TK9vW-0003cF-Qn; Fri, 05 Oct 2012 15:34:59 +0000 Received: from mail-wi0-f177.google.com ([209.85.212.177]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TK9to-0002u5-Ma for linux-arm-kernel@lists.infradead.org; Fri, 05 Oct 2012 15:33:13 +0000 Received: by mail-wi0-f177.google.com with SMTP id hj13so596691wib.0 for ; Fri, 05 Oct 2012 08:32:08 -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=ARo8QJG4bLXszPlUrsWz5Rrp0FpFSPEAhL1W5tlG11k=; b=ph2xoXHGl71pDz38jK8snknn7tssOC+5w9paV+gfkNrEJx5p/jPlVD3vxW7OV0a8ZJ mW50Z3aYbKP5pV337tqiMzBSFi4cksC9MjndniJJ1VtI2rFbsrEJHISsWDm3NyRX1wn/ NrqAgWY8ItuR6lP8qYKmiPaUck5DhQ9LEiNXEX76I1hDpPGFe/yNWh0Jlvrx+DbLZ4e5 PXhxEF4skziguZ/Peg99psPhrdYAXqh0djX3eb+LT7nUrstifczbnx/VxInXEWWdMIuE NGsrftWSnThPw53sQLiTvy3GY+29R4+SWEiF5YBE+0I/IqL3IoBwPelm2VFCiy2dkln8 75YQ== Received: by 10.180.79.34 with SMTP id g2mr4093773wix.19.1349451128188; Fri, 05 Oct 2012 08:32:08 -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.06 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 05 Oct 2012 08:32:07 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 06/10] Documentation: Describe bindings for STMPE Multi-Functional Device driver Date: Fri, 5 Oct 2012 16:31:42 +0100 Message-Id: <1349451107-8009-7-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: ALoCoQkDOMeL8mAF9SaRCOUZF1BWutIaOTEN4Hg/pA0gO8NQcsMt6c7xg4CaAKAcCIMHeFwcZ0XC 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 [209.85.212.177 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Lee Jones , linus.walleij@stericsson.com, arnd@arndb.de, Samuel Ortiz 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 Multi-Functional Device (MFD) Device Tree bindings. It describes all of the bindings currently supported by the driver. Cc: Samuel Ortiz Acked-by: Linus Walleij Signed-off-by: Lee Jones --- Documentation/devicetree/bindings/mfd/stmpe.txt | 25 +++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/stmpe.txt diff --git a/Documentation/devicetree/bindings/mfd/stmpe.txt b/Documentation/devicetree/bindings/mfd/stmpe.txt new file mode 100644 index 0000000..8f0aeda --- /dev/null +++ b/Documentation/devicetree/bindings/mfd/stmpe.txt @@ -0,0 +1,25 @@ +* STMPE Multi-Functional Device + +Required properties: + - compatible : "st,stmpe[811|1601|2401|2403]" + - reg : I2C address of the device + +Optional properties: + - interrupts : The interrupt outputs from the controller + - interrupt-controller : Marks the device node as an interrupt controller + - interrupt-parent : Specifies which IRQ controller we're connected to + - i2c-client-wake : Marks the input device as wakable + - st,autosleep-timeout : Valid entries (ms); 4, 16, 32, 64, 128, 256, 512 and 1024 + +Example: + + stmpe1601: stmpe1601@40 { + compatible = "st,stmpe1601"; + reg = <0x40>; + interrupts = <26 0x4>; + interrupt-parent = <&gpio6>; + interrupt-controller; + + i2c-client-wake; + st,autosleep-timeout = <1024>; + };