]> 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>
Mon, 16 Jun 2014 16:06:45 +0000 (18:06 +0200)
commit50fb8047d25141802b33e8160e998cf12d202848
tree8974510887543d3b5506a8574d661b7b5538f480
parentccd281fe254166000afb92787b88c9a008498e9e
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