From patchwork Tue Oct 2 08:13:19 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 1536191 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 B92F3DF238 for ; Tue, 2 Oct 2012 08:16:18 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TIxcO-0004V3-8v; Tue, 02 Oct 2012 08:14:16 +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 1TIxbp-0004PY-U0 for linux-arm-kernel@lists.infradead.org; Tue, 02 Oct 2012 08:13:43 +0000 Received: by mail-wg0-f49.google.com with SMTP id gg4so2556242wgb.18 for ; Tue, 02 Oct 2012 01:13:41 -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=BXIAQqNTnF1MuMgbOgoAZU5LJvHwqceltilzBhyhPeM=; b=M94ajtUhGLPBztKshcHaX/ifa0WjpwnV9q1sJREZyymPILMBH44vmfIBEw+EO1Zbes uhsw6SDJ4DmJaytSIQoFrOfUgrb1gOFOeijVYRB4KYnEl1tOh6XZxMx66uaTaRkbt50g sSofLYlibXozrKwtzT1jDetSsS72yJuyPx7dBTJveXLbCJeTn1A4BMxZegVtXuzyu67f l9Ezk19TtRjMrT/0E2Nx4Twup3Ijo4n6b0Dw1VrjC4teza+Mr4VrhtNlt5Ac2vTaFLLJ y8hJsPWME7gYM3dYtYHPJ+hTALs2h5ZAK8ByLPAgdxZc1hnPT8bUdijeCeuqAMbznTtO gbaw== Received: by 10.216.193.220 with SMTP id k70mr9921229wen.35.1349165621547; Tue, 02 Oct 2012 01:13:41 -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 p4sm1193936wix.0.2012.10.02.01.13.40 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 02 Oct 2012 01:13:40 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 06/10] Documentation: Detail permitted DT properties for the BU21013 Touch Screen Date: Tue, 2 Oct 2012 09:13:19 +0100 Message-Id: <1349165603-24401-7-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1349165603-24401-1-git-send-email-lee.jones@linaro.org> References: <1349165603-24401-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQnHxZ74+Zh0VcOJI5GO4voDAz1G4FKLJf7dRdxADki2a/c7c2ZIc1DRKwzJhox9Yg78OGCq 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 apply required documentation for the Rohm BU21013 Touch Screen driver which describe available properties and how to use them. Cc: Dmitry Torokhov Cc: linux-input@vger.kernel.org Signed-off-by: Lee Jones Acked-by: Linus Walleij --- .../bindings/input/touchscreen/bu21013.txt | 28 ++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/touchscreen/bu21013.txt diff --git a/Documentation/devicetree/bindings/input/touchscreen/bu21013.txt b/Documentation/devicetree/bindings/input/touchscreen/bu21013.txt new file mode 100644 index 0000000..51edc75 --- /dev/null +++ b/Documentation/devicetree/bindings/input/touchscreen/bu21013.txt @@ -0,0 +1,28 @@ +* Rohm BU21013 Touch Screen + +Required properties: + - compatible : "stericsson,bu21013_tp" + - reg : I2C device address + +Optional properties: +touch-gpio : GPIO pin registering a touch event +-supply : Phandle to a regulator supply +stericsson,touch-max-x : Maximum outward permitted limit in the X axis +stericsson,touch-max-y : Maximum outward permitted limit in the Y axis +stericsson,flip-x : Flip touch coordinates on the X axis +stericsson,flip-y : Flip touch coordinates on the Y axis + +Example: + + i2c@80110000 { + bu21013_tp@0x5c { + compatible = "bu21013_tp"; + reg = <0x5c>; + touch-gpio = <&gpio2 20 0x4>; + avdd-supply = <&ab8500_ldo_aux1_reg>; + + stericsson,touch-max-x = <384>; + stericsson,touch-max-y = <704>; + stricsson,flip-y; + }; + };