Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp1454138pxb; Sun, 11 Apr 2021 20:44:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzHZCRydyScjMR20QuzGQUBCom/sMmgFCa5P1s90CNFNXthxovoUI/OeSIs1eQhUT7pwAED X-Received: by 2002:a05:6402:8c2:: with SMTP id d2mr27974194edz.4.1618199063057; Sun, 11 Apr 2021 20:44:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618199063; cv=none; d=google.com; s=arc-20160816; b=OYSUSOxChmhBVGV/0aeDgKYmXBeb+OXD9Sg8fiRdvSics086jnJTwmL7ZjB47W58gu TyTgEiHkIgx5ofP3uK6smNrGHtdPJKccv6TfuauC856jSh6gXl2e+/djUG5lA00UsRMA s4tt9Qfd8RI0LeacKXWDIzGWE6frNUdgAQF3QBzHa44GPqxLnT0mQ561tt6EjsOxStJA lAc8jPrJ2MN7fSonJjAN/wR3OCscoz9G64lqLZtEUsezMd1r8vyUBKn+TsupfKn6GwUy HiMKhEIw+CAWYxd8nN32nKjgpEjxIftWAKT4+g5D6AOliolw9w6R7S7JMOUW1styCYsh gPYQ== 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=TbV7aHs7TaIhyV0H0KiEJQJbVjhXqA5DKHSoe6+ECPw=; b=G6lwM86NfwM8f3BGIBbreQfaD4tb5t14UZxwmBVkb3OSbrs4139OxSWOrExWWCGRP6 KDcEViTxJnIVm+yuHMeVvOpc0+gtIsEpYGYp1ovNy90fU+5DXcGnTbhCD+WTY9maZSOu iJuJhSwsgZGcXzjHQr8/3zCdiKZqVYOrysgqS+lRrRbcjZOmt4t9HnYeqmalSceUIHUv 8JiS8wv6WaqR7ik7rZDkmw5SNu5VhqDC/SZKJLQi1dAdMmEPXLcXhDY5FsJhnzpBZmtI j8j2aBZoVtaDIEkr71H6jdTjsnRrkQgAjwhTr4fF1U8Z0G0G4ZFC6FJE3wCGstimARHQ HX6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=P49so0HJ; 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 u10si7082634edy.192.2021.04.11.20.44.00; Sun, 11 Apr 2021 20:44:23 -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=P49so0HJ; 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 S236562AbhDLDnF (ORCPT + 99 others); Sun, 11 Apr 2021 23:43:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54048 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235366AbhDLDnF (ORCPT ); Sun, 11 Apr 2021 23:43:05 -0400 Received: from mail-pl1-x636.google.com (mail-pl1-x636.google.com [IPv6:2607:f8b0:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0BC2AC061574; Sun, 11 Apr 2021 20:42:47 -0700 (PDT) Received: by mail-pl1-x636.google.com with SMTP id m18so3419699plc.13; Sun, 11 Apr 2021 20:42:47 -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=TbV7aHs7TaIhyV0H0KiEJQJbVjhXqA5DKHSoe6+ECPw=; b=P49so0HJzAqTv6dJXeU7iuIOm7fDFNyyZSoqpw0IGgN2WT+OcbM9TVUJvnSps2D6FV ocO0sEZhJJMEU8qIE/a51GoTocEhwzbbkMoH0Cbmf+i9p+bbVlTM5qiDzKSJ37wOZC3+ 2pUZyv/F3wPJPIoqSvt0bd2RN12rfYLYmzhOb5YGyAoZm8uFGpsriEsX+57HU1yUB7Iy mI8w5yu0620bLR90MrBddwfrU7ye/05QYa9LKIlsWV9iWDE99DJJVsYSU6B4PcYuMQgd 59B/WiVnFR7obFfZ8ZEmiSr7tMKT1M3t95asjWXeRUB4DUBYPIf4toqvDlwXT924+iyM MxrQ== 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=TbV7aHs7TaIhyV0H0KiEJQJbVjhXqA5DKHSoe6+ECPw=; b=KlLoM1XB/RfsU4dOM6OJRi3FjJNM6vipRL3mqTCIGi2zpA3rH76u8S5jKAZ0odnKdz ZYAp+hMr+V04IG4mEbpdqSyFWjngnfpU2KLs/583bIvyoVANsqL5RHdGn1X024LUMxYn AD4/YZvaxoyItO6Q4zdcAFrgx7YrZEYPY/5I5D1h6Ur8ou0WWSrYtYs37eyS8FaX9WzA /dQUb9jSM+xSuBH/4aegm0X+vDhe3HYVHQlC+/ndWJMC9jlE2HyrR2o5l4tFAGrV9VTq v3TxDP/yPUCuY7C2byIMZyQzGCXm7KCysCFncLev/HLUvuSOgqfu0tG5ayGNZMMtM0J1 1CTQ== X-Gm-Message-State: AOAM532UTslK+fyHjsj/AJAYWSWiptnHw/y6uZAO9LsjpM3YUgYhATTB 9uoiJUrmN7C7kd+c3I0TQlk= X-Received: by 2002:a17:90b:390f:: with SMTP id ob15mr1860487pjb.100.1618198967574; Sun, 11 Apr 2021 20:42:47 -0700 (PDT) Received: from localhost.localdomain ([138.197.212.246]) by smtp.gmail.com with ESMTPSA id v22sm5387185pff.105.2021.04.11.20.42.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Apr 2021 20:42:46 -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 v4 net-next 0/4] MT7530 interrupt support Date: Mon, 12 Apr 2021 11:42:33 +0800 Message-Id: <20210412034237.2473017-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 | 266 ++++++++++++++++-- drivers/net/dsa/mt7530.h | 20 +- drivers/net/phy/Kconfig | 5 + drivers/net/phy/Makefile | 1 + drivers/net/phy/mediatek.c | 111 ++++++++ drivers/staging/mt7621-dts/mt7621.dtsi | 4 + 8 files changed, 385 insertions(+), 29 deletions(-) create mode 100644 drivers/net/phy/mediatek.c -- 2.25.1