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>
This commit is contained in:
Pi-Hsun Shih 2020-06-12 12:05:20 +08:00 • committed by Mark Brown
commit 8d9f8d57e0
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0
3 changed files with 268 additions and 0 deletions