Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | prcmu_auto_pm_config |
struct | prcmu_fw_version |
Macros | |
#define | DB8500_PRCM_GPIOCR 0x138 |
#define | DB8500_PRCM_GPIOCR_DBG_UARTMOD_CMD0 BIT(0) |
#define | DB8500_PRCM_GPIOCR_DBG_STM_APE_CMD BIT(9) |
#define | DB8500_PRCM_GPIOCR_DBG_STM_MOD_CMD1 BIT(11) |
#define | DB8500_PRCM_GPIOCR_SPI2_SELECT BIT(23) |
#define | DB8500_PRCM_LINE_VALUE 0x170 |
#define | DB8500_PRCM_LINE_VALUE_HSI_CAWAKE0 BIT(3) |
#define | DB8500_PRCM_DSI_SW_RESET 0x324 |
#define | DB8500_PRCM_DSI_SW_RESET_DSI0_SW_RESETN BIT(0) |
#define | DB8500_PRCM_DSI_SW_RESET_DSI1_SW_RESETN BIT(1) |
#define | DB8500_PRCM_DSI_SW_RESET_DSI2_SW_RESETN BIT(2) |
#define | PRCMU_AUTO_PM_OFF 0 |
#define | PRCMU_AUTO_PM_ON 1 |
#define | PRCMU_AUTO_PM_POWER_ON_HSEM BIT(0) |
#define | PRCMU_AUTO_PM_POWER_ON_ABB_FIFO_IT BIT(1) |
#define | PRCMU_FW_PROJECT_U8500 2 |
#define | PRCMU_FW_PROJECT_U9500 4 |
#define | PRCMU_FW_PROJECT_U8500_C2 7 |
#define | PRCMU_FW_PROJECT_U9500_C2 11 |
#define | PRCMU_FW_PROJECT_U8520 13 |
#define | PRCMU_FW_PROJECT_U8420 14 |
#define DB8500_PRCM_DSI_SW_RESET 0x324 |
Definition at line 28 of file db8500-prcmu.h.
#define DB8500_PRCM_DSI_SW_RESET_DSI0_SW_RESETN BIT(0) |
Definition at line 29 of file db8500-prcmu.h.
#define DB8500_PRCM_DSI_SW_RESET_DSI1_SW_RESETN BIT(1) |
Definition at line 30 of file db8500-prcmu.h.
#define DB8500_PRCM_DSI_SW_RESET_DSI2_SW_RESETN BIT(2) |
Definition at line 31 of file db8500-prcmu.h.
#define DB8500_PRCM_GPIOCR 0x138 |
Definition at line 19 of file db8500-prcmu.h.
#define DB8500_PRCM_GPIOCR_DBG_STM_APE_CMD BIT(9) |
Definition at line 21 of file db8500-prcmu.h.
#define DB8500_PRCM_GPIOCR_DBG_STM_MOD_CMD1 BIT(11) |
Definition at line 22 of file db8500-prcmu.h.
#define DB8500_PRCM_GPIOCR_DBG_UARTMOD_CMD0 BIT(0) |
Definition at line 20 of file db8500-prcmu.h.
#define DB8500_PRCM_GPIOCR_SPI2_SELECT BIT(23) |
Definition at line 23 of file db8500-prcmu.h.
#define DB8500_PRCM_LINE_VALUE 0x170 |
Definition at line 25 of file db8500-prcmu.h.
#define DB8500_PRCM_LINE_VALUE_HSI_CAWAKE0 BIT(3) |
Definition at line 26 of file db8500-prcmu.h.
#define PRCMU_AUTO_PM_OFF 0 |
Definition at line 464 of file db8500-prcmu.h.
#define PRCMU_AUTO_PM_ON 1 |
Definition at line 465 of file db8500-prcmu.h.
#define PRCMU_AUTO_PM_POWER_ON_ABB_FIFO_IT BIT(1) |
Definition at line 468 of file db8500-prcmu.h.
#define PRCMU_AUTO_PM_POWER_ON_HSEM BIT(0) |
Definition at line 467 of file db8500-prcmu.h.
#define PRCMU_FW_PROJECT_U8420 14 |
Definition at line 501 of file db8500-prcmu.h.
#define PRCMU_FW_PROJECT_U8500 2 |
Definition at line 496 of file db8500-prcmu.h.
#define PRCMU_FW_PROJECT_U8500_C2 7 |
Definition at line 498 of file db8500-prcmu.h.
#define PRCMU_FW_PROJECT_U8520 13 |
Definition at line 500 of file db8500-prcmu.h.
#define PRCMU_FW_PROJECT_U9500 4 |
Definition at line 497 of file db8500-prcmu.h.
#define PRCMU_FW_PROJECT_U9500_C2 11 |
Definition at line 499 of file db8500-prcmu.h.
enum ap_pwrst |
enum ap_pwrst - current power states defined in PRCMU firmware : Current power state init : Current power state is apBoot : Current power state is apExecute : Current power state is apDeepSleep : Current power state is apSleep : Current power state is apIdle : Current power state is apReset
Definition at line 132 of file db8500-prcmu.h.
enum ap_pwrst_trans |
enum ap_pwrst_trans - Transition states defined in PRCMU firmware : No power state transition : Power state transition from ApExecute to ApSleep : Power state transition from ApIdle to ApSleep : Power state transition from ApBoot to ApExecute : Power state transition from ApExecute to ApDeepSleep : Power state transition from ApExecute to ApIdle
PRCMU_AP_NO_CHANGE | |
APEXECUTE_TO_APSLEEP | |
APIDLE_TO_APSLEEP | |
PRCMU_AP_SLEEP | |
APBOOT_TO_APEXECUTE | |
APEXECUTE_TO_APDEEPSLEEP | |
PRCMU_AP_DEEP_SLEEP | |
APEXECUTE_TO_APIDLE | |
PRCMU_AP_IDLE | |
PRCMU_AP_DEEP_IDLE |
Definition at line 152 of file db8500-prcmu.h.
enum ap_pwrsttr_status |
enum mbox_2_arm_stat - Status messages definition for mbox_arm : The apBoot to apExecute state transition has been completed : The apExecute to apDeepSleep state transition has been completed : The apExecute to apSleep state transition has been completed : The apExecute to apIdle state transition has been completed : The A9 watchdog/ SoftReset state has been completed : The A9 watchdog/SoftReset state is on going : The apBoot to apExecute state transition is on going : The apExecute to apDeepSleep state transition is on going : The apDeepSleep to apExecute state transition is on going : The apDeepSleep to apExecute state transition has been completed : The apExecute to apSleep state transition is on going : The apSleep to apExecute state transition is on going : The apSleep to apExecute state transition has been completed : The apExecute to apIdle state transition is on going : The apIdle to apExecute state transition is on going : The apIdle to apExecute state transition has been completed : Status init
Definition at line 210 of file db8500-prcmu.h.
enum auto_enable |
enum auto_enable - Auto Power enable : :
Definition at line 434 of file db8500-prcmu.h.
enum clk_arm |
enum clk_arm - ARM Cortex A9 clock schemes : : : : :
Definition at line 64 of file db8500-prcmu.h.
enum clk_gen |
enum clk_gen - GEN#0/GEN#1 clock schemes : : :
Definition at line 78 of file db8500-prcmu.h.
enum cs_pwrmgt |
Definition at line 402 of file db8500-prcmu.h.
enum dvfs_stat |
enum dvfs_stat - DVFS status messages definition : A state transition DVFS is on going : The state transition DVFS has been completed for 100OPP : The state transition DVFS has been completed for 50OPP : The state transition DVFS has been completed for EXTCLK : The state transition DVFS has been completed for NOCHGCLK : Value init
DVFS_GO | |
DVFS_ARM100OPPOK | |
DVFS_ARM50OPPOK | |
DVFS_ARMEXTCLKOK | |
DVFS_NOCHGTCLKOK | |
DVFS_INITSTATUS |
Definition at line 271 of file db8500-prcmu.h.
enum hw_acc |
Definition at line 391 of file db8500-prcmu.h.
enum hw_acc_state |
enum hw_acc_state - State definition for hardware accelerator : The hardware accelerator state must remain unchanged : The hardware accelerator must be switched off : The hardware accelerator must be switched off with its internal RAM in retention : The hwa hardware accelerator hwa must be switched on
NOTE! Deprecated, to be removed when all users switched over to use the regulator API.
Definition at line 176 of file db8500-prcmu.h.
enum mbox_to_arm_err |
enum mbox_to_arm_err - Error messages definition : Init value : PLLARM has not been correctly locked in given time : PLLDDR has not been correctly locked in the given time : PLLSOC0 has not been correctly locked in the given time : PLLSOC1 has not been correctly locked in the given time : The ARM WFI has not been correctly executed in the given time : The SYSCLK is not available in the given time : Romcode has not validated the XP70 self reset in the given time : The Romcode didn.t correctly save it secure context : The ARM high speed supply value transfered through I2C has not been correctly executed in the given time : The command value of VarmHighSpeedVal transfered through I2C has not been correctly executed in the given time :The ARM low speed supply value transfered through I2C has not been correctly executed in the given time : The command value of VarmLowSpeedVal transfered through I2C has not been correctly executed in the given time : The ARM retention supply value transfered through I2C has not been correctly executed in the given time : The command value of VarmRetentionVal transfered through I2C has not been correctly executed in the given time : The APE highspeed supply value transfered through I2C has not been correctly executed in the given time : The SAFE high power supply value transfered through I2C has not been correctly executed in the given time : The MODEM sel1 supply value transfered through I2C has not been correctly executed in the given time : The MODEM sel2 supply value transfered through I2C has not been correctly executed in the given time : The command value of Varm ON/OFF transfered through I2C has not been correctly executed in the given time : The command value of Vape ON/OFF transfered through I2C has not been correctly executed in the given time : The command value of Varm retention ON/OFF transfered through I2C has not been correctly executed in the given time :Generated when Arm want to do power state transition ApBoot to ApExecute but the power current state is not Apboot : Generated when Arm want to do power state transition from ApExecute to others power state but the power current state is not ApExecute : Generated when wake up events are transmitted but the power current state is not ApDeepSleep/ApSleep/ApIdle : Generated when wake up events are transmitted but the power current state is not correct :The ArmRegu1 value transferred through I2C has not been correctly executed in the given time : The ArmRegu2 value transferred through I2C has not been correctly executed in the given time : The VApeRegu value transfered through I2C has not been correctly executed in the given time : The VSmps3Regu value transfered through I2C has not been correctly executed in the given time : The VModemRegu value transfered through I2C has not been correctly executed in the given time
Definition at line 357 of file db8500-prcmu.h.
enum prcmu_auto_pm_policy |
PRCMU_AUTO_PM_POLICY_NO_CHANGE | |
PRCMU_AUTO_PM_POLICY_DSP_OFF_HWP_OFF | |
PRCMU_AUTO_PM_POLICY_DSP_OFF_RAMRET_HWP_OFF | |
PRCMU_AUTO_PM_POLICY_DSP_CLK_OFF_HWP_OFF | |
PRCMU_AUTO_PM_POLICY_DSP_CLK_OFF_HWP_CLK_OFF |
Definition at line 470 of file db8500-prcmu.h.
enum prcmu_power_status |
enum prcmu_power_status - results from set_power_state : Sleep went ok : DeepSleep went ok : Idle went ok : DeepIdle went ok : Pending interrupt detected : Pending interrupt detected
PRCMU_SLEEP_OK | |
PRCMU_DEEP_SLEEP_OK | |
PRCMU_IDLE_OK | |
PRCMU_DEEPIDLE_OK | |
PRCMU_PRCMU2ARMPENDINGIT_ER | |
PRCMU_ARMPENDINGIT_ER |
Definition at line 451 of file db8500-prcmu.h.
enum ret_state |
enum ret_state - general purpose On/Off/Retention states
Definition at line 50 of file db8500-prcmu.h.
enum romcode_read |
enum romcode_read - Romcode message written by XP70 and read by A9 : Init value when romcode field is not used : Value set when power state is going from ApExecute to ApDeepSleep : Value set when ApDeepSleep power state is reached coming from ApExecute state : Value set when power state is going from ApDeepSleep to ApExecute : Value set when ApExecute power state is reached coming from ApDeepSleep state : Value set when power state is going to ApReset : Value set when the xp70 finished executing ApReset actions and waits for romcode acknowledgment to go to self-reset
Definition at line 112 of file db8500-prcmu.h.
enum romcode_write |
enum romcode_write - Romcode message written by A9 AND read by XP70 : Value set when ApDeepSleep state can be executed by XP70 : Value set when 0x0F has been successfully polled by the romcode. The xp70 will go into self-reset
Definition at line 92 of file db8500-prcmu.h.
enum sia_mmdsp_stat |
enum sia_mmdsp_stat - SIA MMDSP status messages : SIAMMDSP interrupt has happened : Status init
Definition at line 295 of file db8500-prcmu.h.
enum sia_sva_pwr_policy |
enum sia_sva_pwr_policy - Power policy : No change : : : :
Definition at line 420 of file db8500-prcmu.h.
enum state - ON/OFF state definition : State is ON : State is OFF
Definition at line 41 of file db8500-prcmu.h.
enum sva_mmdsp_stat |
enum sva_mmdsp_stat - SVA MMDSP status messages : SVAMMDSP interrupt has happened : Status init
Definition at line 285 of file db8500-prcmu.h.