cm33xx.c (9907f85eb27d98c2184a56f3b636cb82536807a0) cm33xx.c (7632a02f80eb99e942999e522b2eb0f6592ea5b5)
1/*
2 * AM33XX CM functions
3 *
4 * Copyright (C) 2011-2012 Texas Instruments Incorporated - http://www.ti.com/
5 * Vaibhav Hiremath <hvaibhav@ti.com>
6 *
7 * Reference taken from from OMAP4 cminst44xx.c
8 *

--- 344 unchanged lines hidden (view full) ---

353struct clkdm_ops am33xx_clkdm_operations = {
354 .clkdm_sleep = am33xx_clkdm_sleep,
355 .clkdm_wakeup = am33xx_clkdm_wakeup,
356 .clkdm_allow_idle = am33xx_clkdm_allow_idle,
357 .clkdm_deny_idle = am33xx_clkdm_deny_idle,
358 .clkdm_clk_enable = am33xx_clkdm_clk_enable,
359 .clkdm_clk_disable = am33xx_clkdm_clk_disable,
360};
1/*
2 * AM33XX CM functions
3 *
4 * Copyright (C) 2011-2012 Texas Instruments Incorporated - http://www.ti.com/
5 * Vaibhav Hiremath <hvaibhav@ti.com>
6 *
7 * Reference taken from from OMAP4 cminst44xx.c
8 *

--- 344 unchanged lines hidden (view full) ---

353struct clkdm_ops am33xx_clkdm_operations = {
354 .clkdm_sleep = am33xx_clkdm_sleep,
355 .clkdm_wakeup = am33xx_clkdm_wakeup,
356 .clkdm_allow_idle = am33xx_clkdm_allow_idle,
357 .clkdm_deny_idle = am33xx_clkdm_deny_idle,
358 .clkdm_clk_enable = am33xx_clkdm_clk_enable,
359 .clkdm_clk_disable = am33xx_clkdm_clk_disable,
360};
361
362static struct cm_ll_data am33xx_cm_ll_data;
363
364int __init am33xx_cm_init(void)
365{
366 return cm_register(&am33xx_cm_ll_data);
367}
368
369static void __exit am33xx_cm_exit(void)
370{
371 cm_unregister(&am33xx_cm_ll_data);
372}
373__exitcall(am33xx_cm_exit);