]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mfd: adp5585: Support reset and unlock events
authorNuno Sá <nuno.sa@analog.com>
Tue, 1 Jul 2025 14:32:08 +0000 (15:32 +0100)
committerLee Jones <lee@kernel.org>
Tue, 1 Jul 2025 20:50:51 +0000 (21:50 +0100)
commit333812da70d5f71bf5e176f6d55a5f716301b5fc
tree1efc7dd7bb300e7e7f48b5a258c719bd8978dfc2
parent47a1f759b776ec9287f675f5d4fbf60b94cc566d
mfd: adp5585: Support reset and unlock events

The ADP558x family of devices can be programmed to respond to some
especial events, In case of the unlock events, one can lock the keypad
and use KEYS or GPIs events to unlock it. For the reset events, one can
again use a combinations of GPIs/KEYs in order to generate an event that
will trigger the device to generate an output reset pulse.

Signed-off-by: Nuno Sá <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20250701-dev-adp5589-fw-v7-13-b1fcfe9e9826@analog.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/adp5585.c
include/linux/mfd/adp5585.h