regulator: mcp16502: add regulator driver for MCP16502
authorAndrei.Stefanescu@microchip.com <Andrei.Stefanescu@microchip.com>
Wed, 12 Dec 2018 18:31:18 +0000 (18:31 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 13 Dec 2018 12:19:04 +0000 (12:19 +0000)
commit919261c03e7cae9854f25812d4b529fbfbdb4c14
treed99d2477ceeb95bac4090d1358de57e4ee409b6e
parentfef9f28a2ea4eff1b203e3ad6629778be20b4714
regulator: mcp16502: add regulator driver for MCP16502

This patch adds a regulator driver for the MCP16502 PMIC.
This drivers supports basic operations through the
regulator interface such as:
- setting/reading voltage
- setting/reading operating mode
- reading current status

Signed-off-by: Andrei Stefanescu <andrei.stefanescu@microchip.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/Kconfig
drivers/regulator/Makefile
drivers/regulator/mcp16502.c [new file with mode: 0644]