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 3DDACC54EE9 for ; Tue, 13 Sep 2022 12:55:45 +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=lXt/1l0OEZagrtcuJEGM7lJAQuMXHhVEGGPh+McpMZw=; b=PfQn55NQTTWKFHAiPK/b/mIduJ 3xlrWjjI0GxvxAWg5L8Z+MuL5GfuQew4hIjXLe5LABClAal6k0bbxhZdY11NnPfqVVlqkQwlK/ypA yOfJ4gVZPZnP4onPiZNrB2Yu0cwhPiBEQ7bNq3SvczkhmtW2Zchk4x6LOthLvjWcBg/AAGW1FX7lB 6TLOKp6HL9fl6WsU8YGBRmGFceQplBVS7G+c7lA+Nm7dn5/VC7IEPkTnx/Xuc4sbasOQAYwr9HT4/ v3cQ2iTiHnf0E/DFMnSFLpxUurITfDHEY3Pf3b7oWUQB/iKeevfPZ5J18vzXnMTfo+vxAGk7xTyKu 7ei3J+2w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oY5Rv-00AH8W-Gu; Tue, 13 Sep 2022 12:55:35 +0000 Received: from ams.source.kernel.org ([2604:1380:4601:e00::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oY5Rs-00AH0r-44 for linux-mediatek@lists.infradead.org; Tue, 13 Sep 2022 12:55:33 +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 ams.source.kernel.org (Postfix) with ESMTPS id 030B4B80E22; Tue, 13 Sep 2022 12:55:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 34E3EC433D6; Tue, 13 Sep 2022 12:55:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1663073722; bh=nVK1PpFpr3HrxHyxFHxXGkoi91E0D9INc8k4vrxLlO4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=sQoTQw9b5uv42Gc79PBJk8gsxELlxcrDQhMhi8d3x3Y2H9xEos2A972w/zKyL1j/Q y+/N5nIH7j3YYttsfXFwQL0GqSrEsQqgI1TBZIcIvwMM4fTpp/7nV8T31BKiOeHnq8 zT7WK4MG3gv74eeXFHhXSxDJkApJ5MJUIpox63pT4JL+LYxJpMcuI2gh17Blly0Xbq GhrcN4ahEMfOCEEmF+PYYPrCfkw1mlryD7UDb4bFlCfh/99isAXsEJjs6dM6Nr26g0 PeLZjr8LXFSDl64K6lGbDQsHVflDJ4fUwvLSY04ZLge11E1g02kiEq46Q19SQPLuNI q6bO4q8xV2/Mw== Date: Tue, 13 Sep 2022 14:55:18 +0200 From: Lorenzo Bianconi To: Rob Herring 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 Subject: Re: [PATCH net-next 01/12] arm64: dts: mediatek: mt7986: add support for Wireless Ethernet Dispatch Message-ID: References: <20220913120950.GA3397630-robh@kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ZB171Q3MrJkpLRzK" Content-Disposition: inline In-Reply-To: <20220913120950.GA3397630-robh@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220913_055532_487710_FE890DE5 X-CRM114-Status: GOOD ( 18.88 ) 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 --ZB171Q3MrJkpLRzK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sep 13, Rob Herring wrote: > On Thu, Sep 08, 2022 at 09:33:35PM +0200, Lorenzo Bianconi wrote: > > Introduce wed0 and wed1 nodes in order to enable offloading forwarding > > between ethernet and wireless devices on the mt7986 chipset. > >=20 > > Co-developed-by: Bo Jiao > > Signed-off-by: Bo Jiao > > Signed-off-by: Lorenzo Bianconi > > --- > > arch/arm64/boot/dts/mediatek/mt7986a.dtsi | 20 ++++++++++++++++++++ > > 1 file changed, 20 insertions(+) > >=20 > > diff --git a/arch/arm64/boot/dts/mediatek/mt7986a.dtsi b/arch/arm64/boo= t/dts/mediatek/mt7986a.dtsi > > index e3a407d03551..419d056b8369 100644 > > --- a/arch/arm64/boot/dts/mediatek/mt7986a.dtsi > > +++ b/arch/arm64/boot/dts/mediatek/mt7986a.dtsi > > @@ -222,6 +222,25 @@ ethsys: syscon@15000000 { > > #reset-cells =3D <1>; > > }; > > =20 > > + wed_pcie: wed_pcie@10003000 { > > + compatible =3D "mediatek,wed"; >=20 > This is undocumented. It needs a binding. ack I will fix it in v2. >=20 > > + reg =3D <0 0x10003000 0 0x10>; > > + }; > > + > > + wed0: wed@15010000 { > > + compatible =3D "mediatek,wed", "syscon"; >=20 > Some are syscon's and some are not? ack I will fix it in v2. Regards, Lorenzo >=20 > > + reg =3D <0 0x15010000 0 0x1000>; > > + interrupt-parent =3D <&gic>; > > + interrupts =3D ; > > + }; > > + > > + wed1: wed@15011000 { > > + compatible =3D "mediatek,wed", "syscon"; > > + reg =3D <0 0x15011000 0 0x1000>; > > + interrupt-parent =3D <&gic>; > > + interrupts =3D ; > > + }; > > + > > eth: ethernet@15100000 { > > compatible =3D "mediatek,mt7986-eth"; > > reg =3D <0 0x15100000 0 0x80000>; > > @@ -256,6 +275,7 @@ eth: ethernet@15100000 { > > <&apmixedsys CLK_APMIXED_SGMPLL>; > > mediatek,ethsys =3D <ðsys>; > > mediatek,sgmiisys =3D <&sgmiisys0>, <&sgmiisys1>; > > + mediatek,wed =3D <&wed0>, <&wed1>; > > #reset-cells =3D <1>; > > #address-cells =3D <1>; > > #size-cells =3D <0>; > > --=20 > > 2.37.3 > >=20 > >=20 --ZB171Q3MrJkpLRzK Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQTquNwa3Txd3rGGn7Y6cBh0uS2trAUCYyB9tgAKCRA6cBh0uS2t rEI/AP9/wgj2OBuhzFXTwuox6VAFFP2XrEoPs+UIwXt69PmD+gD/WvunCMCbUQC7 V+zgy5wDDPTsNR0A6Wd+b8I6LYtAQg4= =Wi3g -----END PGP SIGNATURE----- --ZB171Q3MrJkpLRzK--