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: NSascha Hauer <s.hauer@pengutronix.de>
Showing
arch/arm/mach-imx/clk-gate2.c
0 → 100644
想要评论请 注册 或 登录