Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp402614pxf; Thu, 8 Apr 2021 05:41:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzaKGRX1adN4hTL3FeSnv3bJnumTDCAGAnB1+FP8v1UZIgn8i5qi6DOr666cblD5v6Z8c3x X-Received: by 2002:a05:6402:3593:: with SMTP id y19mr11090487edc.317.1617885660522; Thu, 08 Apr 2021 05:41:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617885660; cv=none; d=google.com; s=arc-20160816; b=FMcK4hpyLk2M85gUOUqp2UHFMe9FutuchiKFvCyN5TkK1LWu57+TVuzx++fvCikynW ZZytoe4q8fAV3btvlMozgn0s3BPoiOmZ9VYLiLLlGjhlta0uA56p0LWBOYgROOXcot6+ lvCWFX60jQStEbQLggXYvtwP+XLTKe33bnoOU5GnX33DnBn6Nd9wCV0q1HviNm1sYwht /MN1FvHJcujkz3AM1ltIhLufkWQUyuxME89Ub13Pirwy4nz7ghZEnNUV6Xw4D1C/f2A9 QTejOizAlkVKmMEi48SkxUjMUeUe5NjOUumpGnqvIKL4EiJMNaLrHkeaqhfXY13BI7az Uapw== 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=+QmHxLtSKiy/M0k5RFjpXgoAxgaENLbGHZnwkZzXYD4=; b=F1OcLkY7HHDoJOGaKGKhQacjCUKPTu1ev7in7DLbvky+43haBs49AZsTeF6A/+U8Tp XAuvLbXeukJE1SHDrOcTgtrYrTdxqLGs3D/QIfrcYNqmmGwoouvUq6erhLlq+FW4gW4k o/e92+QjIEvDgKnxzmQoMupcQ463R28Qrcy7lEGUneDbjuJjMUFfO+Zmj/yYdoSlyS28 dmGy4fExWP7fqY4H5GR2a56rd1v+ePRVCXG/ji7iWV7typXL+tEiZg2QxbQj9kpm6Qen z9FCc/iEy6+cdQ11SUfShykBLVbOXZUjqOKK49wNaz4M7QtnvyT+7b+PNCMIQWTVG+4d xDrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=eVFhWLUE; 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 h8si6750494edq.60.2021.04.08.05.40.37; Thu, 08 Apr 2021 05:41:00 -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=eVFhWLUE; 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 S231520AbhDHMjm (ORCPT + 99 others); Thu, 8 Apr 2021 08:39:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55820 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229751AbhDHMjl (ORCPT ); Thu, 8 Apr 2021 08:39:41 -0400 Received: from mail-pf1-x432.google.com (mail-pf1-x432.google.com [IPv6:2607:f8b0:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BBCAAC061760; Thu, 8 Apr 2021 05:39:30 -0700 (PDT) Received: by mail-pf1-x432.google.com with SMTP id y16so1712799pfc.5; Thu, 08 Apr 2021 05:39:30 -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=+QmHxLtSKiy/M0k5RFjpXgoAxgaENLbGHZnwkZzXYD4=; b=eVFhWLUE7G9oQNgyvcq6kKZy8Vl0StafOcaJBTHm6NaU/B30SGmjqkSHvRpMnEu3yZ UFHsRB3n8VQGSK/aa3BhgFfHtwF7f6hP26FYUMstC5KPoD2P+kCxmkJTcKo7WGmNl6Zt j/X9WOK1TqTiiBXkcw77pZy1OmzhtK63xj06TQt5iG8jfk3cTiyy0ZCDWVkoFdSSdXDG uUJLVtsVKwiG9vZMhh0TNL3VmyamyrNivv/crV/eLcNX4zVeIBulNP9q5N4aBCzTGH9z OhCLm4GCv9pNLqNkLY9CjiyiYioQdOEoT7pIJM/iUCWYqagTEUnNE+KQ5ByHdWP9BLaU EhCQ== 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=+QmHxLtSKiy/M0k5RFjpXgoAxgaENLbGHZnwkZzXYD4=; b=sUApcw8LjfbiJJvE9Cu1uCvpDSkVXU2CQLZzgt66H3GZU2709yPZJnSS/Ns5GhnMEK ObbUKYjdkVuqiQuQhYo2KCi1ddvCCAKyIOAfBcGay4WuoLNhGOWGlw3z+QycAP6WTSQv BWPCjOK0jgoDl9Ka0ItSTBmDNFsIFUe8PAUoyyiDODJGut1oC7Es57WmkO0PuSU+KLTZ eDAI8vx1tE+OYD7F5AeUmulSLZIjuC1j0eE2KDGx5TZIf5hwjeO6QcmYFzX9A8SxD+Gy JWnzdfi54jsPVLo29ZhrQhpKh4NqqauQAyd+Z2LgV68DGI4QDvKleql+Za3OdpDdABgL 9tQg== X-Gm-Message-State: AOAM5315P8j843BRHaZeVcdC/WHhXb9VwjqMjdK1KSs6WSCj8MZlbRXz uEkViywAkpzFLr2i6/S3KYE= X-Received: by 2002:a63:d945:: with SMTP id e5mr7632086pgj.449.1617885570300; Thu, 08 Apr 2021 05:39:30 -0700 (PDT) Received: from localhost.localdomain ([138.197.212.246]) by smtp.gmail.com with ESMTPSA id e65sm25831311pfe.9.2021.04.08.05.39.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Apr 2021 05:39:29 -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: [RFC v3 net-next 0/4] MT7530 interrupt support Date: Thu, 8 Apr 2021 20:39:15 +0800 Message-Id: <20210408123919.2528516-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 | 5 + drivers/net/dsa/Kconfig | 1 + drivers/net/dsa/mt7530.c | 266 ++++++++++++++++-- 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 | 3 + 8 files changed, 384 insertions(+), 29 deletions(-) create mode 100644 drivers/net/phy/mediatek.c -- 2.25.1