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: 20779 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ve0-f200.google.com (mail-ve0-f200.google.com [209.85.128.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 76F74266EC for ; Thu, 3 Oct 2013 11:31:28 +0000 (UTC) Received: by mail-ve0-f200.google.com with SMTP id oy12sf5047356veb.11 for ; Thu, 03 Oct 2013 04:31:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:x-gm-message-state:delivered-to:from:to:cc:subject :date:message-id:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=s6BTcIQ9VLIV9vqq+zYSivHIJo06NX3J0jZSf7gTp4s=; b=d/joaeQE6YypOLfDq+1gbp72f7KCtgCeEFJ6dB18N85G6WADbi6JPClqgEsc0JRhTe YfjLn6jofgvhdoL43+poEkM7ayLsgMSsdkUxrq3VDg5BQ4DNmp+7e515TL8XJQcKRGST zGfNcpdQ34+LPRoO/Z7h2/WSJFwysbmBWswWOZAYZIg95z3MprBroefA04BDCbJfp62s hAPODybxXK38AbyeTCxkjmUePPiaGM0aKCPGSwYM4cK8FMNJ396rAiM+fI0NXnx7dM6w G9LRiFyjNwPpcBJh0QVbaH31jQZnZ3ZV4XjYzJ63iFJ9xn/dl/27g698KMs+YB/VIGQh OgBA== X-Received: by 10.236.80.42 with SMTP id j30mr7328324yhe.29.1380799887799; Thu, 03 Oct 2013 04:31:27 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.25.66 with SMTP id a2ls886876qeg.95.gmail; Thu, 03 Oct 2013 04:31:27 -0700 (PDT) X-Received: by 10.220.184.70 with SMTP id cj6mr964382vcb.23.1380799887679; Thu, 03 Oct 2013 04:31:27 -0700 (PDT) Received: from mail-vc0-f176.google.com (mail-vc0-f176.google.com [209.85.220.176]) by mx.google.com with ESMTPS id gq10si1604548vdc.82.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 03 Oct 2013 04:31:27 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.176 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.176; Received: by mail-vc0-f176.google.com with SMTP id lf11so866066vcb.21 for ; Thu, 03 Oct 2013 04:31:27 -0700 (PDT) X-Gm-Message-State: ALoCoQl6gc4Zg0VQWdkjseXMG8+xwXB6gxvQgkkfJtOnQ33ySeqit5g9AqasPmZ2PHNTdmXKWROx X-Received: by 10.220.196.66 with SMTP id ef2mr7091465vcb.7.1380799887608; Thu, 03 Oct 2013 04:31:27 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp170454vcz; Thu, 3 Oct 2013 04:31:27 -0700 (PDT) X-Received: by 10.15.32.7 with SMTP id z7mr2008583eeu.78.1380799886554; Thu, 03 Oct 2013 04:31:26 -0700 (PDT) Received: from mail-ea0-f169.google.com (mail-ea0-f169.google.com [209.85.215.169]) by mx.google.com with ESMTPS id z9si5526117eeo.106.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 03 Oct 2013 04:31:26 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.215.169 is neither permitted nor denied by best guess record for domain of linus.walleij@linaro.org) client-ip=209.85.215.169; Received: by mail-ea0-f169.google.com with SMTP id k11so1028837eaj.0 for ; Thu, 03 Oct 2013 04:31:26 -0700 (PDT) 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 Cc: Lee Jones , devicetree@vger.kernel.org, Linus Walleij 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-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: linus.walleij@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.176 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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>; + }; + }; + }; }; };