Thread View: linux.kernel.netdev
2 messages
2 total messages
Started by Kyle Hendry via B4 Relay
Fri, 27 Nov 2026 18:14
[PATCH net-next 2/3] net: pcs: rzn1-miic: Add resets to rzn1 info structure
Author: Kyle Hendry via B4 Relay
Date: Fri, 27 Nov 2026 18:14
Date: Fri, 27 Nov 2026 18:14
39 lines
11588 bytes
11588 bytes
From: Kyle Hendry <khendry@reliablecontrols.com>
Update the rzn1 info structure to include the resets that the driver needs
to deassert
Signed-off-by: Kyle Hendry <khendry@reliablecontrols.com>
---
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 682a73cf5a87..3c4eca8960bd 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
Re: [PATCH net-next 2/3] net: pcs: rzn1-miic: Add resets to rzn1 info structure
Author: Clement Leger
Date: Fri, 27 Nov 2026 18:28
Date: Fri, 27 Nov 2026 18:28
50 lines
9718 bytes
9718 bytes
On 11/27/26 19:14, Kyle Hendry via B4 Relay wrote:
> From: Kyle Hendry <khendry@reliablecontrols.com>
>
> Update the rzn1 info structure to include the resets that the driver needs
> to deassert
>
> Signed-off-by: Kyle Hendry <khendry@reliablecontrols.com>
> ---
> 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 682a73cf5a87..3c4eca8960bd 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,
>
Hi Kyle,
LGTM,
Reviewed-by: Clément Léger <clement.leger@linux.dev>
Thanks,
Clément
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads