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: 1302381 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id B5FE6DFF7B for ; Thu, 9 Aug 2012 17:09:06 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1SzV8w-0001n2-7x; Thu, 09 Aug 2012 15:59:27 +0000 Received: from mail-wi0-f169.google.com ([209.85.212.169]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1SzV3q-00065s-7k for linux-arm-kernel@lists.infradead.org; Thu, 09 Aug 2012 15:54:12 +0000 Received: by wibhm2 with SMTP id hm2so430068wib.0 for ; Thu, 09 Aug 2012 08:54:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=91PQDhO+RG4g7DpVvim4uy7nvQYKpTWy1B8LOh9sA8w=; b=i8EInf5IHh3zhU3MUAXBh6U/9iF6QbELLITB4/5Ox3hlE/vlb+tRpKEPP7QrMIRAFe FfPPz5ioCrBCQaMU8X3shX1Igs4UZv4nw7shnTE8gUK+P//S66BZkTwD04O8LXXnp4oQ CWTVrz3mz7FkkH6RZPX/72CuiIOXdJ3xxDNwHXXRilCPiEupPfB91gk46yJKH0E/kWsJ TBVXbQgeY9CDVX2UKdEcbf2xbN4yR/amPfSEsDpeZ4jJpwfmvVGGELwL/qhzLnQ959Hu 7KrNu+jcjteY/RmCl7ZFfhjyc5OlqepG/24Q//MFcx/vmfKOYYCujIiRwib2V5hs610y Gs9Q== 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 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: ALoCoQkRdB53yqjE9XYoolJvA3YOfiz7xEp8uzkAkI+0uX1SqesPuaME9yLDENfQ1RpZb+NvwAiY X-Spam-Note: CRM114 invocation failed X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.212.169 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: STEricsson_nomadik_linux@list.st.com, broonie@opensource.wolfsonmicro.com, Lee Jones , linus.walleij@stericsson.com, arnd@arndb.de X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org 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 Acked-by: Linus Walleij --- 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>;