]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: dts: at91: sam9x5: Fix the memory range assigned to the PMC
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Wed, 11 May 2016 09:00:02 +0000 (11:00 +0200)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Wed, 11 May 2016 14:31:40 +0000 (16:31 +0200)
commit139d9770054ca61ff8c8ec239536d217529b287f
tree7d0d2a5d15425b24e045074e0672b7c2264e8664
parent348a166202dcec07e844a94ccb3ee3a8def6fc0d
ARM: dts: at91: sam9x5: Fix the memory range assigned to the PMC

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.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Reported-by: Richard Genoud <richard.genoud@gmail.com>
Tested-by: Richard Genoud <richard.genoud@gmail.com>
Fixes: 80952e690f31 ("clk: at91: make use of syscon to share PMC registers in several drivers")
Cc: <stable@vger.kernel.org>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
arch/arm/boot/dts/at91sam9x5.dtsi