]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
pinctrl: renesas: rzg2l: Clarify OEN read/write support
authorPaul Barker <paul.barker.ct@bp.renesas.com>
Tue, 25 Jun 2024 20:03:08 +0000 (21:03 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 4 Jul 2024 17:22:03 +0000 (19:22 +0200)
commit07dd08c39eb4b645a0e2f2440a54326b49944705
tree7a5ddafec0a00449e39cf8d3307189296e121cd2
parent71062e52fc0aea0f3477aaaaa789226388a7eeaf
pinctrl: renesas: rzg2l: Clarify OEN read/write support

We currently support OEN read/write for the RZ/G3S SoC but not the
RZ/G2L SoC family (consisting of RZ/G2L, RZ/G2LC, RZ/G2UL, RZ/V2L &
RZ/Five). The appropriate functions are renamed to clarify this and to
match the callback names.

We should also only set the oen_read and oen_write function pointers for
the devices which support these operations. This requires us to check
that these function pointers are valid before calling them.

Signed-off-by: Paul Barker <paul.barker.ct@bp.renesas.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/20240625200316.4282-2-paul.barker.ct@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
drivers/pinctrl/renesas/pinctrl-rzg2l.c