diff options
author | Rajendra Nayak <rnayak@ti.com> | 2009-12-13 16:29:47 -0500 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2009-12-13 18:26:26 -0500 |
commit | 9da66539281b5e15afc4a4739014c8923059d894 (patch) | |
tree | 797a8347d94dde143f36c22dca76df59cb764fdd /include/linux/i2c | |
parent | 441a450554dada1c59fc06fdf068cb0eeba53c6d (diff) |
mfd: Add twl6030 regulator subdevices
This patch adds initial support for creating twl6030 PMIC
specific voltage regulators in the twl mfd driver.
Board specific regulator configurations will have to be passed from
respective board files.
Signed-off-by: Rajendra Nayak <rnayak@ti.com>
Signed-off-by: Balaji T K <balajitk@ti.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Reviewed-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/linux/i2c')
-rw-r--r-- | include/linux/i2c/twl.h | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/include/linux/i2c/twl.h b/include/linux/i2c/twl.h index 7679e87df177..bf1c5be1f5b6 100644 --- a/include/linux/i2c/twl.h +++ b/include/linux/i2c/twl.h | |||
@@ -560,16 +560,17 @@ struct twl4030_platform_data { | |||
560 | struct twl4030_power_data *power; | 560 | struct twl4030_power_data *power; |
561 | struct twl4030_codec_data *codec; | 561 | struct twl4030_codec_data *codec; |
562 | 562 | ||
563 | /* LDO regulators */ | 563 | /* Common LDO regulators for TWL4030/TWL6030 */ |
564 | struct regulator_init_data *vdac; | 564 | struct regulator_init_data *vdac; |
565 | struct regulator_init_data *vaux1; | ||
566 | struct regulator_init_data *vaux2; | ||
567 | struct regulator_init_data *vaux3; | ||
568 | /* TWL4030 LDO regulators */ | ||
565 | struct regulator_init_data *vpll1; | 569 | struct regulator_init_data *vpll1; |
566 | struct regulator_init_data *vpll2; | 570 | struct regulator_init_data *vpll2; |
567 | struct regulator_init_data *vmmc1; | 571 | struct regulator_init_data *vmmc1; |
568 | struct regulator_init_data *vmmc2; | 572 | struct regulator_init_data *vmmc2; |
569 | struct regulator_init_data *vsim; | 573 | struct regulator_init_data *vsim; |
570 | struct regulator_init_data *vaux1; | ||
571 | struct regulator_init_data *vaux2; | ||
572 | struct regulator_init_data *vaux3; | ||
573 | struct regulator_init_data *vaux4; | 574 | struct regulator_init_data *vaux4; |
574 | struct regulator_init_data *vio; | 575 | struct regulator_init_data *vio; |
575 | struct regulator_init_data *vdd1; | 576 | struct regulator_init_data *vdd1; |
@@ -577,6 +578,13 @@ struct twl4030_platform_data { | |||
577 | struct regulator_init_data *vintana1; | 578 | struct regulator_init_data *vintana1; |
578 | struct regulator_init_data *vintana2; | 579 | struct regulator_init_data *vintana2; |
579 | struct regulator_init_data *vintdig; | 580 | struct regulator_init_data *vintdig; |
581 | /* TWL6030 LDO regulators */ | ||
582 | struct regulator_init_data *vmmc; | ||
583 | struct regulator_init_data *vpp; | ||
584 | struct regulator_init_data *vusim; | ||
585 | struct regulator_init_data *vana; | ||
586 | struct regulator_init_data *vcxio; | ||
587 | struct regulator_init_data *vusb; | ||
580 | }; | 588 | }; |
581 | 589 | ||
582 | /*----------------------------------------------------------------------*/ | 590 | /*----------------------------------------------------------------------*/ |