]> git.karo-electronics.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)
committerAnson Huang <b20788@freescale.com>
Mon, 11 Nov 2013 14:35:13 +0000 (09:35 -0500)
commit9cdb0ba60e04532f09002742a18951ffa516329c
treeb11bc1cef3cb87d26f3f09bb61af550179070af2
parent4067d8d0a7911065dcbc8f6c30fa0b7e69ae44ef
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