]> git.ipfire.org Git - thirdparty/linux.git/commit
pinctrl: renesas: rzg2l: Support output enable on RZ/G2L
authorPaul Barker <paul.barker.ct@bp.renesas.com>
Tue, 25 Jun 2024 20:03:10 +0000 (21:03 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 4 Jul 2024 17:22:03 +0000 (19:22 +0200)
commit2453e858e945e5e2fa8da9fde8584995e7dd17d1
tree4edcc8c5b301c1964ab084e0fcca20c63960411a
parenta9024a323af2235a6d11cbbde924c6dde8bd355b
pinctrl: renesas: rzg2l: Support output enable on RZ/G2L

On the RZ/G2L SoC family, the direction of the Ethernet TXC/TX_CLK
signal is selectable to support an Ethernet PHY operating in either MII
or RGMII mode. By default, the signal is configured as an input and MII
mode is supported. The ETH_MODE register can be modified to configure
this signal as an output to support RGMII mode.

As this signal is by default an input, and can optionally be switched to
an output, it maps neatly onto an `output-enable` property in the device
tree.

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-4-paul.barker.ct@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
drivers/pinctrl/renesas/pinctrl-rzg2l.c