ARM: 8569/1: pl2x0: Add OF control of cache power management
authorBrad Mouring <brad.mouring@ni.com>
Thu, 28 Apr 2016 16:00:52 +0000 (17:00 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Thu, 5 May 2016 18:02:10 +0000 (19:02 +0100)
commit204932dfc87c236fc4fea8e6e4f03123853ea633
tree5769f0c72ba3260d876f5ac6f091a8d3acfdc837
parent953efb2b86cfdad340965222389122cc81cba76e
ARM: 8569/1: pl2x0: Add OF control of cache power management

Add ability to override power management bits of 310 controllers
(dynamic clock gating and standby mode) through OF entries. As the
saved register is only applied when working on a supported controller,
it is safe to save the settings.

In order to maintain existing behavior, if the settings are not found
in the DT, the corresponding feature will be enabled.

Signed-off-by: Brad Mouring <brad.mouring@ni.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/cache-l2x0.c