From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=91.218.175.71 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795804125; b=eByvwXTbP167YNtE/Vve+CE04awG/YTiwbZVFJW1hab/Tu+693NDfsHcCn8HgcqrTKTD iA7CJgipZ5kCDDNOhe4WOOZdbUgl7yd0I1j6A9pSiXw8osXgU5tBL8ORPtIXaJdE7G2gb lBsibNxhmkbKia/me+ZKLGyzMRamwme6veURbihnBtzfbk+qpBDLb6n1N+9ppC5aoRd+R O24Rr1CBuYNI/DB0o7Vzw2Iix99dMLC5P29tK2GbC+5R5codQyMC9EuLsaCYfoestYNb9 ZRyyJ+Xl8t6LY2kZF//d7O4hL67abvIrK5ko7sA0sr49phbr9FEJu6p3UGeMCnTenVA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795804125; h=DMARC-Filter:X-Envelope-To:DKIM-Signature:X-Envelope-To:Received: X-Mizu-Trace-ID:X-Migadu-Flow:Message-ID:Date:MIME-Version:User-Agent: Subject:To:Cc:References:Content-Language:From:In-Reply-To: Content-Type:Content-Transfer-Encoding; bh=uN9/onAoNgkR+7ro9HSYi/mupzW7YqzE64LyZyUQwBI=; b=yiiEDur9nvl5LTVLZ4ep2AtdJVoIU30RDCT79qnJXma83CE8LrrotEvlqP2AMW2XOjHR 1bgGfmVbEnikk2y8epgIZCRqcQpGvoi2TEg0mWboyqVKdEWivuflnOC1dHHj9SWnsWsE3 L4KarqXvqR6YwHkJ1FyAr8xaJtE7+0NbUOJVc+h0vxsSTckeSaR+3kxbl2O5HPC49uZhK PFzmS6s8cQobEus6gPEstablc9mcdhKu6S6WP/4aX2XFKHukH8PGOLjp+NfTW1JSfn+62 CtR7zRForygmpZd3MbG7+Br4z8fVL5BrvCfQEOoFSLLpGAEKG5v+heUxIzP13w7Ko+w== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass header.d=linux.dev header.i=@linux.dev header.a=rsa-sha256 header.s=key1 header.b="estgrb+/"; arc=none smtp.remote-ip=91.218.175.71 Received: from mta0.migadu.com (out-71.mta0.migadu.com [91.218.175.71]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 940B0606A31E for ; Fri, 27 Nov 2026 18:28:44 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 940B0606A31E Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linux.dev header.i=@linux.dev header.a=rsa-sha256 header.s=key1 header.b=estgrb+/ X-Envelope-To: devicetree@vger.kernel.org DKIM-Signature: a=rsa-sha256; bh=y/VCxMcz7FgjzD7R4U43r7zW7BsA39YNkpkHZku4Dd4=; c=simple/simple; d=linux.dev; h=from:to:subject:date:message-id:mime-version:content-type; s=key1; t=1795804122; v=1; x=1796408922; b=estgrb+/rj1a9ryeuKpcTocvGJv+r1TIWppwkl2/eYNzSNyDOAeyVCsKQeh1Q8xzN5xLM4qk HXUvQ3Bkn3s4zLF55fJfgoDAof797qNhcBDe2zguNwFtokbifLl79Mtx9IW+we3eOAqMPF+55xt zfH647SxT71xAFeceaHtxLbw= X-Envelope-To: devicetree@vger.kernel.org Received: by smtp.migadu.com with ESMTPS id 41f83617c506ba49; Fri, 27 Nov 2026 18:28:42 +0000 X-Mizu-Trace-ID: 41f83617c506ba49 X-Migadu-Flow: FLOW_OUT Message-ID: <40e130fb-83fa-4e9f-acf5-114781d76a76@linux.dev> Date: Fri, 27 Nov 2026 19:28:41 +0100 X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH net-next 2/3] net: pcs: rzn1-miic: Add resets to rzn1 info structure To: khendry@reliablecontrols.com, Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Geert Uytterhoeven , Magnus Damm , Lad Prabhakar , Andrew Lunn , Heiner Kallweit , Russell King Cc: linux-renesas-soc@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org References: <20261127-miic-reset-consumer-v1-0-3cab78b94e23@reliablecontrols.com> <20261127-miic-reset-consumer-v1-2-3cab78b94e23@reliablecontrols.com> Content-Language: en-US From: Clement Leger In-Reply-To: <20261127-miic-reset-consumer-v1-2-3cab78b94e23@reliablecontrols.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 11/27/26 19:14, Kyle Hendry via B4 Relay wrote: > From: Kyle Hendry > > Update the rzn1 info structure to include the resets that the driver needs > to deassert > > Signed-off-by: Kyle Hendry > --- > 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 Thanks, Clément