linux/drivers/pinctrl/samsung
Peter Griffin de08212061 pinctrl: samsung: add support for eint_fltcon_offset
commit 701d0e9109 upstream.

On gs101 SoC the fltcon0 (filter configuration 0) offset isn't at a
fixed offset like previous SoCs as the fltcon1 register only exists when
there are more than 4 pins in the bank.

Add a eint_fltcon_offset and new GS101_PIN_BANK_EINT* macros that take
an additional fltcon_offs variable.

This can then be used in suspend/resume callbacks to save and restore
the fltcon0 and fltcon1 registers.

Fixes: 4a8be01a1a ("pinctrl: samsung: Add gs101 SoC pinctrl configuration")
Cc: stable@vger.kernel.org
Reviewed-by: André Draszik <andre.draszik@linaro.org>
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Link: https://lore.kernel.org/r/20250307-pinctrl-fltcon-suspend-v4-1-2d775e486036@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2025-04-20 10:15:58 +02:00
..
Kconfig pinctrl: remove s3c24xx driver 2023-01-16 09:26:06 +01:00
Makefile pinctrl: remove s3c24xx driver 2023-01-16 09:26:06 +01:00
pinctrl-exynos-arm.c pinctrl: samsung: Add support for pull-up and pull-down 2024-08-08 17:22:04 +02:00
pinctrl-exynos-arm64.c pinctrl: samsung: add support for eint_fltcon_offset 2025-04-20 10:15:58 +02:00
pinctrl-exynos.c pinctrl: samsung: Fix irq handling if an error occurs in exynos_irq_demux_eint16_31() 2025-02-08 09:57:26 +01:00
pinctrl-exynos.h pinctrl: samsung: add support for eint_fltcon_offset 2025-04-20 10:15:58 +02:00
pinctrl-s3c64xx.c pinctrl: samsung: Add support for pull-up and pull-down 2024-08-08 17:22:04 +02:00
pinctrl-samsung.c pinctrl: samsung: add support for eint_fltcon_offset 2025-04-20 10:15:58 +02:00
pinctrl-samsung.h pinctrl: samsung: add support for eint_fltcon_offset 2025-04-20 10:15:58 +02:00