regulator: Add driver for cros-ec-regulator
authorPi-Hsun Shih <pihsun@chromium.org>
Fri, 12 Jun 2020 04:05:20 +0000 (12:05 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 15 Jun 2020 21:40:14 +0000 (22:40 +0100)
commit8d9f8d57e023893bfa708d83e3a787e77766a378
tree51eb2cf27b21c0f7e262afa3e9e3b7a06b69a386
parentdff08caf35ecef4f7647f8b1e40877a254852a2b
regulator: Add driver for cros-ec-regulator

Add driver for cros-ec-regulator, representing a voltage regulator that
is connected and controlled by ChromeOS EC, and is controlled by kernel
with EC host commands.

Signed-off-by: Pi-Hsun Shih <pihsun@chromium.org>
Reviewed-by: Prashant Malani <pmalani@chromium.org>
Reviewed-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Link: https://lore.kernel.org/r/20200612040526.192878-4-pihsun@chromium.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/Kconfig
drivers/regulator/Makefile
drivers/regulator/cros-ec-regulator.c [new file with mode: 0644]