Re: [PATCH v2 1/4] pinctrl: samsung: add support for eint_fltcon_offset

From: André Draszik
Date: Thu Mar 06 2025 - 06:24:28 EST


On Sat, 2025-03-01 at 11:43 +0000, Peter Griffin wrote:
> 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.
>
> Signed-off-by: Peter Griffin <peter.griffin@xxxxxxxxxx>
> Fixes: 4a8be01a1a7a ("pinctrl: samsung: Add gs101 SoC pinctrl configuration")
> Cc: stable@xxxxxxxxxxxxxxx

Reviewed-by: André Draszik <andre.draszik@xxxxxxxxxx>