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: 11906 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 13CD224146 for ; Tue, 2 Oct 2012 08:13:44 +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 B9379A181CF for ; Tue, 2 Oct 2012 08:13:43 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id e10so13594640iej.11 for ; Tue, 02 Oct 2012 01:13:43 -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=BXIAQqNTnF1MuMgbOgoAZU5LJvHwqceltilzBhyhPeM=; b=mmbRhJ/vfvXiuNBoWdxaim3GV0Knajq1Olhl4YSQOSoGrZoVxkeijvj4PhzzKXl3S7 wp3oN9aMi+L+LoDL3Fx/kyEAJQhJBXd7MJd1wqhJcCGbfsRMDwb4CeiHUUiCvv43BKjX rMo+e05mpBgEM01vwmF4247I5hBCuON3w7MvUF9xnIsBHmPTciXD4zqUqk8/D7BBWxc3 asK6KXAP49ec6r7Xn3UxQreA4IHqulZvoKuzrFRbfcZaU8hfozX/nNZucR5FPA056Frr SFE3GBrLjJDogbA0YteZFul52/3puSghngWm9JHlnRhxWeaBG+3dO4Bb+fr6YvJw5VqR fmnA== Received: by 10.42.110.130 with SMTP id q2mr13250295icp.53.1349165623429; Tue, 02 Oct 2012 01:13:43 -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 ex8csp69888igc; Tue, 2 Oct 2012 01:13:42 -0700 (PDT) Received: by 10.216.72.213 with SMTP id t63mr8983882wed.7.1349165622074; Tue, 02 Oct 2012 01:13:42 -0700 (PDT) Received: from mail-we0-f178.google.com (mail-we0-f178.google.com [74.125.82.178]) by mx.google.com with ESMTPS id m2si414745wea.145.2012.10.02.01.13.41 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 02 Oct 2012 01:13:42 -0700 (PDT) Received-SPF: neutral (google.com: 74.125.82.178 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=74.125.82.178; Authentication-Results: mx.google.com; spf=neutral (google.com: 74.125.82.178 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) smtp.mail=lee.jones@linaro.org Received: by weyr6 with SMTP id r6so4013040wey.37 for ; Tue, 02 Oct 2012 01:13:41 -0700 (PDT) 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 Cc: arnd@arndb.de, linus.walleij@stericsson.com, Lee Jones , Dmitry Torokhov , linux-input@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: ALoCoQlWWTICcaqeOAZB2ab7X+2MDwyjCcw5lCWm6HmyNdq6l31MX00GX5F4oLSN59SiK2vbUvKg 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 --- .../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; + }; + };