]> git.ipfire.org Git - thirdparty/linux.git/commit
mfd: max77759: add register bitmasks and modify irq configs for charger
authorAmit Sunil Dhamne <amitsd@google.com>
Wed, 25 Mar 2026 22:22:24 +0000 (22:22 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 30 Mar 2026 14:58:33 +0000 (16:58 +0200)
commitb422f7c072ac8d9b83c3d22e03709b92626ca88a
treeca2a94b3e0b7b4b3be8e8a647cb0b861abdc7042
parent47f8ba232a17977f41c01e4f50934440f951395a
mfd: max77759: add register bitmasks and modify irq configs for charger

Add register bitmasks for charger function.
In addition split the charger IRQs further such that each bit represents
an IRQ downstream of charger regmap irq chip. In addition populate the
ack_base to offload irq ack to the regmap irq chip framework.

Signed-off-by: Amit Sunil Dhamne <amitsd@google.com>
Reviewed-by: André Draszik <andre.draszik@linaro.org>
Link: https://patch.msgid.link/20260325-max77759-charger-v9-3-4486dd297adc@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mfd/max77759.c
include/linux/mfd/max77759.h