diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-03-19 13:17:32 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-03-19 13:17:32 -0400 |
commit | 4992fa1fd425f1934f503ffa96b68e235b89db9a (patch) | |
tree | 4710bcfe3eddc876c8243ff8fd8b5bca13946168 /include | |
parent | 115e4bfd5bc68f870b3c889ab8f2d2733bcda452 (diff) | |
parent | 46eda3e96a65b378041c79c51ff2e02009f7e2d0 (diff) |
Merge tag 'topic/twl' into regulator-next
TWL specific changes, cross-merged with OMAP due to arch/arm wanting to
use the new ability to override the voltage set and get operations to
support the in-CPU voltage management. The other changes are minor
fixes, the addition of a few new regulators and device tree support.
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/i2c/twl.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/include/linux/i2c/twl.h b/include/linux/i2c/twl.h index 78d3465251d6..7fcab23c59ce 100644 --- a/include/linux/i2c/twl.h +++ b/include/linux/i2c/twl.h | |||
@@ -712,6 +712,9 @@ struct twl4030_platform_data { | |||
712 | struct regulator_init_data *vaux1; | 712 | struct regulator_init_data *vaux1; |
713 | struct regulator_init_data *vaux2; | 713 | struct regulator_init_data *vaux2; |
714 | struct regulator_init_data *vaux3; | 714 | struct regulator_init_data *vaux3; |
715 | struct regulator_init_data *vdd1; | ||
716 | struct regulator_init_data *vdd2; | ||
717 | struct regulator_init_data *vdd3; | ||
715 | /* TWL4030 LDO regulators */ | 718 | /* TWL4030 LDO regulators */ |
716 | struct regulator_init_data *vpll1; | 719 | struct regulator_init_data *vpll1; |
717 | struct regulator_init_data *vpll2; | 720 | struct regulator_init_data *vpll2; |
@@ -720,8 +723,6 @@ struct twl4030_platform_data { | |||
720 | struct regulator_init_data *vsim; | 723 | struct regulator_init_data *vsim; |
721 | struct regulator_init_data *vaux4; | 724 | struct regulator_init_data *vaux4; |
722 | struct regulator_init_data *vio; | 725 | struct regulator_init_data *vio; |
723 | struct regulator_init_data *vdd1; | ||
724 | struct regulator_init_data *vdd2; | ||
725 | struct regulator_init_data *vintana1; | 726 | struct regulator_init_data *vintana1; |
726 | struct regulator_init_data *vintana2; | 727 | struct regulator_init_data *vintana2; |
727 | struct regulator_init_data *vintdig; | 728 | struct regulator_init_data *vintdig; |
@@ -733,6 +734,8 @@ struct twl4030_platform_data { | |||
733 | struct regulator_init_data *vcxio; | 734 | struct regulator_init_data *vcxio; |
734 | struct regulator_init_data *vusb; | 735 | struct regulator_init_data *vusb; |
735 | struct regulator_init_data *clk32kg; | 736 | struct regulator_init_data *clk32kg; |
737 | struct regulator_init_data *v1v8; | ||
738 | struct regulator_init_data *v2v1; | ||
736 | /* TWL6025 LDO regulators */ | 739 | /* TWL6025 LDO regulators */ |
737 | struct regulator_init_data *ldo1; | 740 | struct regulator_init_data *ldo1; |
738 | struct regulator_init_data *ldo2; | 741 | struct regulator_init_data *ldo2; |
@@ -749,6 +752,13 @@ struct twl4030_platform_data { | |||
749 | struct regulator_init_data *vio6025; | 752 | struct regulator_init_data *vio6025; |
750 | }; | 753 | }; |
751 | 754 | ||
755 | struct twl_regulator_driver_data { | ||
756 | int (*set_voltage)(void *data, int target_uV); | ||
757 | int (*get_voltage)(void *data); | ||
758 | void *data; | ||
759 | unsigned long features; | ||
760 | }; | ||
761 | |||
752 | /*----------------------------------------------------------------------*/ | 762 | /*----------------------------------------------------------------------*/ |
753 | 763 | ||
754 | int twl4030_sih_setup(int module); | 764 | int twl4030_sih_setup(int module); |