pinctrl: renesas: rzg2l: Limit 2.5V power supply to Ethernet interfaces
authorPaul Barker <paul.barker.ct@bp.renesas.com>
Wed, 17 Apr 2024 11:41:31 +0000 (12:41 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 25 Apr 2024 08:35:05 +0000 (10:35 +0200)
commitcd27553b0dee6fdc4a2535ab9fc3c8fbdd811d13
tree4844dd8ae25f0d9a424b292eb093e7ce7b84681c
parent21fc4d195922f6b29233d2d22e9631cada7db259
pinctrl: renesas: rzg2l: Limit 2.5V power supply to Ethernet interfaces

The RZ/G3S SoC supports configurable supply voltages for several of its
I/O interfaces. All of these interfaces support both 1.8V and 3.3V
supplies, but only the Ethernet and XSPI interfaces support a 2.5V
supply.

Voltage selection for the XSPI interface is not yet supported, so this
leaves only the Ethernet interfaces currently supporting selection of a
2.5V supply. So we need to return an error if there is an attempt to
select a 2.5V supply for any non-Ethernet interface.

Fixes: 51996952b8b5 ("pinctrl: renesas: rzg2l: Add support to select power source for Ethernet pins")
Signed-off-by: Paul Barker <paul.barker.ct@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20240417114132.6605-1-paul.barker.ct@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
drivers/pinctrl/renesas/pinctrl-rzg2l.c