regulator: mt6311: Add support for mt6311 regulator
authorHenry Chen <henryc.chen@mediatek.com>
Fri, 24 Jul 2015 05:24:41 +0000 (13:24 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 24 Jul 2015 11:30:49 +0000 (12:30 +0100)
commit8766018b6ef73ca124d13b0d0a06dec906726cc8
tree38d7d5d50a60c868fd6e8ba9577b812599b84edc
parent678cdb2fbd7e44b8905a8f4e770c694eb77f0395
regulator: mt6311: Add support for mt6311 regulator

Add regulator support for mt6311.
It has 2 regulaotrs - Buck and LDO, provide the related buck/ldo voltage
data to the driver, and creates the regulator_desc table. Supported
operations for Buck are enabled/disabled and voltage change, only
enabled/disabled for LDO.

Signed-off-by: Henry Chen <henryc.chen@mediatek.com>
Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/Kconfig
drivers/regulator/Makefile
drivers/regulator/mt6311-regulator.c [new file with mode: 0644]
drivers/regulator/mt6311-regulator.h [new file with mode: 0644]
include/linux/regulator/mt6311.h [new file with mode: 0644]