From patchwork Thu Sep 20 12:12:25 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11544 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 8A5D71B4E37 for ; Thu, 20 Sep 2012 12:13:17 +0000 (UTC) Received: from mail-iy0-f180.google.com (mail-iy0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id DFDAD3D098F9 for ; Thu, 20 Sep 2012 12:13:16 +0000 (UTC) Received: by iafj25 with SMTP id j25so1561861iaf.11 for ; Thu, 20 Sep 2012 05:13:16 -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=g0gz01mkpYBWj53X4hVGhdhGrepC4ZNbNL5W0vFgKVQ=; b=MUmSJfQlflRVJnGO+6POcqjCvaj+ctXpN01BHhUnLFc0ASr5MJUTQfnBoKNrqSOcZG m1rmsY/Iv4T4u5HBNYaVio9dde+WrEpC+Xayuq2VjnxdFHbWZi7FxQN73bYjS+TVJqwc x2ArUw0amJCyo92KglE2qf4Rh1Juq9Cr1eIKzdTbz2R2ZwmNxjlHLhkSO074bwZFE6MQ nNxUKU5QEri8exNJGTCMuXVBtrnApZ/2fZYnzdzIpUWfCKI2GHiRiDTGrHB6h8W1ysX8 nvm54xDpOozS69wl24PCg2TCyADeztVCd3eaTbMWIMa7zdSa/XYpJzagbAoLEoHyx0Qi N9Ew== Received: by 10.50.237.41 with SMTP id uz9mr1442101igc.43.1348143196246; Thu, 20 Sep 2012 05:13:16 -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 ex8csp71590igc; Thu, 20 Sep 2012 05:13:15 -0700 (PDT) Received: by 10.216.133.91 with SMTP id p69mr957333wei.111.1348143194788; Thu, 20 Sep 2012 05:13:14 -0700 (PDT) Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by mx.google.com with ESMTPS id p48si7335246wea.50.2012.09.20.05.13.14 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 20 Sep 2012 05:13:14 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.178 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=209.85.212.178; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.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 wibhr14 with SMTP id hr14so429696wib.13 for ; Thu, 20 Sep 2012 05:13:14 -0700 (PDT) Received: by 10.216.202.206 with SMTP id d56mr1160903weo.73.1348143194232; Thu, 20 Sep 2012 05:13:14 -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.12 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 20 Sep 2012 05:13:13 -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 07/32] ARM: ux500: Force AB8500 to use the GIC as its interrupt controller Date: Thu, 20 Sep 2012 14:12:25 +0200 Message-Id: <1348143170-2130-8-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: ALoCoQnXIQLZpgLOEUYDWFXMP4cKFiHPtehRwHI+zXTOMXz5mkG/rScsYZ9i1MBxuc95jsAgfQre 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. Acked-by: Linus Walleij 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 04cd525..daedefe 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>;