]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mfd: rohm-bd96801: Support ROHM BD96802
authorMatti Vaittinen <mazziesaccount@gmail.com>
Tue, 8 Apr 2025 08:45:59 +0000 (11:45 +0300)
committerLee Jones <lee@kernel.org>
Thu, 24 Apr 2025 13:52:57 +0000 (14:52 +0100)
commit4094040b1a133206ed893da2cf5e17cc22f7ca7c
tree799310b94cc70afb69eda26873478831998ea4c7
parent9cc957546e3865bc3adfd39ceeedc8074521024d
mfd: rohm-bd96801: Support ROHM BD96802

The ROHM BD96802 PMIC looks from software point of view a lot like ROHM
BD96801 PMIC. Just with reduced number of voltage rails. Both PMICs
provide two physical IRQ lines referred as INTB and ERRB and contain
blocks implementing regulator controls and a weatchdog. Hence it makes
sense to use same MFD core for both PMICs.

Add support for ROHM BD96802 scalable companion PMIC to the BD96801
core driver.

Signed-off-by: Matti Vaittinen <mazziesaccount@gmail.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/05957d194425a79a4f35f287695c3d9ca2ed1ae2.1744090658.git.mazziesaccount@gmail.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/rohm-bd96801.c
include/linux/mfd/rohm-bd96801.h
include/linux/mfd/rohm-bd96802.h [new file with mode: 0644]
include/linux/mfd/rohm-generic.h