]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.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)
committerPaolo Pisati <paolo.pisati@canonical.com>
Mon, 24 Feb 2020 15:19:41 +0000 (16:19 +0100)
commit48e98cfe80507a74848754869fbf7ffbb27d1c0d
tree6a4c54b440a1cbb0dd0893f400280f7dda7580d7
parentec4a19b0acf401d124d6c9499b74598395bbf0a7
arm: dts: allwinner: H3: Add PMU node

BugLink: https://bugs.launchpad.net/bugs/1864488
[ 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>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
arch/arm/boot/dts/sun8i-h3.dtsi