]> www.infradead.org Git - users/jedix/linux-maple.git/commit
regulator: bd96801: Support ROHM BD96802
authorMatti Vaittinen <mazziesaccount@gmail.com>
Tue, 8 Apr 2025 08:46:16 +0000 (11:46 +0300)
committerLee Jones <lee@kernel.org>
Thu, 24 Apr 2025 13:53:03 +0000 (14:53 +0100)
commit55606b9b20639b634560f44a070ff6153b59b557
tree74e91ab5ee8ab4af46a5d163ca3c5208d1ca76d8
parent4094040b1a133206ed893da2cf5e17cc22f7ca7c
regulator: bd96801: Support ROHM BD96802

The ROHM BD96802 PMIC is primarily intended to be used as a companion
PMIC extending the capabilities of the BD96802 but it can be used on
it's own as well. When used as a companion PMIC, the start-up and
shut-down sequences are usually intitiated by the master PMIC using IF
pins.

The BD96802 looks from the digital interface point of view pretty much
like a reduced version of BD96801. It includes only 2 BUCKs and provides
the same error protection/detection mechanisms as the BD96801. Also, the
voltage control logic is same up to the register addresses.

Add support for controlling BD96802 using the BD96801 driver.

Signed-off-by: Matti Vaittinen <mazziesaccount@gmail.com>
Reviewed-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/2fb2d0d4997c32d18bfa32cea4564352c00eebc8.1744090658.git.mazziesaccount@gmail.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/regulator/bd96801-regulator.c