summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/clk-gate2.c
Commit message (Collapse)AuthorAgeFilesLines
* ARM i.MX: fix error-valued pointer dereference in clk_register_gate2()Wei Yongjun2012-11-161-1/+1
| | | | | | | | | | | The error-valued pointer clk is used for the arg of kfree, it should be kfree(gate) if clk_register() return ERR_PTR(). dpatch engine is used to auto generate this patch. (https://github.com/weiyj/dpatch) Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM i.MX: Add common clock support for 2bit gateSascha Hauer2012-05-021-0/+118
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>
OpenPOWER on IntegriCloud