]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
arm: dts: allwinner: H3: Add PMU node
authorAndre Przywara <andre.przywara@arm.com>
Thu, 21 Nov 2019 01:18:35 +0000 (01:18 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 24 Feb 2020 07:36:34 +0000 (08:36 +0100)
commitef6b35dfe1426756ea42d90f0fc0ab508091f0db
treebad2dd13ae6a08b05512a933b41d438153d3d1c2
parent5a241d7bf1e6b57610d4942cd2522ea8859522bd
arm: dts: allwinner: H3: Add PMU node

[ Upstream commit 0388a110747bec0c9d9de995842bb2a03a26aae1 ]

Add the Performance Monitoring Unit (PMU) device tree node to the H3
.dtsi, which tells DT users which interrupts are triggered by PMU
overflow events on each core. The numbers come from the manual and have
been checked in U-Boot and with perf in Linux.

Tested with perf record and taskset on an OrangePi Zero.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/boot/dts/sun8i-h3.dtsi