diff options
author | Andy Green <andy.green@linaro.org> | 2011-09-26 17:28:48 +0100 |
---|---|---|
committer | Andy Green <andy.green@linaro.org> | 2011-09-26 17:28:48 +0100 |
commit | cb157bf9b18f064b902abb2887f1ceb1f5c2a9ee (patch) | |
tree | 019b5cea2a8d6bc3ffcbb67bab2eebcdc41e6afa | |
parent | a6d13bf8f5d60f7993b4bdd859e7a435fd54b04d (diff) |
omap add back twl product data
Signed-off-by: Andy Green <andy.green@linaro.org>
-rw-r--r-- | include/linux/i2c/twl.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/include/linux/i2c/twl.h b/include/linux/i2c/twl.h index 685fd767c69b..909ea4e28260 100644 --- a/include/linux/i2c/twl.h +++ b/include/linux/i2c/twl.h @@ -839,4 +839,28 @@ static inline int twl4030charger_usb_en(int enable) { return 0; } #define TWL6025_REG_VIO 60 +#define TWL_COMMON_PDATA_USB (1 << 0) +#define TWL_COMMON_PDATA_BCI (1 << 1) +#define TWL_COMMON_PDATA_MADC (1 << 2) +#define TWL_COMMON_PDATA_AUDIO (1 << 3) + +/* Common LDO regulators for TWL4030/TWL6030 */ +#define TWL_COMMON_REGULATOR_VDAC (1 << 0) +#define TWL_COMMON_REGULATOR_VAUX1 (1 << 1) +#define TWL_COMMON_REGULATOR_VAUX2 (1 << 2) +#define TWL_COMMON_REGULATOR_VAUX3 (1 << 3) + +/* TWL6030 LDO regulators */ +#define TWL_COMMON_REGULATOR_VMMC (1 << 4) +#define TWL_COMMON_REGULATOR_VPP (1 << 5) +#define TWL_COMMON_REGULATOR_VUSIM (1 << 6) +#define TWL_COMMON_REGULATOR_VANA (1 << 7) +#define TWL_COMMON_REGULATOR_VCXIO (1 << 8) +#define TWL_COMMON_REGULATOR_VUSB (1 << 9) +#define TWL_COMMON_REGULATOR_CLK32KG (1 << 10) + +/* TWL4030 LDO regulators */ +#define TWL_COMMON_REGULATOR_VPLL1 (1 << 4) +#define TWL_COMMON_REGULATOR_VPLL2 (1 << 5) + #endif /* End of __TWL4030_H */ |