1 /* SPDX-License-Identifier: GPL-2.0-only */ 1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* 2 /* 3 * Copyright (C) ST-Ericsson SA 2010 3 * Copyright (C) ST-Ericsson SA 2010 4 * 4 * 5 * Author: Bengt Jonsson <bengt.g.jonsson@ster 5 * Author: Bengt Jonsson <bengt.g.jonsson@stericsson.com> for ST-Ericsson 6 * 6 * 7 * Interface to power domain regulators on DB8 7 * Interface to power domain regulators on DB8500 8 */ 8 */ 9 9 10 #ifndef __REGULATOR_H__ 10 #ifndef __REGULATOR_H__ 11 #define __REGULATOR_H__ 11 #define __REGULATOR_H__ 12 12 13 /* Number of DB8500 regulators and regulator e 13 /* Number of DB8500 regulators and regulator enumeration */ 14 enum db8500_regulator_id { 14 enum db8500_regulator_id { 15 DB8500_REGULATOR_VAPE, 15 DB8500_REGULATOR_VAPE, 16 DB8500_REGULATOR_VARM, 16 DB8500_REGULATOR_VARM, 17 DB8500_REGULATOR_VMODEM, 17 DB8500_REGULATOR_VMODEM, 18 DB8500_REGULATOR_VPLL, 18 DB8500_REGULATOR_VPLL, 19 DB8500_REGULATOR_VSMPS1, 19 DB8500_REGULATOR_VSMPS1, 20 DB8500_REGULATOR_VSMPS2, 20 DB8500_REGULATOR_VSMPS2, 21 DB8500_REGULATOR_VSMPS3, 21 DB8500_REGULATOR_VSMPS3, 22 DB8500_REGULATOR_VRF1, 22 DB8500_REGULATOR_VRF1, 23 DB8500_REGULATOR_SWITCH_SVAMMDSP, 23 DB8500_REGULATOR_SWITCH_SVAMMDSP, 24 DB8500_REGULATOR_SWITCH_SVAMMDSPRET, 24 DB8500_REGULATOR_SWITCH_SVAMMDSPRET, 25 DB8500_REGULATOR_SWITCH_SVAPIPE, 25 DB8500_REGULATOR_SWITCH_SVAPIPE, 26 DB8500_REGULATOR_SWITCH_SIAMMDSP, 26 DB8500_REGULATOR_SWITCH_SIAMMDSP, 27 DB8500_REGULATOR_SWITCH_SIAMMDSPRET, 27 DB8500_REGULATOR_SWITCH_SIAMMDSPRET, 28 DB8500_REGULATOR_SWITCH_SIAPIPE, 28 DB8500_REGULATOR_SWITCH_SIAPIPE, 29 DB8500_REGULATOR_SWITCH_SGA, 29 DB8500_REGULATOR_SWITCH_SGA, 30 DB8500_REGULATOR_SWITCH_B2R2_MCDE, 30 DB8500_REGULATOR_SWITCH_B2R2_MCDE, 31 DB8500_REGULATOR_SWITCH_ESRAM12, 31 DB8500_REGULATOR_SWITCH_ESRAM12, 32 DB8500_REGULATOR_SWITCH_ESRAM12RET, 32 DB8500_REGULATOR_SWITCH_ESRAM12RET, 33 DB8500_REGULATOR_SWITCH_ESRAM34, 33 DB8500_REGULATOR_SWITCH_ESRAM34, 34 DB8500_REGULATOR_SWITCH_ESRAM34RET, 34 DB8500_REGULATOR_SWITCH_ESRAM34RET, 35 DB8500_NUM_REGULATORS 35 DB8500_NUM_REGULATORS 36 }; 36 }; 37 37 >> 38 /* >> 39 * Exported interface for CPUIdle only. This function is called with all >> 40 * interrupts turned off. >> 41 */ >> 42 int power_state_active_is_enabled(void); >> 43 38 #endif 44 #endif 39 45
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.