[PATCH 5/6] net: pcs: rzn1-miic: Add resets to rzn1 info structure
From: Kyle Hendry via B4 Relay
Date: Thu Nov 19 2026 - 12:59:31 EST
From: Kyle Hendry <khendry@xxxxxxxxxxxxxxxxxxxx>
Update the rzn1 info structure to include the resets that the driver needs
to deassert
Signed-off-by: Kyle Hendry <khendry@xxxxxxxxxxxxxxxxxxxx>
---
drivers/net/pcs/pcs-rzn1-miic.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/drivers/net/pcs/pcs-rzn1-miic.c b/drivers/net/pcs/pcs-rzn1-miic.c
index f8bafce26bf1..38164502c08c 100644
--- a/drivers/net/pcs/pcs-rzn1-miic.c
+++ b/drivers/net/pcs/pcs-rzn1-miic.c
@@ -128,6 +128,11 @@ static const char * const index_to_string[] = {
"CONV5",
};
+static const char * const rzn1_reset_ids[] = {
+ "rst_ts",
+ "rst_miic",
+};
+
static struct modctrl_match rzt2h_modctrl_match_table[] = {
{0x0, {ETHSS_GMAC0_PORT, ETHSS_ETHSW_PORT0, ETHSS_ETHSW_PORT1,
ETHSS_ETHSW_PORT2, ETHSS_GMAC1_PORT}},
@@ -855,6 +860,8 @@ static struct miic_of_data rzn1_miic_of_data = {
.miic_port_start = 1,
.miic_port_last = 5,
.sw_mode_mask = GENMASK(4, 0),
+ .reset_ids = rzn1_reset_ids,
+ .reset_count = ARRAY_SIZE(rzn1_reset_ids),
.init_unlock_lock_regs = true,
.miic_write = miic_reg_writel_unlocked,
.type = MIIC_TYPE_RZN1,
--
2.53.0