]> git.dujemihanovic.xyz Git - u-boot.git/commit
pinctrl: rzg2l: Support 2.5V PVDD for Ethernet interfaces
authorPaul Barker <paul.barker.ct@bp.renesas.com>
Wed, 20 Nov 2024 09:48:28 +0000 (09:48 +0000)
committerMarek Vasut <marek.vasut+renesas@mailbox.org>
Sun, 8 Dec 2024 22:06:52 +0000 (23:06 +0100)
commit215663f5e47db92c6c13107e877a943c3e70aa2a
treeaa64a1752922b779f1752c38f24586cf4d7d1572
parent2b1a5efca8891ea320c23acd3681ca8bdb7fd15b
pinctrl: rzg2l: Support 2.5V PVDD for Ethernet interfaces

The Ethenet interfaces on the Renesas RZ/G2L SoC family can operate at
multiple power supply voltages: 3.3V (default value), 2.5V and 1.8V.

rzg2l_pinconf_set() is extended to support the 2.5V setting, with a
check to ensure this is only used on Ethernet interfaces as it is not
supported on the SD & QSPI interfaces.

While we're modifying rzg2l_pinconf_set(), drop the unnecessary default
value for pwr_reg as it is set in every branch of the following if
condition.

Signed-off-by: Paul Barker <paul.barker.ct@bp.renesas.com>
Reviewed-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
drivers/pinctrl/renesas/rzg2l-pfc.c
include/renesas/rzg2l-pfc.h