diff options
author | Pi-Hsun Shih <pihsun@chromium.org> | 2020-06-12 07:05:20 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-06-16 00:40:14 +0300 |
commit | 8d9f8d57e023893bfa708d83e3a787e77766a378 (patch) | |
tree | 51eb2cf27b21c0f7e262afa3e9e3b7a06b69a386 /drivers/regulator/Kconfig | |
parent | dff08caf35ecef4f7647f8b1e40877a254852a2b (diff) | |
download | linux-8d9f8d57e023893bfa708d83e3a787e77766a378.tar.xz |
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>
Diffstat (limited to 'drivers/regulator/Kconfig')
-rw-r--r-- | drivers/regulator/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig index 8f677f5d79b4..c398e90e0e73 100644 --- a/drivers/regulator/Kconfig +++ b/drivers/regulator/Kconfig @@ -238,6 +238,16 @@ config REGULATOR_CPCAP Say y here for CPCAP regulator found on some Motorola phones and tablets such as Droid 4. +config REGULATOR_CROS_EC + tristate "ChromeOS EC regulators" + depends on CROS_EC && OF + help + This driver supports voltage regulators that is connected to ChromeOS + EC and controlled through EC host commands. + + This driver can also be built as a module. If so, the module + will be called cros-ec-regulator. + config REGULATOR_DA903X tristate "Dialog Semiconductor DA9030/DA9034 regulators" depends on PMIC_DA903X |