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: 8490 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp450418vqo; Thu, 20 Apr 2023 09:10:22 -0700 (PDT) X-Google-Smtp-Source: AKy350ZVXdi9+KDH2szxhoEcYKtghDNV5LdFRFtjI59w2uK2iY9mHP0Xskaaw6DY9uRbSRsbyo0s X-Received: by 2002:a05:6a20:258f:b0:e5:5076:f4d6 with SMTP id k15-20020a056a20258f00b000e55076f4d6mr3086672pzd.9.1682007021989; Thu, 20 Apr 2023 09:10:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682007021; cv=none; d=google.com; s=arc-20160816; b=Eoz80XYeEkTQ0z5uy2/QI+MSe0lJAeCBPRqNcnU4D39ILNG0ZlCeSSGYLy1NToeXk2 OLWnUK00Dolq5dDMsvvxhsE98HX0OD05LOkYCp3XplasltoJjNO5or57d8btx/uE5Mkl ajoeq6hhl7ODHH7p5M8eVks7TUyWM8yqdHlNZ9YWUyQnjZKXWIHJWt3i2FXybHoJWCQT MiD2F1+9UDONaTnLixGeua7QUyFEz4crq26Nw2RahoPh8YHj5sf6GkJss15yVWtyc85e xU6ZO/K2rso+DMplRqAbv9uTEdkm8VDSReDza0QZvc5uhhVoGW30HmmC0I3nP/+EqZWY zFTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:to:from:date; bh=tsMhfrh/hXMUbl8PAIbj5a+sVWJcnijb/6Fe+TBGAyE=; b=SFxb/NuR96ex5NaixugsZq2YbJnEYnbozmTrFSX++uKX6Ddwe3PJEpewc3BecwxlCM amTrNk7fRo9mmj4uteguyK6DIuVkTOudNspymnBxo2IGZArWqDFxmRpOszL6Sv6GdvhW Bjweb5ymw3VhWScUp15qNDkXItS3A24kshOqHmk7W7UQmGRaISZM1tQxa58dIiK5bcOr 9AHg/WFTo1rwvh4FskPRQ+RTX+a/KkQ253rb6z/aht+XcSQ2/Bh9/BRtff6Yu/ZL8vUc BMEzD51BpT9MqvWQGFl+HzB1NF2IWhd+/OIgxFu3cDwDcHJ7v/TJZYuRzNDaZbaepVQI ZpeQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j64-20020a638b43000000b004fb9330dcfcsi1989331pge.323.2023.04.20.09.10.06; Thu, 20 Apr 2023 09:10:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234098AbjDTQET (ORCPT + 99 others); Thu, 20 Apr 2023 12:04:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57474 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231435AbjDTQER (ORCPT ); Thu, 20 Apr 2023 12:04:17 -0400 Received: from fudo.makrotopia.org (fudo.makrotopia.org [IPv6:2a07:2ec0:3002::71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A94321FE3; Thu, 20 Apr 2023 09:04:15 -0700 (PDT) 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-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1763712194860210807?= X-GMAIL-MSGID: =?utf-8?q?1763712194860210807?= 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(-)