]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
gpio: regmap: Allow to provide init_valid_mask callback
authorMathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Sun, 24 Aug 2025 11:57:25 +0000 (13:57 +0200)
committerLee Jones <lee@kernel.org>
Tue, 16 Sep 2025 14:24:48 +0000 (15:24 +0100)
commit0627b71fa5508ab605b6e9fd74baed40805cfdda
treeb1320069c6a180bb32477b86fbf45067a8ba33be
parent553b75d4bfe9264f631d459fe9996744e0672b0e
gpio: regmap: Allow to provide init_valid_mask callback

Allows to populate the gpio_regmap_config structure with
init_valid_mask() callback to set on the final gpio_chip structure.

Reviewed-by: Michael Walle <mwalle@kernel.org>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-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-6-435cfda2b1ea@bootlin.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/gpio/gpio-regmap.c
include/linux/gpio/regmap.h