From patchwork Mon Aug 6 10:46:39 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 10508 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 3AE322402A for ; Mon, 6 Aug 2012 10:47:06 +0000 (UTC) Received: from mail-yw0-f52.google.com (mail-yw0-f52.google.com [209.85.213.52]) by fiordland.canonical.com (Postfix) with ESMTP id 09637A18D2E for ; Mon, 6 Aug 2012 10:47:05 +0000 (UTC) Received: by mail-yw0-f52.google.com with SMTP id p61so435772yhp.11 for ; Mon, 06 Aug 2012 03:47:05 -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=/KEJwhcpEljO+jmjNIPlli0uFGlKNS+wx6/90w2YM0E=; b=eCOVjimciGKSbx+6rKpGjOKUGBUOFT6ROmvp7ORgHsGn/+KhILqw0LsTboBg8jvHO6 IR+vDJ+37xULsJehlxtdUQkYGs7wAPDjCRpWbTQm6HIO6eNE16UsIqsFE+2s8QLFN3bh EKkZdH4Ku6tEWMPe6RInUORxrUmNe3QEdjT0ucLshEuGzCJYcveMyeAOtF/KwMuul18r 03NZy8ff0YN+hl3s6amwWf3pLQDwoOYtR+EFctEQgb48/NZuMs9758ddgVZMZrj68xlR j8WFNTidhX+OfWKt/A6mVyaaLGL3tfqJDUYtKJpnvqJxB3d73hfupYqwbsCPYziJXUy/ 15UQ== Received: by 10.50.149.134 with SMTP id ua6mr4894696igb.11.1344250025372; Mon, 06 Aug 2012 03:47:05 -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.87.40 with SMTP id u8csp433405igz; Mon, 6 Aug 2012 03:47:04 -0700 (PDT) Received: by 10.180.83.66 with SMTP id o2mr17338590wiy.14.1344250024220; Mon, 06 Aug 2012 03:47:04 -0700 (PDT) Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by mx.google.com with ESMTPS id bt9si14709853wib.0.2012.08.06.03.47.03 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 06 Aug 2012 03:47:04 -0700 (PDT) Received-SPF: neutral (google.com: 74.125.82.50 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=74.125.82.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 74.125.82.50 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-wg0-f50.google.com with SMTP id ds11so2399744wgb.31 for ; Mon, 06 Aug 2012 03:47:03 -0700 (PDT) Received: by 10.180.89.235 with SMTP id br11mr17388821wib.3.1344250023615; Mon, 06 Aug 2012 03:47:03 -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 t7sm22043908wix.6.2012.08.06.03.47.02 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 06 Aug 2012 03:47:03 -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, dmitry.torokhov@gmail.com, sameo@linux.intel.com, Lee Jones Subject: [PATCH 3/6] ARM: ux500: Force AB8500 to use the GIC as its interrupt controller Date: Mon, 6 Aug 2012 11:46:39 +0100 Message-Id: <1344250002-6011-4-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1344250002-6011-1-git-send-email-lee.jones@linaro.org> References: <1344250002-6011-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQn7m6B6ikgFR3EIEF/nWaEJYv4TFpjOIvMdMtDRqIhnz9AFJovGlW5au8xQjTeUrXHl+dxY It's understood that the AB8500 should be subordinate to the DB8500; however, the AB8500 uses the GIC as it's interrupt controller. If we do not specify which IRQ controller to use the default is to use the next encountered IRQ controller as we climb the tree. This would be the DB8500. This patch ensures the AB8500 makes use of the correct interrupt controller. Signed-off-by: Lee Jones --- arch/arm/boot/dts/dbx5x0.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/dbx5x0.dtsi b/arch/arm/boot/dts/dbx5x0.dtsi index f236bb7..83229f7 100644 --- a/arch/arm/boot/dts/dbx5x0.dtsi +++ b/arch/arm/boot/dts/dbx5x0.dtsi @@ -313,6 +313,7 @@ ab8500@5 { compatible = "stericsson,ab8500"; reg = <5>; /* mailbox 5 is i2c */ + interrupt-parent = <&intc>; interrupts = <0 40 0x4>; interrupt-controller; #interrupt-cells = <2>;