From patchwork Thu Sep 20 12:12:49 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11568 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 320461B4E37 for ; Thu, 20 Sep 2012 12:14:00 +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 0C8B9A184EA for ; Thu, 20 Sep 2012 12:13:58 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id e10so2722067iej.11 for ; Thu, 20 Sep 2012 05:13:58 -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=xEvHZ/4kuKmeqfqSaZUKBXeqlmIUsHsLFLEWiRZiyFk=; b=S+du23+4OOTNHGRgCA7okBck6hxWkGvIbHmFbHuOU7BMY+HvDH6U4O9aLIXNHWk7cI 23rREGn0100oVj4RLhYbpPYF86ycK9PtIyW0Hm3GZZT7tvbvcWiik8cYwS4zNkiLFt3d ySQKHcxYg/7rM25W9UIhfvBHt5/gjtFdAk2OH2cS6+ZW3mXg3UXy9P4XeHqmk1COfMm1 TlLka5EKwwE8ZFCLbDHZ0T9u6Bf//MGrobC5HSUrhgOk5RUDFD15ycCT2lpbO8qzL01f b0VmpGIFkChJ6e7kmAXu8NvSarUtf85o+vKLzpdTyAWPQm+rswl4w56gSy9Faq7DZg2V D6dg== Received: by 10.50.0.193 with SMTP id 1mr1523064igg.0.1348143238848; Thu, 20 Sep 2012 05:13:58 -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 ex8csp71659igc; Thu, 20 Sep 2012 05:13:58 -0700 (PDT) Received: by 10.216.182.195 with SMTP id o45mr1069435wem.185.1348143237345; Thu, 20 Sep 2012 05:13:57 -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 d6si41909124wiv.2.2012.09.20.05.13.56 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 20 Sep 2012 05:13:57 -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 mail-we0-f178.google.com with SMTP id u7so1482367wey.37 for ; Thu, 20 Sep 2012 05:13:56 -0700 (PDT) Received: by 10.180.82.230 with SMTP id l6mr5580614wiy.21.1348143236792; Thu, 20 Sep 2012 05:13:56 -0700 (PDT) Received: from localhost.localdomain (LPuteaux-156-14-44-212.w82-127.abo.wanadoo.fr. [82.127.83.212]) by mx.google.com with ESMTPS id w7sm32394460wiz.0.2012.09.20.05.13.55 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 20 Sep 2012 05:13:56 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: STEricsson_nomadik_linux@list.st.com, linus.walleij@stericsson.com, arnd@arndb.de, olof.johansson@gmail.com, Lee Jones Subject: [PATCH 31/32] ARM: ux500: Apply tc3589x's GPIO/IRQ properties to HREF's DT Date: Thu, 20 Sep 2012 14:12:49 +0200 Message-Id: <1348143170-2130-32-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1348143170-2130-1-git-send-email-lee.jones@linaro.org> References: <1348143170-2130-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQmOgGulzeFOEUaiLdA8x3qmc/D4QIHaggV1rd6EF4NIutSU5OX1TTojfiC5iKu+WJWrdLCS This patch ensures the tc3589x and tc3598x-gpio devices are rightfully given interrupt controller status. We also describe the tc3598x-gpio GPIO expander in full and specify it as a GPIO controller. Finally we reference that the external MMC slot's Card Detection GPIO on the HREF is located on the tc3598x-gpio expander. Acked-by: Linus Walleij Signed-off-by: Lee Jones --- arch/arm/boot/dts/hrefv60plus.dts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/hrefv60plus.dts b/arch/arm/boot/dts/hrefv60plus.dts index e853882..2131d77 100644 --- a/arch/arm/boot/dts/hrefv60plus.dts +++ b/arch/arm/boot/dts/hrefv60plus.dts @@ -37,6 +37,21 @@ tc3589x@42 { compatible = "tc3589x"; reg = <0x42>; + interrupt-parent = <&gpio6>; + interrupts = <25 0x1>; + + interrupt-controller; + #interrupt-cells = <2>; + + tc3589x_gpio: tc3589x_gpio { + compatible = "tc3589x-gpio"; + interrupts = <0 0x1>; + + interrupt-controller; + #interrupt-cells = <2>; + gpio-controller; + #gpio-cells = <2>; + }; }; tps61052@33 {