Commit 605c9820 authored by Dzmitry Sankouski's avatar Dzmitry Sankouski Committed by Lee Jones
Browse files

mfd: max77705: Setup the core driver as an interrupt controller



Current implementation describes only MFD's own topsys interrupts.
However, max77705 has a register which indicates interrupt source, i.e.
it acts as an interrupt controller. There's 4 interrupt sources in
max77705: topsys, charger, fuelgauge, usb type-c manager.

Setup max77705 MFD parent as an interrupt controller. Delete topsys
interrupts because currently unused.

Remove shared interrupt flag, because we're are an interrupt controller
now, and subdevices should request interrupts from us.

Fixes: c8d50f02 ("mfd: Add new driver for MAX77705 PMIC")

Signed-off-by: default avatarDzmitry Sankouski <dsankouski@gmail.com>
Link: https://lore.kernel.org/r/20250909-max77705-fix_interrupt_handling-v3-1-233c5a1a20b5@gmail.com


Signed-off-by: default avatarLee Jones <lee@kernel.org>
parent afe0f949
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment