net: ftgmac100: Add optional reset control for RMII mode on Aspeed SoCs
authorJacky Chou <jacky_chou@aspeedtech.com>
Wed, 9 Jul 2025 07:08:09 +0000 (15:08 +0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 11 Jul 2025 01:13:52 +0000 (18:13 -0700)
commitaf350ee72e9dda474af4697ff59601cb73387b31
tree88d4ad4af1bb1f2ab96385dc8e10989c07b89101
parent4dc5f7b2c0ccf233d16c5f3090208d70954f1e2a
net: ftgmac100: Add optional reset control for RMII mode on Aspeed SoCs

On Aspeed SoCs, the internal MAC reset is insufficient to fully reset the
RMII interface; only the SoC-level reset line can properly reset the RMII
logic. This patch adds support for an optional "resets" property in the
device tree, allowing the driver to assert and deassert the SoC reset line
when operating in RMII mode. This ensures the MAC and RMII interface are
correctly reset and initialized.

Signed-off-by: Jacky Chou <jacky_chou@aspeedtech.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20250709070809.2560688-5-jacky_chou@aspeedtech.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/faraday/ftgmac100.c