mirror of
https://github.com/torvalds/linux.git
synced 2024-12-14 23:25:54 +00:00
bd6ca2cf50
This patch supports PMIC/Regulator part of MAX8997/MAX8966 MFD. In this initial release, selecting voltages or current-limit and switching on/off the regulators are supported. Controlling voltages for DVS with GPIOs is not implemented fully and requires more considerations: it controls multiple bucks (selection of 1, 2, and 5) at the same time with SET1~3 gpios. Thus, when DVS-GPIO is activated, we lose the ability to control the voltage of a single buck regulator independently; i.e., contolling a buck affects other two bucks. Therefore, using the conventional regulator framework directly might be problematic. However, in this driver, we try to choose a setting without such side effect of affecting other regulators and then try to choose a setting with the minimum side effect (the sum of voltage changes in other regulators). On the other hand, controlling all the three bucks simultenously based on the voltage set table may help build cpufreq and similar system more robust; i.e., all the three voltages are consistent every time without glitches during transition. Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
46 lines
1.9 KiB
Makefile
46 lines
1.9 KiB
Makefile
#
|
|
# Makefile for regulator drivers.
|
|
#
|
|
|
|
|
|
obj-$(CONFIG_REGULATOR) += core.o dummy.o
|
|
obj-$(CONFIG_REGULATOR_FIXED_VOLTAGE) += fixed.o
|
|
obj-$(CONFIG_REGULATOR_VIRTUAL_CONSUMER) += virtual.o
|
|
obj-$(CONFIG_REGULATOR_USERSPACE_CONSUMER) += userspace-consumer.o
|
|
|
|
obj-$(CONFIG_REGULATOR_AD5398) += ad5398.o
|
|
obj-$(CONFIG_REGULATOR_BQ24022) += bq24022.o
|
|
obj-$(CONFIG_REGULATOR_LP3971) += lp3971.o
|
|
obj-$(CONFIG_REGULATOR_LP3972) += lp3972.o
|
|
obj-$(CONFIG_REGULATOR_MAX1586) += max1586.o
|
|
obj-$(CONFIG_REGULATOR_TWL4030) += twl-regulator.o
|
|
obj-$(CONFIG_REGULATOR_MAX8649) += max8649.o
|
|
obj-$(CONFIG_REGULATOR_MAX8660) += max8660.o
|
|
obj-$(CONFIG_REGULATOR_MAX8925) += max8925-regulator.o
|
|
obj-$(CONFIG_REGULATOR_MAX8952) += max8952.o
|
|
obj-$(CONFIG_REGULATOR_MAX8997) += max8997.o
|
|
obj-$(CONFIG_REGULATOR_MAX8998) += max8998.o
|
|
obj-$(CONFIG_REGULATOR_WM831X) += wm831x-dcdc.o
|
|
obj-$(CONFIG_REGULATOR_WM831X) += wm831x-isink.o
|
|
obj-$(CONFIG_REGULATOR_WM831X) += wm831x-ldo.o
|
|
obj-$(CONFIG_REGULATOR_WM8350) += wm8350-regulator.o
|
|
obj-$(CONFIG_REGULATOR_WM8400) += wm8400-regulator.o
|
|
obj-$(CONFIG_REGULATOR_WM8994) += wm8994-regulator.o
|
|
obj-$(CONFIG_REGULATOR_TPS6586X) += tps6586x-regulator.o
|
|
obj-$(CONFIG_REGULATOR_DA903X) += da903x.o
|
|
obj-$(CONFIG_REGULATOR_PCF50633) += pcf50633-regulator.o
|
|
obj-$(CONFIG_REGULATOR_PCAP) += pcap-regulator.o
|
|
obj-$(CONFIG_REGULATOR_MC13783) += mc13783-regulator.o
|
|
obj-$(CONFIG_REGULATOR_MC13892) += mc13892-regulator.o
|
|
obj-$(CONFIG_REGULATOR_MC13XXX_CORE) += mc13xxx-regulator-core.o
|
|
obj-$(CONFIG_REGULATOR_AB3100) += ab3100.o
|
|
|
|
obj-$(CONFIG_REGULATOR_TPS65023) += tps65023-regulator.o
|
|
obj-$(CONFIG_REGULATOR_TPS6507X) += tps6507x-regulator.o
|
|
obj-$(CONFIG_REGULATOR_TPS6524X) += tps6524x-regulator.o
|
|
obj-$(CONFIG_REGULATOR_88PM8607) += 88pm8607.o
|
|
obj-$(CONFIG_REGULATOR_ISL6271A) += isl6271a-regulator.o
|
|
obj-$(CONFIG_REGULATOR_AB8500) += ab8500.o
|
|
|
|
ccflags-$(CONFIG_REGULATOR_DEBUG) += -DDEBUG
|