From patchwork Thu Apr 20 16:04:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Golle X-Patchwork-Id: 13218954 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 661BBC77B73 for ; Thu, 20 Apr 2023 16:05:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Subject:To:From :Date:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=eOPLhwzyjbnJNQpKNu3fvZ1K6STo4/Wl8EWKnd1Raws=; b=Z+2mcfaKrPL4uK qAA+c08HQ29pRUEs2P4XUNnpWP4Ejg0SxxDuqThDY7+W9rkJyqx8pkVyRefwPi49RpTsN1anJrDeg ET5Z6xRc5ZgaDXeFOXpfrFgKhZJw8r/iRZcPzfACnIGAL6l9Qot4SAm1cT3Qi8I/JIsSqjEI7eMr6 IjKziQTSQQgRqRqUS47YwUYVbUrumXf6L0+VAo1hPw1k6ouyk242oOvT/smays/l6hel1m0rs+UVD xA3Y7rdiuKq5OhgJt6Zop1MkRpfHNfbVPzoBCWMxHI3hCO+HSAimr8zZe5U1DX6jMJZW3aCG3s2Vr YM2HukSPMDP//f0YISfQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1ppWlf-008UeW-2G; Thu, 20 Apr 2023 16:04:19 +0000 Received: from fudo.makrotopia.org ([2a07:2ec0:3002::71]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1ppWlb-008UdH-1N; Thu, 20 Apr 2023 16:04:17 +0000 Received: from local by fudo.makrotopia.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.96) (envelope-from ) id 1ppWlU-0000Ho-2l; Thu, 20 Apr 2023 18:04:09 +0200 Date: Thu, 20 Apr 2023 17:04:02 +0100 From: Daniel Golle To: devicetree@vger.kernel.org, netdev@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Rob Herring , Krzysztof Kozlowski , Felix Fietkau , John Crispin , Sean Wang , Mark Lee , Lorenzo Bianconi , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Matthias Brugger , AngeloGioacchino Del Regno Subject: [PATCH v2 0/2] net: ethernet: mtk_eth_soc: use WO firmware for MT7981 Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230420_090415_460950_331AF4BE X-CRM114-Status: UNSURE ( 9.42 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org In order to support wireless offloading on MT7981 we need to load the appropriate firmware. Recognize MT7981 by introducing a new DT compatible and load mt7981_wo.bin if it is set. Changes since v1: * retain alphabetic order in dt-bindings Daniel Golle (2): dt-bindings: net: mediatek: add WED RX binding for MT7981 eth driver net: ethernet: mtk_eth_soc: use WO firmware for MT7981 .../bindings/arm/mediatek/mediatek,mt7622-wed.yaml | 1 + drivers/net/ethernet/mediatek/mtk_wed_mcu.c | 7 ++++++- drivers/net/ethernet/mediatek/mtk_wed_wo.h | 1 + 3 files changed, 8 insertions(+), 1 deletion(-)