ARM i.MX: Add common clock support for 2bit gate
authorSascha Hauer <s.hauer@pengutronix.de>
Tue, 19 Apr 2011 06:33:45 +0000 (08:33 +0200)
committerSascha Hauer <s.hauer@pengutronix.de>
Wed, 2 May 2012 10:08:13 +0000 (12:08 +0200)
commitb75c015143a4a6021731ff3e36718896381be94f
tree120a964bf4213ac2180c03f138f0e749253b4db2
parenta3f6b9dbf2a964b85f0523e577807d6f63d6b29d
ARM i.MX: Add common clock support for 2bit gate

This gate consists of two bits:

0b00: clk disabled
0b01: clk enabled in run mode and disabled in sleep mode
0b11: clk enabled

Currently only disabled and enabled are supported. As it's unlikely
that we find something like this in another SoC create a i.MX specific
clk helper for this.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/mach-imx/Makefile
arch/arm/mach-imx/clk-gate2.c [new file with mode: 0644]
arch/arm/mach-imx/clk.h