Skip to content

Commit

Permalink
linux-mainline 3.8: add PMU to DT
Browse files Browse the repository at this point in the history
Signed-off-by: Koen Kooi <[email protected]>
  • Loading branch information
koenkooi committed Aug 30, 2013
1 parent 8477cce commit e20ff2a
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
From 6c6bdd4b96ff19ec5d958159f70480859d8eff98 Mon Sep 17 00:00:00 2001
From: Alexandre Belloni <[email protected]>
Date: Fri, 30 Aug 2013 15:09:45 +0200
Subject: [PATCH 5/5] ARM: DTS: AM33XX: Add PMU support

ARM Performance Monitor Units are available on the am33xx, add the support in
the dtsi.

Tested with perf and oprofile on a regular beaglebone.

Signed-off-by: Alexandre Belloni <[email protected]>
---
arch/arm/boot/dts/am33xx.dtsi | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi
index 6dcd42a..e0394d3 100644
--- a/arch/arm/boot/dts/am33xx.dtsi
+++ b/arch/arm/boot/dts/am33xx.dtsi
@@ -48,6 +48,11 @@
};
};

+ pmu {
+ compatible = "arm,cortex-a8-pmu";
+ interrupts = <3>;
+ };
+
/*
* The soc node represents the soc top level view. It is uses for IPs
* that are not memory mapped in the MPU view or for the MPU itself.
--
1.8.2.1

1 change: 1 addition & 0 deletions common-bsp/recipes-kernel/linux/linux-mainline_3.8.bb
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ SRC_URI += " \
file://arm/0002-Without-MACH_-option-Early-printk-DEBUG_LL.patch \
file://arm/0003-ARM-7668-1-fix-memset-related-crashes-caused-by-rece.patch \
file://arm/0004-ARM-7670-1-fix-the-memset-fix.patch \
file://arm/0005-ARM-DTS-AM33XX-Add-PMU-support.patch \
file://omap/0001-regulator-core-if-voltage-scaling-fails-restore-orig.patch \
file://omap/0002-omap2-twl-common-Add-default-power-configuration.patch \
file://omap/0003-omap2-irq-fix-interrupt-latency.patch \
Expand Down

0 comments on commit e20ff2a

Please sign in to comment.