Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp1115108pxy; Wed, 28 Apr 2021 23:22:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwvKYXr4um+PvBVaBIE4xyo/IDjO81MAiUc6zZ/InRn88PCNNDpPOGG4HLn6cGEj0IvAsJA X-Received: by 2002:a63:580b:: with SMTP id m11mr11994535pgb.448.1619677360994; Wed, 28 Apr 2021 23:22:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619677360; cv=none; d=google.com; s=arc-20160816; b=bo761f0VKLZ4B6yZU1yb67ixVlw7cbh+lwmnr2DL1FZpVilCG4T7lsvGoLQPGq8FZL 1iq3Di2foedcZWdsNrZKz4xD10BlB4VhkV6wJRM1jL0wb1cZoAyyPeqiX01VpV4d+QlI ScbfPfz7SubFgjGlawEsJPqesjKL1/v+NQWasZ0SstUrBTsR3+wmK/qwZKtWl2ZFjBRI gD6wfcYJb5o+9YSoKAHA3Bs/wmMVCbwZ0aSEh1jcGLGjZhmF2x4sgdYExaZzbLmn5ao+ +Yi1qZe1nHukG6gEkqTXN5T3TKZ3kxeZ7B49wWy0CLTRDfBU8KNf40XX+OczYcxX+fRV CrBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=cSEiNE02KkOTwO/RKhNbgZVSZuIXExN7hZU+pPtcLaA=; b=K2TKS1X6LYmkNRSV1qwIlx2CDLEnhAUa7Ef9f4lSVTnwUzYs2UGdi53uuc0kfINVFO ehK/Dz0a0KpZMs/JbkxJdJvdMFT/VY2f7AH8DtWwrieZCtwXPCK1eaQJ6hIDjCrpCgQs QjsRQ0jlIhmd3WB9gFP07RNqqhlRXmKUWPv+0eEj0qKkxmpmGohm5KTUprKukCUiaCzF TQLNM5XEzZcSYGq6hOl3oCsxWeO8phPoEKesjt86H41o1YwrZf8c/12b6fRRZDQ8Wl1x YvaJ+89l3IfVzSIAOLXLHsrXyxaV5goa3PvsDwmsLDQToQ1hODKVS5982MHKp0zrAwyb WGRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=nbSHE1l3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r10si2338220pff.291.2021.04.28.23.22.28; Wed, 28 Apr 2021 23:22:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=nbSHE1l3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238866AbhD2GW3 (ORCPT + 99 others); Thu, 29 Apr 2021 02:22:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44966 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229904AbhD2GW2 (ORCPT ); Thu, 29 Apr 2021 02:22:28 -0400 Received: from mail-pf1-x42a.google.com (mail-pf1-x42a.google.com [IPv6:2607:f8b0:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 44EBDC06138B; Wed, 28 Apr 2021 23:21:42 -0700 (PDT) Received: by mail-pf1-x42a.google.com with SMTP id m11so2220392pfc.11; Wed, 28 Apr 2021 23:21:42 -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=cSEiNE02KkOTwO/RKhNbgZVSZuIXExN7hZU+pPtcLaA=; b=nbSHE1l3NP5OwYE5EpCU3ThMiKP9NsP7Bywu8FPOZy/Vzh1szBvBOiCkGq0abTdHRm OMQYBr1XHVHRpEcHVV9RTUkXRFru5qiZCDHr7hsFf/8U2mSbpbA33gCWUGiQHv4L7Zor 3D1oINl27NIFDJc4gBBz6XuyFym0FTIgM0fSC+r6dpw/CN+ZGnojk2ObkUjzqKDJJQC4 ieNpsLMxVPLIjFGSg6XXMSol+kM4D9RdkZS85jszhApH4uPJMF3xe/2+nRuN8y/QdLB/ Ba8aAkqt5AatUncj+gqkcn6S3l6uyWPaIlkUKYDscyQZjfbsBBsDr4pv4hQ6BLZy7Q4B /V2g== 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=cSEiNE02KkOTwO/RKhNbgZVSZuIXExN7hZU+pPtcLaA=; b=Y2qLTSlL0zTAii8kY+WTt0E6Uy0+ga+CYXXXzwtxAlB6r0rRA39eESc8E3a8uNuJ+d fQi06k81P5v3FtMuwpvnlo1u77MaB39yw8tRq34sgYqB9H5yglJNGz1lCvt9mSkwGsF3 VJKsynp67w4BZLrzZ0Cs3xECIkhsS1W+sV43E8lQmBZyZ3Hj7gOrMLDwmXv2F59ganrE zUjYxdG6BJMsZ7QKhwvBVEWJrNNMG95h7gk7TQbzIJajwKmv1Nuwbt/QDa8DvtCaTL/r Ose4SS9S7m6mi+eBsJwD+TBcK6a4D7WhVcGwMUuGI6WcV9fMC/zLP681yhw8kUZ0tKTu Ge4A== X-Gm-Message-State: AOAM532D0N8MGzw/JV12mHs+F9daGQVCWGVpuwgrgSZg9A3jEMKH1D32 epk1nAhe98Z3Q9HRLJUDdFg= X-Received: by 2002:a05:6a00:1494:b029:278:a4bc:957f with SMTP id v20-20020a056a001494b0290278a4bc957fmr15386193pfu.55.1619677301870; Wed, 28 Apr 2021 23:21:41 -0700 (PDT) Received: from localhost.localdomain ([138.197.212.246]) by smtp.gmail.com with ESMTPSA id b7sm1431008pfi.42.2021.04.28.23.21.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Apr 2021 23:21:41 -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=20van=20Dorst?= , Frank Wunderlich , Thomas Gleixner , Marc Zyngier Subject: [PATCH net-next 0/4] MT7530 interrupt support Date: Thu, 29 Apr 2021 14:21:26 +0800 Message-Id: <20210429062130.29403-1-dqfext@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 | 6 + drivers/net/dsa/Kconfig | 1 + drivers/net/dsa/mt7530.c | 264 ++++++++++++++++-- drivers/net/dsa/mt7530.h | 20 +- drivers/net/phy/Kconfig | 5 + drivers/net/phy/Makefile | 1 + drivers/net/phy/mediatek.c | 112 ++++++++ drivers/staging/mt7621-dts/mt7621.dtsi | 4 + 8 files changed, 385 insertions(+), 28 deletions(-) create mode 100644 drivers/net/phy/mediatek.c -- 2.25.1