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: 12025 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 4160F24156 for ; Fri, 5 Oct 2012 15:32:11 +0000 (UTC) Received: from mail-ie0-f180.google.com (mail-ie0-f180.google.com [209.85.223.180]) by fiordland.canonical.com (Postfix) with ESMTP id E81EBA18882 for ; Fri, 5 Oct 2012 15:32:10 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id e10so3999235iej.11 for ; Fri, 05 Oct 2012 08:32:10 -0700 (PDT) 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=ARo8QJG4bLXszPlUrsWz5Rrp0FpFSPEAhL1W5tlG11k=; b=KQWYcWEUqlGWmg5BFtQZKGmkRJPyd4wIrD+GN8xHfICKuGLu5mZdcMpzOR791z5FnC FTtb9hRqsUZfqx4nrZjr/7FZkyUNlePqJUjlv11O7WCrZSzpUxJ3tUa2Zl24JoiBRJMR bglVJZQau9R4FBq0/gi9Mp13zUdoMhN634DHbIooic7NyZ2KUGUkPygwU+HLWkyxBd2T skVitqDXv2aCF6jJKB0sLb/TMyFQ7k8aeJjSYIs6Riyipa1wYNv8RdXcxE6+4W734eGq GzQofDN7xP+4vET8IHOzBjvYiby/IuL7OXaO9CMqrBgjd1mTGA4bpEUdzkBewQxPD6c9 JNMg== Received: by 10.50.160.165 with SMTP id xl5mr1547597igb.0.1349451130700; Fri, 05 Oct 2012 08:32:10 -0700 (PDT) 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.184.232 with SMTP id ex8csp132552igc; Fri, 5 Oct 2012 08:32:09 -0700 (PDT) Received: by 10.216.214.209 with SMTP id c59mr5331586wep.214.1349451128799; Fri, 05 Oct 2012 08:32:08 -0700 (PDT) Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by mx.google.com with ESMTPS id i20si2945664wej.51.2012.10.05.08.32.08 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 05 Oct 2012 08:32:08 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.172 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=209.85.212.172; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.172 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-wi0-f172.google.com with SMTP id hq12so718500wib.13 for ; Fri, 05 Oct 2012 08:32:08 -0700 (PDT) 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 Cc: arnd@arndb.de, linus.walleij@stericsson.com, Lee Jones , Samuel Ortiz 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: ALoCoQlxBLW3y2gVDymfeiOjnLuPEMAA+PnCH5dyb4RSHjydA3J7eS3znH26qfN2EK8tt5OviwB/ 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>; + };