summaryrefslogtreecommitdiff
path: root/include/linux/regulator/ab5500.h
blob: b5a8dec0be6bbf1de80671fb4aaa6ed614dd44bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*
 * Copyright (C) ST-Ericsson SA 2011
 *
 * License Terms: GNU General Public License v2
 */

#ifndef __LINUX_REGULATOR_AB5500_H
#define __LINUX_REGULATOR_AB5500_H

enum ab5500_regulator_id {
	AB5500_LDO_G,
	AB5500_LDO_H,
	AB5500_LDO_K,
	AB5500_LDO_L,
	AB5500_LDO_VDIGMIC,
	AB5500_LDO_SIM,
	AB5500_BIAS2,
	AB5500_NUM_REGULATORS,
};

struct regulator_init_data;

struct ab5500_regulator_data {
	bool off_is_lowpower;
};

struct ab5500_regulator_platform_data {
	struct regulator_init_data *regulator;
	struct ab5500_regulator_data *data;
	int num_regulator;
};

#endif