diff options
| author | Venu Byravarasu <vbyravarasu@nvidia.com> | 2012-03-22 09:04:09 -0400 |
|---|---|---|
| committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-04-01 06:59:27 -0400 |
| commit | 452534e50780697a7e1d3cf87cdfdd2b5a0d3c6b (patch) | |
| tree | b6f7e4249bceea50cb12039156056171d5e0f856 /include/linux/regulator | |
| parent | 4dbd8f63f07a9e945f053d61d6f313ad98dda39d (diff) | |
regulator: Add TPS65090 regulator driver
Add TPS65090 regulator driver
TPS65090 PMIC from TI consists of 3 step down converters,
2 always on LDOs and 7 current limited load switches. The
output voltages are ON/OFF controllable and are meant to
supply power to the components on target board.
Signed-off-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/linux/regulator')
| -rw-r--r-- | include/linux/regulator/tps65090-regulator.h | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/include/linux/regulator/tps65090-regulator.h b/include/linux/regulator/tps65090-regulator.h new file mode 100644 index 000000000000..0fa04b64db3e --- /dev/null +++ b/include/linux/regulator/tps65090-regulator.h | |||
| @@ -0,0 +1,50 @@ | |||
| 1 | /* | ||
| 2 | * Regulator driver interface for TI TPS65090 PMIC family | ||
| 3 | * | ||
| 4 | * Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved. | ||
| 5 | |||
| 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. | ||
| 9 | |||
| 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. | ||
| 14 | |||
| 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/>. | ||
| 17 | */ | ||
| 18 | |||
| 19 | #ifndef __REGULATOR_TPS65090_H | ||
| 20 | #define __REGULATOR_TPS65090_H | ||
| 21 | |||
| 22 | #include <linux/regulator/machine.h> | ||
| 23 | |||
| 24 | #define tps65090_rails(_name) "tps65090_"#_name | ||
| 25 | |||
| 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, | ||
| 37 | }; | ||
| 38 | |||
| 39 | /* | ||
| 40 | * struct tps65090_regulator_platform_data | ||
| 41 | * | ||
| 42 | * @regulator: The regulator init data. | ||
| 43 | * @slew_rate_uV_per_us: Slew rate microvolt per microsec. | ||
| 44 | */ | ||
| 45 | |||
| 46 | struct tps65090_regulator_platform_data { | ||
| 47 | struct regulator_init_data regulator; | ||
| 48 | }; | ||
| 49 | |||
| 50 | #endif /* __REGULATOR_TPS65090_H */ | ||
