From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9B701C4332F for ; Thu, 3 Nov 2022 17:59:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Vum3mTsPNZt6chn51xZm8TsRnb4WGHtPeV0bNMfn9p4=; b=r+/9C4bJfMvkJNNSklIW9sdNYv /cANC4eDrzbI9c07ufUZiO3mWkIknFS73OMK+TQ4gH0SQIWVAst4FF6B+ck/ilGikaTDcO8xVI2iO fshwSo6+fLj1+NLcbSeBwG3pyXlAggizJ/hs7ROE9JW+TQUHi+xgIJTvXzMI+dOYzw8Zm4HVYLMQ4 qkF/ihVIbtHsqxJtpX5ZNTFV2BZ7rurOEtvoVrXQu4rcu08OD/RZzEV+3Mo0UXkbi1k+M/4de2/vj cN7miybM8slJUzLFhmlgFPsiaBHEc4vTTe93evFD5nrczGusKaxBKWshsXprg3UFhyEAHiigo4CWs G2K/L2mw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oqeUX-0019pk-J2; Thu, 03 Nov 2022 17:59:01 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oqeUU-0019o4-NW for linux-mediatek@lists.infradead.org; Thu, 03 Nov 2022 17:59:00 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 27ED761E3A; Thu, 3 Nov 2022 17:58:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2DDC6C433D7; Thu, 3 Nov 2022 17:58:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1667498335; bh=OiLLXwuhYw1xR0y6XYeVWsRPOf+qoYlgQ48YRm3kRw8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Vwh6fNXTuOZuXbRtnvFrrAl5/F0Sgy9R2V83zPZJte2gccL1XU2gcsyGpKCHi6SRl AcLmY4JQEz4hqk3dBC67gfI+Y+ettsrsSMft/Hv9Rd4mAMryZp0fuHN/Ot+kcl2ZY+ QYC1gT10hWgQ/8VUMXS4xHMh2SIU25UOcmIhbiUdMUo6hEg0VFYmCg3zbPyczwsypk bbdu6RAz/jjnJViuKOUGbXRZbMu3AMgM8HijVv+wPKeoB1eR7OfqidMQpzSaucvWDE GX3+HZxdyWHahcuhpwHT4D5gP52fs+C1CjTe31jmqHpMtDT4vfXSNE+JE7NjPgjsmr zOmmrsJ+saHCQ== Date: Thu, 3 Nov 2022 18:58:52 +0100 From: Lorenzo Bianconi To: AngeloGioacchino Del Regno Cc: netdev@vger.kernel.org, nbd@nbd.name, john@phrozen.org, sean.wang@mediatek.com, Mark-MC.Lee@mediatek.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, matthias.bgg@gmail.com, linux-mediatek@lists.infradead.org, lorenzo.bianconi@redhat.com, Bo.Jiao@mediatek.com, sujuan.chen@mediatek.com, ryder.Lee@mediatek.com, evelyn.tsai@mediatek.com, devicetree@vger.kernel.org, robh+dt@kernel.org, daniel@makrotopia.org, krzysztof.kozlowski+dt@linaro.org Subject: Re: [PATCH v3 net-next 1/8] arm64: dts: mediatek: mt7986: add support for RX Wireless Ethernet Dispatch Message-ID: References: <4bd5f6626174ac042c0e9b9f2ffff40c3c72b88a.1667466887.git.lorenzo@kernel.org> <3046551a-62d7-2990-afb6-75fe2e20d8cb@collabora.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ScmsxxUnOprYMSb4" Content-Disposition: inline In-Reply-To: <3046551a-62d7-2990-afb6-75fe2e20d8cb@collabora.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221103_105858_867193_2CEC1260 X-CRM114-Status: GOOD ( 21.45 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org --ScmsxxUnOprYMSb4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > Il 03/11/22 10:28, Lorenzo Bianconi ha scritto: > > Similar to TX Wireless Ethernet Dispatch, introduce RX Wireless Ethernet > > Dispatch to offload traffic received by the wlan interface to lan/wan > > one. > >=20 > > Co-developed-by: Sujuan Chen > > Signed-off-by: Sujuan Chen > > Signed-off-by: Lorenzo Bianconi >=20 > Hello Lorenzo, > thanks for the patch! However, there's something to improve... >=20 > > --- > > arch/arm64/boot/dts/mediatek/mt7986a.dtsi | 75 +++++++++++++++++++++++ > > 1 file changed, 75 insertions(+) > >=20 > > diff --git a/arch/arm64/boot/dts/mediatek/mt7986a.dtsi b/arch/arm64/boo= t/dts/mediatek/mt7986a.dtsi > > index 72e0d9722e07..b0a593c6020e 100644 > > --- a/arch/arm64/boot/dts/mediatek/mt7986a.dtsi > > +++ b/arch/arm64/boot/dts/mediatek/mt7986a.dtsi >=20 > ..snip.. >=20 > > @@ -226,6 +252,12 @@ ethsys: syscon@15000000 { > > reg =3D <0 0x15000000 0 0x1000>; > > #clock-cells =3D <1>; > > #reset-cells =3D <1>; > > + > > + ethsysrst: reset-controller { >=20 > That's not right. It works, yes, but your ethsys rightfully declares #res= et-cells, > because it is supposed to also be a reset controller (even though I don't= see any > reset controller registering action in clk-mt7986-eth.c). >=20 > Please document the ethernet reset in the appropriate dt-bindings header = and > register the reset controller in clk-mt7986-eth.c. >=20 > Finally, you won't need any "ti,syscon-reset" node, and resets will look = like >=20 > resets =3D <ðsys MT7986_ETHSYS_SOMETHING_SWRST>; >=20 > If you need any hint about how to do that, please check clk-mt8195-infra_= ao.c. Hi Angelo, Thx for the review. This is not strictly related to the wed rx support adde= d in this series, anyway I will look into it in the next revision. Regards, Lorenzo >=20 > Regards, > Angelo >=20 --ScmsxxUnOprYMSb4 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQTquNwa3Txd3rGGn7Y6cBh0uS2trAUCY2QBXAAKCRA6cBh0uS2t rN9HAP9nSmSjLG2CT2ALVzxmgBBX3AdNnT3xbfu0hBZc3g6+YwD/Tn6ca6LO2cQ+ BX9fN/p6r+bm+4UoAh72x/A4Nvgiqwk= =QrcJ -----END PGP SIGNATURE----- --ScmsxxUnOprYMSb4--