diff options
| author | Yong Shen <yong.shen@linaro.org> | 2010-12-14 01:00:55 -0500 |
|---|---|---|
| committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2011-01-12 09:33:03 -0500 |
| commit | 5e428d5cecc3f109b52e993a1bd91f82137867b3 (patch) | |
| tree | d41732db5fb7325145f2539ddc21c50bd564a09f /include/linux | |
| parent | 167e3d8af98a111994c4d6b3c5cbc589aedbbc2a (diff) | |
regulator: support PMIC mc13892
add support for mc13892, tested on mx51 babbage board
Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
Signed-off-by: Yong Shen <yong.shen@linaro.org>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Samuel Ortiz <sameo@linux.intel.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/mfd/mc13892.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/include/linux/mfd/mc13892.h b/include/linux/mfd/mc13892.h new file mode 100644 index 000000000000..a00f2bec178c --- /dev/null +++ b/include/linux/mfd/mc13892.h | |||
| @@ -0,0 +1,39 @@ | |||
| 1 | /* | ||
| 2 | * Copyright 2010 Yong Shen <yong.shen@linaro.org> | ||
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify it under | ||
| 5 | * the terms of the GNU General Public License version 2 as published by the | ||
| 6 | * Free Software Foundation. | ||
| 7 | */ | ||
| 8 | |||
| 9 | #ifndef __LINUX_MFD_MC13892_H | ||
| 10 | #define __LINUX_MFD_MC13892_H | ||
| 11 | |||
| 12 | #include <linux/mfd/mc13xxx.h> | ||
| 13 | |||
| 14 | #define MC13892_SW1 0 | ||
| 15 | #define MC13892_SW2 1 | ||
| 16 | #define MC13892_SW3 2 | ||
| 17 | #define MC13892_SW4 3 | ||
| 18 | #define MC13892_SWBST 4 | ||
| 19 | #define MC13892_VIOHI 5 | ||
| 20 | #define MC13892_VPLL 6 | ||
| 21 | #define MC13892_VDIG 7 | ||
| 22 | #define MC13892_VSD 8 | ||
| 23 | #define MC13892_VUSB2 9 | ||
| 24 | #define MC13892_VVIDEO 10 | ||
| 25 | #define MC13892_VAUDIO 11 | ||
| 26 | #define MC13892_VCAM 12 | ||
| 27 | #define MC13892_VGEN1 13 | ||
| 28 | #define MC13892_VGEN2 14 | ||
| 29 | #define MC13892_VGEN3 15 | ||
| 30 | #define MC13892_VUSB 16 | ||
| 31 | #define MC13892_GPO1 17 | ||
| 32 | #define MC13892_GPO2 18 | ||
| 33 | #define MC13892_GPO3 19 | ||
| 34 | #define MC13892_GPO4 20 | ||
| 35 | #define MC13892_PWGT1SPI 21 | ||
| 36 | #define MC13892_PWGT2SPI 22 | ||
| 37 | #define MC13892_VCOINCELL 23 | ||
| 38 | |||
| 39 | #endif | ||
