commit | adf15fa59695f383067e70d151b131fdeafcb489 | [log] [tgz] |
---|---|---|
author | Anson Huang <b20788@freescale.com> | Tue Dec 24 14:05:38 2013 -0500 |
committer | Shawn Guo <shawn.guo@linaro.org> | Tue Dec 31 09:36:45 2013 +0800 |
tree | b189adbfb679dd92f08b97f88710d42856594f45 | |
parent | 5a72f10500f52f18887ce78f8edebc95cc3dfc23 [diff] |
ARM: imx: add necessary interface for pfd Common clk framework will disable unused clks in late init only if they are enabled by default and no one is using it, so we need to add is_enabled callback for clk framework to get clks' status. PFD clocks are enabled by hardware reset, so we need to add interface for common clk framework to disable those unused ones for saving power. Signed-off-by: Anson Huang <b20788@freescale.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>