From patchwork Tue Oct 2 08:13:22 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 1536281 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id 99EA63FCFC for ; Tue, 2 Oct 2012 08:22:22 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TIxiL-0007ry-An; Tue, 02 Oct 2012 08:20:25 +0000 Received: from mail-we0-f177.google.com ([74.125.82.177]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TIxiG-0007ol-7A for linux-arm-kernel@lists.infradead.org; Tue, 02 Oct 2012 08:20:21 +0000 Received: by weyu50 with SMTP id u50so3543718wey.36 for ; Tue, 02 Oct 2012 01:20:17 -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=4D8lV5zCk5CbWII+bFWRGQXPQ0POQt9/mvFyObU58HI=; b=dA3I+kcCZAYGkEfJ/BPa4cKFbJ8HfK/7/Mhyd7VHJLY7a5sPFdGc4+hoy/R9Rvo7dh BIX0lgU3cGP+dxIQECMBFeIdbqM+PhrrC8n5skq1aZi6LxRxLA90tnC+ypXUEPQVxnZW ZuYHkcXwhuKJ5BcSWFPMgBdzQyq19B0HwQhgI/FDNBn++Sp03iWU4gpHIEw/B8FS6Cqu isjYwW1ZUTUwGN6el76LSJkKpqUOw9W21dKlAMJOXSixfrNV7q19GRDulL6mhVFw+0FW MmTHBWoPSgCWI66wJPCQO3WsxZ1RsnuKA+3PaPm5S1C8FgWHh9qebWZwuiToecU18lpl c8sA== Received: by 10.180.87.132 with SMTP id ay4mr9573213wib.5.1349165626699; Tue, 02 Oct 2012 01:13:46 -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.45 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 02 Oct 2012 01:13:46 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 09/10] ARM: ux500: Add all bu21013 touch screen components to supported Device Trees Date: Tue, 2 Oct 2012 09:13:22 +0100 Message-Id: <1349165603-24401-10-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: ALoCoQlVj9RH1xxEz5bM92x8WhBdCB3O1nX9U0agfL3kLrolfuCDnkC18upwCTQYlAfXs38EJ98O 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.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 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 It is possible to connect a BU21013 Touch Screen to all version of the HREF which support the ST-UIB. This patch applies all the necessary settings to the pre-v60 and v60+ HREF Device Trees. Signed-off-by: Lee Jones Acked-by: Linus Walleij --- arch/arm/boot/dts/hrefprev60.dts | 6 ++++++ arch/arm/boot/dts/hrefv60plus.dts | 8 ++++++++ arch/arm/boot/dts/stuib.dtsi | 23 +++++++++++++++++++++++ 3 files changed, 37 insertions(+) diff --git a/arch/arm/boot/dts/hrefprev60.dts b/arch/arm/boot/dts/hrefprev60.dts index e112cce..cd9e535 100644 --- a/arch/arm/boot/dts/hrefprev60.dts +++ b/arch/arm/boot/dts/hrefprev60.dts @@ -31,5 +31,11 @@ reg = <0x33>; }; }; + + i2c@80110000 { + bu21013_tp@0x5c { + reset-gpio = <&tc3589x_gpio 13 0x4>; + }; + }; }; }; diff --git a/arch/arm/boot/dts/hrefv60plus.dts b/arch/arm/boot/dts/hrefv60plus.dts index b5fc355..82103a2 100644 --- a/arch/arm/boot/dts/hrefv60plus.dts +++ b/arch/arm/boot/dts/hrefv60plus.dts @@ -23,4 +23,12 @@ gpios = <&gpio6 25 0x4>; }; }; + + soc-u9500 { + i2c@80110000 { + bu21013_tp@0x5c { + reset-gpio = <&gpio4 15 0x4>; + }; + }; + }; }; diff --git a/arch/arm/boot/dts/stuib.dtsi b/arch/arm/boot/dts/stuib.dtsi index 64ac327..5547f38 100644 --- a/arch/arm/boot/dts/stuib.dtsi +++ b/arch/arm/boot/dts/stuib.dtsi @@ -11,5 +11,28 @@ / { soc-u9500 { + 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; + }; + + bu21013_tp@0x5d { + compatible = "bu21013_tp"; + reg = <0x5d>; + touch-gpio = <&gpio2 20 0x4>; + avdd-supply = <&ab8500_ldo_aux1_reg>; + + stericsson,touch-max-x = <384>; + stericsson,touch-max-y = <704>; + stricsson,flip-y; + }; + }; }; };