diff options
| author | Biju Das <biju.das.jz@bp.renesas.com> | 2026-04-30 12:34:07 +0300 |
|---|---|---|
| committer | Geert Uytterhoeven <geert+renesas@glider.be> | 2026-05-11 12:07:07 +0300 |
| commit | 55793d3ddf774e9bbeed3c940fb19d6c1124b6d3 (patch) | |
| tree | 8c72e6a6bac6c4c2a504dd7f85a8e871a92d003f /scripts/stackusage | |
| parent | daac416142c87f58ede1a902626804a97b1a3f21 (diff) | |
| download | linux-55793d3ddf774e9bbeed3c940fb19d6c1124b6d3.tar.xz | |
pinctrl: renesas: rzg2l: Make QSPI register handling conditional
The QSPI register at offset 0x3008 is not present on all SoCs supported by
the RZ/G2L pinctrl driver. Unconditionally reading and writing this
register during suspend/resume on hardware that lacks it can cause
undefined behaviour.
Add a qspi field to rzg2l_register_offsets to allow per-SoC declaration of
the QSPI register offset, and guard the suspend/resume accesses with a
check on that field. Populate the offset only for the RZ/{G2L,G2LC,G2UL,
Five} hardware configuration, which is where the register is known to
exist.
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://patch.msgid.link/20260430093422.74812-3-biju.das.jz@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
