Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1435085
| Path | csiph.com!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Caesar Wang <wxt@rock-chips.com> |
| Newsgroups | linux.kernel |
| Subject | [PATCH 2/2] arm64: dts: rockchip: support the pmu node for rk3399 |
| Date | Fri, 01 Jul 2016 09:40:02 +0200 |
| Message-ID | <rQ1do-3M7-9@gated-at.bofh.it> (permalink) |
| References | <rQ1dn-3M7-3@gated-at.bofh.it> |
| X-Google-Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=0nuaQ/azakFBIiaTTDF9VhXyVpDfkjhBmOs78FEZm4c=; b=Wh05HvYWljpTVeJhbzhjWDwRxCOQ25D89CclGyJYCLnjuhPNYbTBIsGukMWwsBt7rq ARRDV+gdSdpHx2LYBQcUHqTokFHTbEx5qqrCpO3LfgWq3I/FOrP2/WGloin90QfpIVLc pi+Os193ajqfXHwdNJeYBgl36Z6nXZHhW3qVodLtIQlfNyxJFfRYTy4WgNPe77Ydh1Qe hYbX3X8bvO4dfCatXR171avAEUWzA2GTqXs1pdLSxbVSiIufVfDU92riun5ANbGZH7FK bFHApdgBGVxc6uQO0dMmQ4bYVuli2eOVPraJ0JgnNRWbxT7lTf3h/hJksza0er16Qd2+ zzoQ== |
| X-Gm-Message-State | ALyK8tL82niHmx2NZGuEEl4o2uhJ2Su43qxjOPigRexxM6Ft4Kuztpa8WA2fgC5WpFGQ0Q== |
| X-Received | by 10.98.39.68 with SMTP id n65mr29165781pfn.153.1467358593839; Fri, 01 Jul 2016 00:36:33 -0700 (PDT) |
| X-Mailer | git-send-email 1.9.1 |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 63 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | dianders@chromium.org, Will Deacon <will.deacon@arm.com>, briannorris@google.com, linux-rockchip@lists.infradead.org, cf@rock-chips.com, huangtao@rock-chips.com, jay.xu@rock-chips.com, Caesar Wang <wxt@rock-chips.com>, linux-arm-kernel@lists.infradead.org, Rob Herring <robh+dt@kernel.org>, Mark Rutland <mark.rutland@arm.com>, Catalin Marinas <catalin.marinas@arm.com>, Brian Norris <briannorris@chromium.org>, Masahiro Yamada <yamada.masahiro@socionext.com>, David Wu <david.wu@rock-chips.com>, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org |
| X-Original-Date | Fri, 1 Jul 2016 15:36:10 +0800 |
| X-Original-Message-ID | <1467358570-24417-3-git-send-email-wxt@rock-chips.com> |
| X-Original-References | <1467358570-24417-1-git-send-email-wxt@rock-chips.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1435085 |
Show key headers only | View raw
As the Marc posted the patches [0] to support Partitioning per-cpu
interrupts. Let's add this patch to match it on rk3399 SoCs.
[0]:
https://lkml.org/lkml/2016/4/11/182
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Cc: Heiko Stuebner <heiko@sntech.de>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Marc Zyngier <marc.zyngier@arm.com>
CC: linux-arm-kernel@lists.infradead.org
---
arch/arm64/boot/dts/rockchip/rk3399.dtsi | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi
index 8f0a069..b260f62 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi
@@ -165,6 +165,22 @@
<GIC_PPI 10 IRQ_TYPE_LEVEL_LOW 0>;
};
+ pmu_a53 {
+ compatible = "arm,cortex-a53-pmu";
+ interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_LOW &part0>;
+ interrupt-affinity = <&cpu_l0>,
+ <&cpu_l1>,
+ <&cpu_l2>,
+ <&cpu_l3>;
+ };
+
+ pmu_a72 {
+ compatible = "arm,cortex-a72-pmu";
+ interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_LOW &part1>;
+ interrupt-affinity = <&cpu_b0>,
+ <&cpu_b1>;
+ };
+
xin24m: xin24m {
compatible = "fixed-clock";
clock-frequency = <24000000>;
@@ -296,6 +312,16 @@
msi-controller;
reg = <0x0 0xfee20000 0x0 0x20000>;
};
+
+ ppi-partitions {
+ part0: interrupt-partition-0 {
+ affinity = <&cpu_l0 &cpu_l1 &cpu_l2 &cpu_l3>;
+ };
+
+ part1: interrupt-partition-1 {
+ affinity = <&cpu_b0 &cpu_b1>;
+ };
+ };
};
i2c1: i2c@ff110000 {
--
1.9.1
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/2] arm64: dts: rockchip: Support PMU for rk3399 SoCs Caesar Wang <wxt@rock-chips.com> - 2016-07-01 09:40 +0200
[PATCH 1/2] arm64: dts: rockchip: change all interrupts cells for 4 on rk3399 SoCs Caesar Wang <wxt@rock-chips.com> - 2016-07-01 09:40 +0200
[PATCH 2/2] arm64: dts: rockchip: support the pmu node for rk3399 Caesar Wang <wxt@rock-chips.com> - 2016-07-01 09:40 +0200
Re: [PATCH 2/2] arm64: dts: rockchip: support the pmu node for rk3399 Mark Rutland <mark.rutland@arm.com> - 2016-07-01 12:30 +0200
Re: [PATCH 2/2] arm64: dts: rockchip: support the pmu node for rk3399 Marc Zyngier <marc.zyngier@arm.com> - 2016-07-01 15:00 +0200
csiph-web