summaryrefslogtreecommitdiff
path: root/rust/helpers/atomic.c
diff options
context:
space:
mode:
authorLad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>2025-08-06 20:55:50 +0100
committerGeert Uytterhoeven <geert+renesas@glider.be>2025-08-11 11:44:40 +0200
commit27c76cc93c6c2ee6c0d7fec6dedc1214a977e66f (patch)
tree5176acaa1dcf151561f350fcafc929f0f01c0d41 /rust/helpers/atomic.c
parent8912b2862b9b74a0dc4e3ea1aacdec2f8abd7e1d (diff)
pinctrl: renesas: rzg2l: Parameterize OEN register offset
Prepare for supporting SoCs with varying OEN register locations by parameterizing the OEN offset in the rzg2l driver. Introduce an `oen` field in the rzg2l_register_offsets structure and update rzg2l_read_oen(), rzg2l_write_oen(), suspend/resume caching, and SoC hwcfg entries to use this offset instead of the hard-coded ETH_MODE value. As part of this change, rename the field `eth_mode` in the register cache to `oen` to better reflect its general purpose and decouple the naming from a specific register. Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/20250806195555.1372317-3-prabhakar.mahadev-lad.rj@bp.renesas.com Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Diffstat (limited to 'rust/helpers/atomic.c')
0 files changed, 0 insertions, 0 deletions