Skip to contentSkip to conversation

Patch "ARM: dts: at91: sam9x5: Fix the memory range assigned to the PMC" has been added to the 4.5-stable tree

PATCH [email protected] 1 participant 1 message May 15, 2016

Subsystems (3)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

ARM: dts: at91: sam9x5: Fix the memory range assigned to the PMC

to the 4.5-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
arm-dts-at91-sam9x5-fix-the-memory-range-assigned-to-the-pmc.patch
and it can be found in the queue-4.5 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From aab0a4c83ceb344d2327194bf354820e50607af6 Mon Sep 17 00:00:00 2001

From: Boris Brezillon <[email protected]>
Date: Wed, 11 May 2016 11:00:02 +0200
Subject: ARM: dts: at91: sam9x5: Fix the memory range assigned to the PMC

From: Boris Brezillon <[email protected]>

commit aab0a4c83ceb344d2327194bf354820e50607af6 upstream.

The memory range assigned to the PMC (Power Management Controller) was not including the PMC_PCR register which are used to control peripheral clocks.

This was working fine thanks to the page granularity of ioremap(), but started to fail when we switched to syscon/regmap, because regmap is making sure that all accesses are falling into the reserved range.

Fixes 863a81c3be1d ("clk: at91: make use of syscon to share PMC registers in several drivers")
---
 arch/arm/boot/dts/at91sam9x5.dtsi |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/at91sam9x5.dtsi +1 -1
@@ -106,7 +106,7 @@
 
 			pmc: pmc@fffffc00 {
 				compatible = "atmel,at91sam9x5-pmc", "syscon";
-				reg = <0xfffffc00 0x100>;
+				reg = <0xfffffc00 0x200>;
 				interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
 				interrupt-controller;
 				#address-cells = <1>;

Patches currently in stable-queue which might be from [email protected] are

queue-4.5/arm-dts-at91-sam9x5-fix-the-memory-range-assigned-to-the-pmc.patch