diff options
| author | Robin Gong <b38343@freescale.com> | 2013-07-24 23:33:18 -0400 |
|---|---|---|
| committer | Mark Brown <broonie@linaro.org> | 2013-07-25 05:34:34 -0400 |
| commit | 3784b6d64dc52ed3fbebad61a85ab9b7a687a167 (patch) | |
| tree | 0cc7215371597c706017b648e3d1dfd22cf8bf51 /include/linux/regulator | |
| parent | 82b736df4da2c6fdf2c0018938685cf36d112ecd (diff) | |
regulator: pfuze100: add pfuze100 regulator driver
Add pfuze100 regulator driver.
Signed-off-by: Robin Gong <b38343@freescale.com>
Tested-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'include/linux/regulator')
| -rw-r--r-- | include/linux/regulator/pfuze100.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/include/linux/regulator/pfuze100.h b/include/linux/regulator/pfuze100.h new file mode 100644 index 000000000000..65d550bf3954 --- /dev/null +++ b/include/linux/regulator/pfuze100.h | |||
| @@ -0,0 +1,44 @@ | |||
| 1 | /* | ||
| 2 | * Copyright (C) 2011-2013 Freescale Semiconductor, Inc. All Rights Reserved. | ||
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License as published by | ||
| 6 | * the Free Software Foundation; either version 2 of the License, or | ||
| 7 | * (at your option) any later version. | ||
| 8 | * | ||
| 9 | * This program is distributed in the hope that it will be useful, | ||
| 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | * GNU General Public License for more details. | ||
| 13 | * | ||
| 14 | * You should have received a copy of the GNU General Public License along | ||
| 15 | * with this program; if not, write to the Free Software Foundation, Inc., | ||
| 16 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
| 17 | */ | ||
| 18 | #ifndef __LINUX_REG_PFUZE100_H | ||
| 19 | #define __LINUX_REG_PFUZE100_H | ||
| 20 | |||
| 21 | #define PFUZE100_SW1AB 0 | ||
| 22 | #define PFUZE100_SW1C 1 | ||
| 23 | #define PFUZE100_SW2 2 | ||
| 24 | #define PFUZE100_SW3A 3 | ||
| 25 | #define PFUZE100_SW3B 4 | ||
| 26 | #define PFUZE100_SW4 5 | ||
| 27 | #define PFUZE100_SWBST 6 | ||
| 28 | #define PFUZE100_VSNVS 7 | ||
| 29 | #define PFUZE100_VREFDDR 8 | ||
| 30 | #define PFUZE100_VGEN1 9 | ||
| 31 | #define PFUZE100_VGEN2 10 | ||
| 32 | #define PFUZE100_VGEN3 11 | ||
| 33 | #define PFUZE100_VGEN4 12 | ||
| 34 | #define PFUZE100_VGEN5 13 | ||
| 35 | #define PFUZE100_VGEN6 14 | ||
| 36 | #define PFUZE100_MAX_REGULATOR 15 | ||
| 37 | |||
| 38 | struct regulator_init_data; | ||
| 39 | |||
| 40 | struct pfuze_regulator_platform_data { | ||
| 41 | struct regulator_init_data *init_data[PFUZE100_MAX_REGULATOR]; | ||
| 42 | }; | ||
| 43 | |||
| 44 | #endif /* __LINUX_REG_PFUZE100_H */ | ||
