summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/s2mps11.c
Commit message (Collapse)AuthorAgeFilesLines
* regulator: s2mps11: Use array to save pointer to rdevAxel Lin2012-08-281-19/+8
| | | | | | | | The number of regulator is known at compile time, use array to save pointer to rdev makes the code simpler. Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* regulator: s2mps11: Use sec_reg_write rather than sec_reg_update when mask ↵Axel Lin2012-07-121-3/+2
| | | | | | | | is 0xff Signed-off-by: Axel Lin <axel.lin@gmail.com> Acked-by: Sangbeom Kim <sbkim73@samsung.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* regulator: s2mps11: Fix wrong setting for config.devAxel Lin2012-07-121-9/+5
| | | | | | | | | | | Currently s2mps11->iodev, s2mps11->dev and config.dev point to NULL. This patch fixes the settings for config.dev. Current code does not need the *dev and *iodev of struct s2mps11_info, so remove them. Signed-off-by: Axel Lin <axel.lin@gmail.com> Acked-by: Sangbeom Kim <sbkim73@samsung.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* regulator: s2mps11: Fixup missing commasAxel Lin2012-07-121-7/+7
| | | | | | Signed-off-by: Axel Lin <axel.lin@gmail.com> Acked-by: Sangbeom Kim <sbkim73@samsung.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* regulator: s2mps11: Add samsung s2mps11 regulator driverSangbeom Kim2012-07-111-0/+368
This patch add Samsung S2MPS11 regulator driver. The S2MPS11 can support 10 Bucks and 38 LDOs and RTC. Especially, S2MPS11 is designed for high performance Samsung application processor. Signed-off-by: Sangbeom Kim <sbkim73@samsung.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
OpenPOWER on IntegriCloud