summaryrefslogtreecommitdiff
path: root/include/linux/mfd/as3711.h
AgeCommit message (Collapse)AuthorFilesLines
2016-03-16mfd: as3711: Set regmap config reg counts properlyMaciej S. Szmigiero1-1/+2
Regmap config max_register field should contain number of device last register, however num_reg_defaults_raw field should be set to register count instead (usually one register more than max_register). as3711 driver had both of these fields set to the same value, fix this by introducing separate defines for max register number and total count of registers. Signed-off-by: Maciej S. Szmigiero <mail@maciej.szmigiero.name> Signed-off-by: Lee Jones <lee.jones@linaro.org>
2012-11-23mfd: Add an AS3711 PMIC MFD driverGuennadi Liakhovetski1-0/+126
AS3711 is a PMIC with multiple DCDC and LDO power supplies, GPIOs, an RTC, a battery charger and a general purpose ADC. This patch adds support for the MFD with support for a regulator driver and a backlight driver. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>