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>
This commit is contained in:
Andrei.Stefanescu@microchip.com 2018-12-12 18:31:18 +00:00 • committed by Mark Brown
commit 919261c03e
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0
3 changed files with 530 additions and 0 deletions