From patchwork Thu Aug 9 15:53:51 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 10645 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 3009D23E40 for ; Thu, 9 Aug 2012 15:54:10 +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 F3D9DA18A43 for ; Thu, 9 Aug 2012 15:54:09 +0000 (UTC) Received: by yhpp61 with SMTP id p61so591256yhp.11 for ; Thu, 09 Aug 2012 08:54:09 -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=91PQDhO+RG4g7DpVvim4uy7nvQYKpTWy1B8LOh9sA8w=; b=F3otfLbgN7F7euYGHnv4nlXyPrdmh1jkqkR0SdHe2ZkeQchy4KnIz+a2wikBSTA/qv hGHTdgTdDig7TgRjnowSs8qbC5fXHdhRQ/tmMsHvX0Qe9Oft3ir/0/rysJ2iPfw+vyZl TlMVS1Z2JIj+pBspKy9W5VADLzRh318eqAPAyTDdYtbn4vlMFqdZFGPxAqS0F8O1Iz6U LgX2yOcR7dq/BW5/FvZbMIS9L5pN4XlVsC6mf4jM4Wq35RgyBnUFzzzSQOB3MIhAwM2W ZQM5sIL3RjYOA+wHkPzuIyjLU3XWUxY/6lAc4uHwPl42CIZ3uBpmgKZ0bYXzJnsDK73I Z4TA== Received: by 10.50.181.136 with SMTP id dw8mr1609059igc.31.1344527649363; Thu, 09 Aug 2012 08:54:09 -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.200 with SMTP id ew8csp15567igc; Thu, 9 Aug 2012 08:54:08 -0700 (PDT) Received: by 10.216.181.67 with SMTP id k45mr1967760wem.17.1344527648703; Thu, 09 Aug 2012 08:54:08 -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 q10si2978488wiz.18.2012.08.09.08.54.08 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 09 Aug 2012 08:54:08 -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 u7so485525wey.37 for ; Thu, 09 Aug 2012 08:54:08 -0700 (PDT) Received: by 10.180.84.164 with SMTP id a4mr3980671wiz.12.1344527648166; Thu, 09 Aug 2012 08:54:08 -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 cl8sm2302659wib.10.2012.08.09.08.54.06 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 09 Aug 2012 08:54:07 -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, broonie@opensource.wolfsonmicro.com, Lee Jones Subject: [PATCH 4/8] ARM: ux500: Force AB8500 to use the GIC as its interrupt controller Date: Thu, 9 Aug 2012 16:53:51 +0100 Message-Id: <1344527635-6163-5-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1344527635-6163-1-git-send-email-lee.jones@linaro.org> References: <1344527635-6163-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQkutklpJQKLXdBVb3sFVd2WLIMSdaRxjIhT5c1kGRpfoO5Tg9dDuc+WGoSfdJfA1PrITB4Y 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 6da7ccb..5106662 100644 --- a/arch/arm/boot/dts/dbx5x0.dtsi +++ b/arch/arm/boot/dts/dbx5x0.dtsi @@ -332,6 +332,7 @@ ab8500@5 { compatible = "stericsson,ab8500"; reg = <5>; /* mailbox 5 is i2c */ + interrupt-parent = <&intc>; interrupts = <0 40 0x4>; interrupt-controller; #interrupt-cells = <2>;