initial commit with v3.6.7
[linux-3.6.7-moxart.git] / include / linux / regulator / tps65090-regulator.h
blob0fa04b64db3ee6ce442618a44e6c46ecaa91599c
1 /*
2 * Regulator driver interface for TI TPS65090 PMIC family
4 * Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved.
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms and conditions of the GNU General Public License,
8 * version 2, as published by the Free Software Foundation.
10 * This program is distributed in the hope it will be useful, but WITHOUT
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13 * more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
19 #ifndef __REGULATOR_TPS65090_H
20 #define __REGULATOR_TPS65090_H
22 #include <linux/regulator/machine.h>
24 #define tps65090_rails(_name) "tps65090_"#_name
26 enum {
27 TPS65090_ID_DCDC1,
28 TPS65090_ID_DCDC2,
29 TPS65090_ID_DCDC3,
30 TPS65090_ID_FET1,
31 TPS65090_ID_FET2,
32 TPS65090_ID_FET3,
33 TPS65090_ID_FET4,
34 TPS65090_ID_FET5,
35 TPS65090_ID_FET6,
36 TPS65090_ID_FET7,
40 * struct tps65090_regulator_platform_data
42 * @regulator: The regulator init data.
43 * @slew_rate_uV_per_us: Slew rate microvolt per microsec.
46 struct tps65090_regulator_platform_data {
47 struct regulator_init_data regulator;
50 #endif /* __REGULATOR_TPS65090_H */