]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
gpio: regmap: Allow to allocate regmap-irq device
authorMathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Sun, 26 Oct 2025 16:25:26 +0000 (12:25 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Oct 2025 13:10:32 +0000 (14:10 +0100)
commit2325e4473cb1dcdedfe37ac436c04f5c7f330a07
treedb538e82566ce6d50d21513a593a4ed3de21bce9
parentc21c27ecf3250bec8fb55bf92c4ddc4939f63439
gpio: regmap: Allow to allocate regmap-irq device

[ Upstream commit 553b75d4bfe9264f631d459fe9996744e0672b0e ]

GPIO controller often have support for IRQ: allow to easily allocate
both gpio-regmap and regmap-irq in one operation.

Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Link: https://lore.kernel.org/r/20250824-mdb-max7360-support-v14-5-435cfda2b1ea@bootlin.com
Signed-off-by: Lee Jones <lee@kernel.org>
Stable-dep-of: 2ba5772e530f ("gpio: idio-16: Define fixed direction of the GPIO lines")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpio/gpio-regmap.c
include/linux/gpio/regmap.h