[PATCH 03/14] pinctrl: rzg2l: Support Ethernet TXC output enable

Paul Barker paul.barker.ct at bp.renesas.com
Mon Oct 28 09:16:21 CET 2024


On 27/10/2024 16:15, Marek Vasut wrote:
> On 10/24/24 5:24 PM, Paul Barker wrote:
>> 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 be 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 at bp.renesas.com>
> Same comment as on 2/14 regarding kernel commits.

This was re-implemented in U-Boot due to differences between the
existing RZ/G2L pinctrl code in Linux and U-Boot.

> 
> Is this something which should be configured in DT instead ?

This patch adds support for configuring it in the DT, using the
'output-enable' property. You can see this used later in this series in
the device tree patch to enable Ethernet TXC output [1].

[1]: https://msgid.link/20241024152448.102-14-paul.barker.ct@bp.renesas.com

Thanks,

-- 
Paul Barker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x27F4B3459F002257.asc
Type: application/pgp-keys
Size: 3520 bytes
Desc: OpenPGP public key
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20241028/773f0fa1/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 236 bytes
Desc: OpenPGP digital signature
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20241028/773f0fa1/attachment.sig>


More information about the U-Boot mailing list