]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb14bc7337f50c62dfa94059a878abce31dd8b96c
treed99d2477ceeb95bac4090d1358de57e4ee409b6e
parentd98fa097251f5df8bf293e55fd3558deb23ffe4b
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]