mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-10 11:30:08 +01:00
Based on 1 normalized pattern(s): license terms gnu general public license v2 extracted by the scancode license scanner the SPDX license identifier GPL-2.0-only has been chosen to replace the boilerplate/reference in 37 file(s). Signed-off-by: Thomas Gleixner <[email protected]> Reviewed-by: Steve Winslow <[email protected]> Reviewed-by: Alexios Zavras <[email protected]> Reviewed-by: Richard Fontana <[email protected]> Reviewed-by: Allison Randal <[email protected]> Cc: [email protected] Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
45 lines
1.1 KiB
C
45 lines
1.1 KiB
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright (C) ST-Ericsson SA 2010
|
|
*
|
|
* Author: Bengt Jonsson <[email protected]> for ST-Ericsson
|
|
*
|
|
* Interface to power domain regulators on DB8500
|
|
*/
|
|
|
|
#ifndef __REGULATOR_H__
|
|
#define __REGULATOR_H__
|
|
|
|
/* Number of DB8500 regulators and regulator enumeration */
|
|
enum db8500_regulator_id {
|
|
DB8500_REGULATOR_VAPE,
|
|
DB8500_REGULATOR_VARM,
|
|
DB8500_REGULATOR_VMODEM,
|
|
DB8500_REGULATOR_VPLL,
|
|
DB8500_REGULATOR_VSMPS1,
|
|
DB8500_REGULATOR_VSMPS2,
|
|
DB8500_REGULATOR_VSMPS3,
|
|
DB8500_REGULATOR_VRF1,
|
|
DB8500_REGULATOR_SWITCH_SVAMMDSP,
|
|
DB8500_REGULATOR_SWITCH_SVAMMDSPRET,
|
|
DB8500_REGULATOR_SWITCH_SVAPIPE,
|
|
DB8500_REGULATOR_SWITCH_SIAMMDSP,
|
|
DB8500_REGULATOR_SWITCH_SIAMMDSPRET,
|
|
DB8500_REGULATOR_SWITCH_SIAPIPE,
|
|
DB8500_REGULATOR_SWITCH_SGA,
|
|
DB8500_REGULATOR_SWITCH_B2R2_MCDE,
|
|
DB8500_REGULATOR_SWITCH_ESRAM12,
|
|
DB8500_REGULATOR_SWITCH_ESRAM12RET,
|
|
DB8500_REGULATOR_SWITCH_ESRAM34,
|
|
DB8500_REGULATOR_SWITCH_ESRAM34RET,
|
|
DB8500_NUM_REGULATORS
|
|
};
|
|
|
|
/*
|
|
* Exported interface for CPUIdle only. This function is called with all
|
|
* interrupts turned off.
|
|
*/
|
|
int power_state_active_is_enabled(void);
|
|
|
|
#endif
|