diff options
author | Watson Chow <watson.chow@avnet.com> | 2022-01-07 01:43:50 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-01-07 16:36:35 +0300 |
commit | bfff546aae50ae68ed395bf0e0848188d27b0ba3 (patch) | |
tree | c9f0c9f54504a288d380382196de3e319bfc067a /drivers/regulator/Kconfig | |
parent | 764aaa4e031a9acd26babc622cabe652f57bbb04 (diff) | |
download | linux-bfff546aae50ae68ed395bf0e0848188d27b0ba3.tar.xz |
regulator: Add MAX20086-MAX20089 driver
The MAX20086-MAX20089 are dual/quad power protectors for cameras. Add a
driver that supports controlling the outputs individually. Additional
features, such as overcurrent detection, may be added later if needed.
Signed-off-by: Watson Chow <watson.chow@avnet.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Link: https://lore.kernel.org/r/20220106224350.16957-3-laurent.pinchart+renesas@ideasonboard.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/Kconfig')
-rw-r--r-- | drivers/regulator/Kconfig | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig index ebe46e09510e..1c35fed20d34 100644 --- a/drivers/regulator/Kconfig +++ b/drivers/regulator/Kconfig @@ -636,6 +636,15 @@ config REGULATOR_MAX8998 via I2C bus. The provided regulator is suitable for S3C6410 and S5PC1XX chips to control VCC_CORE and VCC_USIM voltages. +config REGULATOR_MAX20086 + tristate "Maxim MAX20086-MAX20089 Camera Power Protectors" + depends on I2C + select REGMAP_I2C + help + This driver controls a Maxim MAX20086-MAX20089 camera power + protectorvia I2C bus. The regulator has 2 or 4 outputs depending on + the device model. This driver is only capable to turn on/off them. + config REGULATOR_MAX77686 tristate "Maxim 77686 regulator" depends on MFD_MAX77686 || COMPILE_TEST @@ -1424,4 +1433,3 @@ config REGULATOR_QCOM_LABIBB for LCD display panel. endif - |