From patchwork Tue Apr 6 14:18:15 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Qingfang Deng X-Patchwork-Id: 12185387 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 98B39C43460 for ; Tue, 6 Apr 2021 14:18:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7B2C061382 for ; Tue, 6 Apr 2021 14:18:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345036AbhDFOSy (ORCPT ); Tue, 6 Apr 2021 10:18:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41040 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345015AbhDFOSk (ORCPT ); Tue, 6 Apr 2021 10:18:40 -0400 Received: from mail-pl1-x632.google.com (mail-pl1-x632.google.com [IPv6:2607:f8b0:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DDD4BC06174A; Tue, 6 Apr 2021 07:18:29 -0700 (PDT) Received: by mail-pl1-x632.google.com with SMTP id y2so7586786plg.5; Tue, 06 Apr 2021 07:18:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=oHeyYOhTyr/Pj14dswoKpegMv2vJUh025+BN2sVtXu8=; b=RtwbzxaLtNZ0nmdC4WJ/Cx9sZwXO1DHJ8WqQYOxbxvHGlQneXoT8hZHtjuYkmAPLAn +6JTWU6Ws84uztBHt7NYBcbVcXDde3Fj5zcCJ5ssBJQDm9xUC4IaYY0HcCH+8YFW/sDo 4mu6CsmLrotTPSTK9y77uxPSMmLcL3qJBaJhRafv9kEsBXP62g+trAQjsOGilTI0c00Y zQmg6e8jMR4cMxkGHgs4R7BFQA+O035RKOVNLgcCWxHlWwMBKQRC3FavgUGBJ8WpE974 ui3F38lBrgyaZ5tDeXKuR/6umDgfaSsfj+ifEIs2c1ddA3B9/Z4FrDCcvKIa7ONX2wu2 dJ3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=oHeyYOhTyr/Pj14dswoKpegMv2vJUh025+BN2sVtXu8=; b=QoUuAFOPNBXwkcUZsdE0XjKAIX0M1gh/gIakny+WcMe9D26pvolFgdmfjrokHwgAYT 9pT02UGEb8iiCtzNEAcK8jE5uhP47RYv8VJVs5dWQ1u1nwjk9T2+IevnBRFlpbkTxySC neB68ZXtGOJxHYYC8n/zsqN+7/CSs10FhLqYkgqwb58L4vPH8a/xFOXEdK4EF5KbF4UG /anwduQcTaZXRpgaDADLQL/sCg4bh9HHkbQ/jDOH/pP8gKp4DQsYCQ0d7jMP+IPF70pG OJYoyIjpzQqDRrBytzfA8kPIDI0jopCTbljOUmSHpE9/VwdaPW3a91Tqvww7CWKYekFX ckWA== X-Gm-Message-State: AOAM530z/LXAeNzdcdz54wSvQVTHH8lQGbyBIiswg66OOMHO2PFleznu +CHkmK9wTrNUXzCSFa1wd5s= X-Google-Smtp-Source: ABdhPJycUf08xH7qOZt9syoGWZKCK/ZFzVK3LiVHhby8ua9De8vgDPchYrwqPZAbqEJIvB6LOhGhgw== X-Received: by 2002:a17:90a:314:: with SMTP id 20mr4735746pje.72.1617718709461; Tue, 06 Apr 2021 07:18:29 -0700 (PDT) Received: from localhost.localdomain ([138.197.212.246]) by smtp.gmail.com with ESMTPSA id u1sm18337581pgg.11.2021.04.06.07.18.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Apr 2021 07:18:28 -0700 (PDT) From: DENG Qingfang To: "David S. Miller" , Andrew Lunn , Florian Fainelli , Heiner Kallweit , Jakub Kicinski , Landen Chao , Matthias Brugger , Russell King , Sean Wang , Vivien Didelot , Vladimir Oltean , Rob Herring , Linus Walleij , Greg Kroah-Hartman , Sergio Paracuellos , linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-staging@lists.linux.dev, devicetree@vger.kernel.org, netdev@vger.kernel.org Cc: Weijie Gao , Chuanhong Guo , =?utf-8?q?Ren=C3=A9_van_Dorst?= Subject: [RFC net-next 0/4] MT7530 interrupt support Date: Tue, 6 Apr 2021 22:18:15 +0800 Message-Id: <20210406141819.1025864-1-dqfext@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org X-Patchwork-State: RFC Add support for MT7530 interrupt controller. DENG Qingfang (4): net: phy: add MediaTek PHY driver net: dsa: mt7530: add interrupt support dt-bindings: net: dsa: add MT7530 interrupt controller binding staging: mt7621-dts: enable MT7530 interrupt controller .../devicetree/bindings/net/dsa/mt7530.txt | 5 + drivers/net/dsa/mt7530.c | 203 ++++++++++++++++-- drivers/net/dsa/mt7530.h | 18 +- drivers/net/phy/Kconfig | 5 + drivers/net/phy/Makefile | 1 + drivers/net/phy/mediatek.c | 109 ++++++++++ drivers/staging/mt7621-dts/mt7621.dtsi | 3 + 7 files changed, 323 insertions(+), 21 deletions(-) create mode 100644 drivers/net/phy/mediatek.c