12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- /*
- * OMAP3 powerdomain definitions
- *
- * Copyright (C) 2007-2008, 2011 Texas Instruments, Inc.
- * Copyright (C) 2007-2011 Nokia Corporation
- *
- * Paul Walmsley, Jouni Högander
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- */
- #include <linux/kernel.h>
- #include <linux/init.h>
- #include <linux/bug.h>
- #include "soc.h"
- #include "powerdomain.h"
- #include "powerdomains2xxx_3xxx_data.h"
- #include "prcm-common.h"
- #include "prm2xxx_3xxx.h"
- #include "prm-regbits-34xx.h"
- #include "cm2xxx_3xxx.h"
- #include "cm-regbits-34xx.h"
- /*
- * 34XX-specific powerdomains, dependencies
- */
- /*
- * Powerdomains
- */
- static struct powerdomain iva2_pwrdm = {
- .name = "iva2_pwrdm",
- .prcm_offs = OMAP3430_IVA2_MOD,
- .pwrsts = PWRSTS_OFF_RET_ON,
- .pwrsts_logic_ret = PWRSTS_OFF_RET,
- .banks = 4,
- .pwrsts_mem_ret = {
- [0] = PWRSTS_OFF_RET,
- [1] = PWRSTS_OFF_RET,
- [2] = PWRSTS_OFF_RET,
- [3] = PWRSTS_OFF_RET,
- },
- .pwrsts_mem_on = {
- [0] = PWRSTS_ON,
- [1] = PWRSTS_ON,
- [2] = PWRSTS_OFF_ON,
- [3] = PWRSTS_ON,
- },
- .voltdm = { .name = "mpu_iva" },
- };
- static struct powerdomain mpu_3xxx_pwrdm = {
- .name = "mpu_pwrdm",
- .prcm_offs = MPU_MOD,
- .pwrsts = PWRSTS_OFF_RET_ON,
- .pwrsts_logic_ret = PWRSTS_OFF_RET,
- .flags = PWRDM_HAS_MPU_QUIRK,
- .banks = 1,
- .pwrsts_mem_ret = {
- [0] = PWRSTS_OFF_RET,
- },
- .pwrsts_mem_on = {
- [0] = PWRSTS_OFF_ON,
|