pinctrl: renesas: rzg2l: Add suspend/resume support for pull up/down
authorClaudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Wed, 5 Feb 2025 10:01:16 +0000 (12:01 +0200)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 14 Feb 2025 08:36:00 +0000 (09:36 +0100)
commitb2bd65fbb617353e3c46ba5206b3b030fa0f260c
tree63044a3b0f8949a18a140bde615367fe3f052019
parent2014c95afecee3e76ca4a56956a936e23283f05b
pinctrl: renesas: rzg2l: Add suspend/resume support for pull up/down

The Renesas RZ/G3S supports a power-saving mode where power to most of
the SoC components is lost, including the PIN controller.  Save and
restore the pull-up/pull-down register contents to ensure the
functionality is preserved after a suspend/resume cycle.

Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/20250205100116.2032765-1-claudiu.beznea.uj@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
drivers/pinctrl/renesas/pinctrl-rzg2l.c