From patchwork Mon Nov 5 15:10:34 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12670 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 4EC7523EF8 for ; Mon, 5 Nov 2012 15:11:03 +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 DC124A19A0C for ; Mon, 5 Nov 2012 15:11:02 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id e10so7810038iej.11 for ; Mon, 05 Nov 2012 07:11:02 -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=jl7XpPxQuBOPKZmPnWB3B3tN0B0UH4r+4BecCnHpO2A=; b=Pg8WMWn48kcVwABPhEObGcEA8enKrQNqOEnIWF6EsdOSua5b4TDxpcmGaBMTvkvsCI QhKnUmMlW26bcNv5SghWoHmv1UkfiFQkJTBD5kBXnokyL83vaXQpfsulOZCZ0R9WuByA T9y4bQM3wOAr8+O2beYxeDHmxN8lesA2of6RP86riRsdqnXXPVwZl6NGKuf6rjaz8qSe X928n9zROPRd9aihxvBFu3UpK2QsyUwNex1ogJOEWffn5ZAC7LevItaIYdLguCGpom2Z FI8M5gW1QtFNQcqN/VylgnJVIAIeSEYG7RKMdeBdTPNFOhlfRNXirjztapWUV9Z4mjTM pU2g== Received: by 10.50.40.166 with SMTP id y6mr5161994igk.57.1352128262691; Mon, 05 Nov 2012 07:11:02 -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 n20csp231256igt; Mon, 5 Nov 2012 07:11:02 -0800 (PST) Received: by 10.180.100.101 with SMTP id ex5mr13867049wib.16.1352128261630; Mon, 05 Nov 2012 07:11:01 -0800 (PST) Received: from mail-wi0-f171.google.com (mail-wi0-f171.google.com [209.85.212.171]) by mx.google.com with ESMTPS id v49si1519643wen.95.2012.11.05.07.11.01 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 05 Nov 2012 07:11:01 -0800 (PST) Received-SPF: neutral (google.com: 209.85.212.171 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=209.85.212.171; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.171 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-f171.google.com with SMTP id hj13so2313645wib.12 for ; Mon, 05 Nov 2012 07:11:01 -0800 (PST) Received: by 10.216.141.93 with SMTP id f71mr3009618wej.125.1352128261123; Mon, 05 Nov 2012 07:11:01 -0800 (PST) Received: from laptop.vlan14.pylonone.local (78.Red-88-2-49.staticIP.rima-tde.net. [88.2.49.78]) by mx.google.com with ESMTPS id ea9sm12275388wib.11.2012.11.05.07.10.59 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 05 Nov 2012 07:11:00 -0800 (PST) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, sameo@linux.intel.com Cc: arnd@arndb.de, linus.walleij@stericsson.com, Lee Jones Subject: [PATCH 6/8] Documentation: Describe bindings for STMPE Multi-Functional Device driver Date: Mon, 5 Nov 2012 16:10:34 +0100 Message-Id: <1352128236-11554-7-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1352128236-11554-1-git-send-email-lee.jones@linaro.org> References: <1352128236-11554-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQkD3hYbLRuTSjhJLvVVPhmkbdwJyOeV9E0QCk8Df67SLVFQ1Fx1SkLmngniLXFei8p2Alru 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: Arnd Bergmann 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>; + };