From patchwork Mon Dec 11 20:39:12 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 10105769 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B1430602D8 for ; Mon, 11 Dec 2017 20:41:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9377F26E79 for ; Mon, 11 Dec 2017 20:41:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 87EB9298AD; Mon, 11 Dec 2017 20:41:31 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 0DEFB26E79 for ; Mon, 11 Dec 2017 20:41:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=3EQ7GD4+KhGIx/5lv/aqY5x0SiYjpFIfhtZwMt5dI0c=; b=OPepVqJ2FrJjn7ACKQX8mPFxFa igOrj274hIrQ1FlbhEC7Bn3hV1A1dPHQY1A1mtDqQBxcvDgUXp7TGL9qJ+sql+5PcUeckThVV+p9j OhZPQoerPM5YTfWrJcPCZosSTc55AxDYg+/uYJPU1CLqVDFpe6D0Hz6qLMaQymw1oys9GXO5oXCm9 iOhP5BzvlR98bRxrUNcc7dhTf28KZwNo1TgaNtQeqTm1kYbcwNqnOViEinChp6Ij0pwf40FLxII7c m3nn9GmBts8zg8G2MoQvyu6MuVFjLQSHG9AArVifFPqCGkQCu6bz2MaHVML9Lw4PX+SDrng4xF9ne TCY72HDg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eOUtF-0006C6-W9; Mon, 11 Dec 2017 20:41:30 +0000 Received: from mout.kundenserver.de ([217.72.192.75]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eOUse-0005cZ-28; Mon, 11 Dec 2017 20:40:54 +0000 Received: from localhost.localdomain ([95.90.209.155]) by mrelayeu.kundenserver.de (mreue102 [212.227.15.183]) with ESMTPSA (Nemesis) id 0M5Ovf-1fFv0M05z5-00zUCA; Mon, 11 Dec 2017 21:40:13 +0100 From: Stefan Wahren To: Thomas Gleixner , Jason Cooper , Marc Zyngier , Eric Anholt , Florian Fainelli , Scott Branden , Rob Herring , Mark Rutland Subject: [PATCH 3/3] ARM: dts: bcm283x: Define polarity of per-cpu interrupts Date: Mon, 11 Dec 2017 21:39:12 +0100 Message-Id: <1513024752-11246-4-git-send-email-stefan.wahren@i2se.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1513024752-11246-1-git-send-email-stefan.wahren@i2se.com> References: <1513024752-11246-1-git-send-email-stefan.wahren@i2se.com> X-Provags-ID: V03:K0:Epu5EAp8bDtWi+fLqrVPjY34F7jF1Xl4WeAFLDjjFUtlcoMF5Jl PpwIKW5bZpWqhN3t1h6RlcmsR6LVXSwHMtVPFsr2ymzGjukdtajDbsYUNWLe1wYGQy3z/sX 0KmPWnxIXpduJS9inog3obV0yunYBPZd4t4KdUDcTRaYCzguE1wo2l9JLorMXMnvr+lCSLc 7yJCXMl+cSRGVM/BfGUrw== X-UI-Out-Filterresults: notjunk:1; V01:K0:+rqLMQV/tvs=:iHJLuyOfHSvKYY0EC70O4U wlSi5uP6sEcv+/MLItvlHM7ettk0PrFE4F3a6mUzyN69JnMiYufl3ermQAahVMo9jW0V3j33q D8Rc8IBYFghygvA+NCAr+Pt4B9Fm+Qh0SdGzqJaTCvvTLPVv1LZYDgvZZCUg/WdEt2tmlKilL eOUjy3H6bmFVbxbYtJGFZvBIQ+PqOy0kuOWliPpOCvYeMKoBZKsqHH/IZo/0l0aBluAtThFPm qTh04FR79/87ubeXF77knkkSmPY5slBalg5HUbYRif5jO0a3tCxnL+/QvnjcKVeDHOyovlRl1 3X0ieMp4pfujdFDb8jYn4vXvZZDG/tsEoiwbq5C469srB3oPtXwsvZPrcz6ukQwsGzvYCFnWR wWD8Vb7EJLAzZcie3e9zFlnmWm9fwXjsf9Ub2L4RGaYetRMxTWl6tjPkaLxK5XSZOINJ9yRgX 832x0oHFOlJFfCDPA8q8AvxDUKBLzEkB7AnXpbi3wLXrWrhQE1SJ3AXgugJVN0r6qQuZZjOjI N3KdKKgyL7D5rS57eYUb4VvQOrgvuIMJNNobhja7NGzzJa28FUTlohq1teUb9SuKFumrFkrTY imjKTmBSOcVQZHzewZDOsjZ+5F7zwixr0FG2lhpcCghMSyBx2OnNce5x3/Ia0usyEh8khke1U 8Frpc/S+tgyzJNpYXjT4AMGTFbisHOisKMzJFYJPXPq3/2042R/mOk9xjOsXy/r7dX6DUkT9o JxZfHvg3sEtbccAjr+anJEJhdNns+XIC8mjrOQ== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171211_124052_442123_78D8D3E3 X-CRM114-Status: UNSURE ( 9.66 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Stefan Wahren , devicetree@vger.kernel.org, phil@raspberrypi.org, Russell King , linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This patch define the polarity of the per-cpu interrupts on BCM2836 and BCM2837 in order to avoid the warnings from ARM arch timer code: arch_timer: WARNING: Invalid trigger for IRQ19, assuming level low arch_timer: WARNING: Please fix your firmware arch_timer: cp15 timer(s) running at 19.20MHz (virt). Signed-off-by: Stefan Wahren --- arch/arm/boot/dts/bcm2836.dtsi | 14 +++++++------- arch/arm/boot/dts/bcm2837.dtsi | 12 ++++++------ arch/arm/boot/dts/bcm283x.dtsi | 1 + 3 files changed, 14 insertions(+), 13 deletions(-) diff --git a/arch/arm/boot/dts/bcm2836.dtsi b/arch/arm/boot/dts/bcm2836.dtsi index 61e1580..1dfd764 100644 --- a/arch/arm/boot/dts/bcm2836.dtsi +++ b/arch/arm/boot/dts/bcm2836.dtsi @@ -13,24 +13,24 @@ compatible = "brcm,bcm2836-l1-intc"; reg = <0x40000000 0x100>; interrupt-controller; - #interrupt-cells = <1>; + #interrupt-cells = <2>; interrupt-parent = <&local_intc>; }; arm-pmu { compatible = "arm,cortex-a7-pmu"; interrupt-parent = <&local_intc>; - interrupts = <9>; + interrupts = <9 IRQ_TYPE_LEVEL_HIGH>; }; }; timer { compatible = "arm,armv7-timer"; interrupt-parent = <&local_intc>; - interrupts = <0>, // PHYS_SECURE_PPI - <1>, // PHYS_NONSECURE_PPI - <3>, // VIRT_PPI - <2>; // HYP_PPI + interrupts = <0 IRQ_TYPE_LEVEL_HIGH>, // PHYS_SECURE_PPI + <1 IRQ_TYPE_LEVEL_HIGH>, // PHYS_NONSECURE_PPI + <3 IRQ_TYPE_LEVEL_HIGH>, // VIRT_PPI + <2 IRQ_TYPE_LEVEL_HIGH>; // HYP_PPI always-on; }; @@ -76,7 +76,7 @@ compatible = "brcm,bcm2836-armctrl-ic"; reg = <0x7e00b200 0x200>; interrupt-parent = <&local_intc>; - interrupts = <8>; + interrupts = <8 IRQ_TYPE_LEVEL_HIGH>; }; &cpu_thermal { diff --git a/arch/arm/boot/dts/bcm2837.dtsi b/arch/arm/boot/dts/bcm2837.dtsi index bc1cca5..efa7d33 100644 --- a/arch/arm/boot/dts/bcm2837.dtsi +++ b/arch/arm/boot/dts/bcm2837.dtsi @@ -12,7 +12,7 @@ compatible = "brcm,bcm2836-l1-intc"; reg = <0x40000000 0x100>; interrupt-controller; - #interrupt-cells = <1>; + #interrupt-cells = <2>; interrupt-parent = <&local_intc>; }; }; @@ -20,10 +20,10 @@ timer { compatible = "arm,armv7-timer"; interrupt-parent = <&local_intc>; - interrupts = <0>, // PHYS_SECURE_PPI - <1>, // PHYS_NONSECURE_PPI - <3>, // VIRT_PPI - <2>; // HYP_PPI + interrupts = <0 IRQ_TYPE_LEVEL_HIGH>, // PHYS_SECURE_PPI + <1 IRQ_TYPE_LEVEL_HIGH>, // PHYS_NONSECURE_PPI + <3 IRQ_TYPE_LEVEL_HIGH>, // VIRT_PPI + <2 IRQ_TYPE_LEVEL_HIGH>; // HYP_PPI always-on; }; @@ -73,7 +73,7 @@ compatible = "brcm,bcm2836-armctrl-ic"; reg = <0x7e00b200 0x200>; interrupt-parent = <&local_intc>; - interrupts = <8>; + interrupts = <8 IRQ_TYPE_LEVEL_HIGH>; }; &cpu_thermal { diff --git a/arch/arm/boot/dts/bcm283x.dtsi b/arch/arm/boot/dts/bcm283x.dtsi index e08203c..0d43bd4 100644 --- a/arch/arm/boot/dts/bcm283x.dtsi +++ b/arch/arm/boot/dts/bcm283x.dtsi @@ -2,6 +2,7 @@ #include #include #include +#include /* firmware-provided startup stubs live here, where the secondary CPUs are * spinning.