From patchwork Thu Oct 3 11:31:21 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 2982411 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 34DE1BFF0B for ; Thu, 3 Oct 2013 11:55:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 189D220340 for ; Thu, 3 Oct 2013 11:55:43 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 569F62012E for ; Thu, 3 Oct 2013 11:55:38 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VRh8r-00079n-Jm; Thu, 03 Oct 2013 11:32:26 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VRh8I-000807-VN; Thu, 03 Oct 2013 11:31:50 +0000 Received: from mail-ea0-f169.google.com ([209.85.215.169]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VRh8F-0007xe-SA for linux-arm-kernel@lists.infradead.org; Thu, 03 Oct 2013 11:31:48 +0000 Received: by mail-ea0-f169.google.com with SMTP id k11so1025333eaj.14 for ; Thu, 03 Oct 2013 04:31:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=s6BTcIQ9VLIV9vqq+zYSivHIJo06NX3J0jZSf7gTp4s=; b=WLQXHc9eno5wtBlpa0zEauSb689Q2yROph8v/1Tj4KAnIsAtZ+wSoyrUEOOB7pBVq4 lrh+NwtYpNhcswFwbAua3fGlpJLMnWQ6EuFcHu4/EJk5LSiW/QD05aO/mwfmQodBB3Lj OZqZN5FR9kmIvAtoqpRB+uDOZtETSKQaZZIoISkpv7Z1YKfLlmM0UjIIsSRLo1X4k6pH /DidmI70kR1k5oXah3TCG0Y4qX1AUT3FNXo2HBBMvyoNFeE+dSWfbsj1Q6XPlO28wIiN xQVY2/QcaEgJ31uLtV2RzO6VBcd5HsnUl9U+TF9RM7AVRpi9ibWWda+N75Ewyafol8dn F/GA== X-Gm-Message-State: ALoCoQm6aBzC/M4bNf6+xlGy85N8NdNWAJdQQkQ4psBDOJmExrE2nx5XM8MzZ5sB+DcTtXMj9889 X-Received: by 10.14.5.3 with SMTP id 3mr3594617eek.49.1380799885997; Thu, 03 Oct 2013 04:31:25 -0700 (PDT) Received: from localhost.localdomain ([85.235.11.236]) by mx.google.com with ESMTPSA id f49sm14704263eec.7.1969.12.31.16.00.00 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 03 Oct 2013 04:31:25 -0700 (PDT) From: Linus Walleij To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 09/10] ARM: ux500: register the tc35892 GPIO on the TVK UIB Date: Thu, 3 Oct 2013 13:31:21 +0200 Message-Id: <1380799881-26048-1-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 1.8.3.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131003_073148_053548_7E08868A X-CRM114-Status: UNSURE ( 9.77 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.6 (--) Cc: devicetree@vger.kernel.org, Linus Walleij , Lee Jones X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The TVK1281618 UIB has a TC35892 GPIO expander on it, which has in the past probably been confused with the GPIO expander on the older HREF plus previous to v60, which is on an entirely different part of the system with another I2C address. Register the expander in the right place. Signed-off-by: Linus Walleij --- arch/arm/boot/dts/ste-href-tvk1281618.dtsi | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/arch/arm/boot/dts/ste-href-tvk1281618.dtsi b/arch/arm/boot/dts/ste-href-tvk1281618.dtsi index 89e1485..76d3ef1 100644 --- a/arch/arm/boot/dts/ste-href-tvk1281618.dtsi +++ b/arch/arm/boot/dts/ste-href-tvk1281618.dtsi @@ -16,5 +16,26 @@ / { soc { /* Add Synaptics touch screen, TC35892 keypad etc here */ + i2c@80004000 { + tc3589x@44 { + compatible = "tc3589x"; + reg = <0x44>; + interrupt-parent = <&gpio6>; + interrupts = <26 IRQ_TYPE_EDGE_RISING>; + + interrupt-controller; + #interrupt-cells = <2>; + + tc3589x_gpio { + compatible = "tc3589x-gpio"; + interrupts = <0 IRQ_TYPE_EDGE_RISING>; + + interrupt-controller; + #interrupt-cells = <2>; + gpio-controller; + #gpio-cells = <2>; + }; + }; + }; }; };