]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ENGR00286960-2 arm: imx: improve status check of clock gate
authorAnson Huang <b20788@freescale.com>
Fri, 8 Nov 2013 19:59:05 +0000 (14:59 -0500)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 20 Aug 2014 08:06:41 +0000 (10:06 +0200)
commit8620106bb3b71e0315d35a2093ea64d58f0cdb36
tree8c94789568c8fcb947fb0c3eb8162e45b667b755
parentefb3e36c2eddeea7d0b430558ede4b369d1a6939
ENGR00286960-2 arm: imx: improve status check of clock gate

For ccm clock gate, both 2b'11 and 2b'01 should be treated
as clock enabled, see below description in CCM:

2b'00: clock is off during all modes;
2b'01: clock is on in run mode, but off in wait and stop mode;
2b'10: Not applicable;
2b'11: clock is on during all modes, except stop mode.

Signed-off-by: Anson Huang <b20788@freescale.com>
arch/arm/mach-imx/clk-gate2.c