Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp531184pxf; Thu, 8 Apr 2021 08:01:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyC6uGkbdOD7ChM8jBiZYBvC3MGEDzN6i/gf4JXeFRQ+igYfKS3/Bt3KMwVuqSAiSqYpVvZ X-Received: by 2002:a50:d84e:: with SMTP id v14mr12314877edj.357.1617894107531; Thu, 08 Apr 2021 08:01:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617894107; cv=none; d=google.com; s=arc-20160816; b=BOaN1gDzHNltuCYqt96mLyKYbM8sEiVPvklAHnzMiAy029BhspLN3BVw3oIp1nzVks n7DAR3BUNY1GzxVJLjnhszYo32mTz261OENXJNfT2GWMO2S1CYpt8Lg1A0+hmwIxRw5w zMzUbbpVWjGfZ8mab13+D1I9c7q9PxzNir8kRxa5t5NHkFUN/h5K2dx57dttTknfxqw4 wTlvNBOuSHy5pHKjc9/WMxRhdsu9nGkSXoW/gRPOnh32QFF7H/BJA5UEdy+TNntTP4O3 h9yOaXd6zbARKZhstrLGm2Qmk7onA/hRAQzh4Bi+WCmutjPeRPv9YT6lfQGaezmelPXM tkhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=FjPNKJFXnPLlIkn9ofe/hgNOiX4jHuRRHt6hgl/CzlA=; b=cEfRZDzcm4UccdBvxjhDNLNrfuYsJU6Dy6mMMXC6iBfVXWXZ96DIiUs/EiF0kImTlM B2hsm7mT3jHzodOFL9z1f1lHq+7gggywLX7OWwhX+O3W7LnIF4CY7Dg/pivmlI85wsPo aX/ZuhL9x4H8XunLP1NY0h/XRfDMuI+RAQD4PbzJLm6qkr/5lzAZtGWAxEgF+FRdAGSN +Sbsd9zW2aqx4wYoDQ00pXEHr3tR7FDtRdb/dOweLLmZFxj+uEwmcafQBeju9t2ks2WK gkP5AS6YxMfuccY7dNcCsLeM4L+ciZxIzgbn5Pb56yOuwL7KmwZc76sdqxssbocYQkIk C8wA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=XbZQ46ku; 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 p12si14336757eji.19.2021.04.08.08.01.21; Thu, 08 Apr 2021 08:01:47 -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=XbZQ46ku; 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 S231843AbhDHPAf (ORCPT + 99 others); Thu, 8 Apr 2021 11:00:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58978 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231480AbhDHPAe (ORCPT ); Thu, 8 Apr 2021 11:00:34 -0400 Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1E837C061760; Thu, 8 Apr 2021 08:00:21 -0700 (PDT) Received: by mail-lf1-x129.google.com with SMTP id g8so4510889lfv.12; Thu, 08 Apr 2021 08:00:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=FjPNKJFXnPLlIkn9ofe/hgNOiX4jHuRRHt6hgl/CzlA=; b=XbZQ46kuRoE8CvvYGZdRG7dg/QOplHjo7etUJYk4YVHrjZT3NA85gaoysHXoEEMscI 5eIzjIauhjJHRn+s2BeO6XCW/EP6IrCLfCsVbyDyrXM3rg0uFrSBSAYOLHTlOhNwux0B 5eVE73WtGFAuKNOUnbvg+u0JYoB+0Ah4UenNLHTLYmBzLjXeaOAQoLGOeGQQ422RsPfi Hcvu7QB8tkyboyurVK1mjBv9DEqucCDuu3igcXiJ5GZTW3T3cGJBdDcU5FUP7f+mphm0 ZmsLpKKnyHiHsSH38Cud7G2mu5HWtCsI3f0l5qzwjUrfneucL4Bg2uatzY8F+tp45Sp0 aX+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=FjPNKJFXnPLlIkn9ofe/hgNOiX4jHuRRHt6hgl/CzlA=; b=MAL/oW8NWWo108A9x3GJWpL+e4mbbNvnLwHUs+wRL4UFTNogMlEALiJdT9V5PgIqXB DJlZNeSyQbvtWTx+zmophv28RzWpOWS4FMS6O4YgM4aGeXHh3SJJZM90UOCHtTA63PXm JSsvh7htJIHVT+Iowguu9cvyV0OaNkdCOSg/gBRZcQCxoZap7ijD0nXdUyS6sfIPI9/g 9exnBY2vB6Dr3YpBLxZc3mp62WMgnVIgTRItbuAr0gwQ4ke8MZn0uoz1i+EW1mLQzYpW nzEwQ/angVyEJ0yH2I+T23/mpqxj1LFYo3v90ToJF1amGpH1XGsi7a6kOemPiEZ5F6PW XUzQ== X-Gm-Message-State: AOAM532MtSo3NMqaJwAlwb6oslJwvm8rbc88IR9cBoTvp034GGmIUGlZ ambn0NmuUBXVbjNOQFZRHHCEObESieFq74wQXjY= X-Received: by 2002:a05:6512:2295:: with SMTP id f21mr2490389lfu.166.1617894019468; Thu, 08 Apr 2021 08:00:19 -0700 (PDT) MIME-Version: 1.0 References: <20210408123919.2528516-1-dqfext@gmail.com> <20210408140255.Horde.Pl-DXtrqmiH9imsWjDqblfM@www.vdorst.com> In-Reply-To: <20210408140255.Horde.Pl-DXtrqmiH9imsWjDqblfM@www.vdorst.com> From: DENG Qingfang Date: Thu, 8 Apr 2021 23:00:08 +0800 Message-ID: Subject: Re: [RFC v3 net-next 0/4] MT7530 interrupt support To: =?UTF-8?Q?Ren=C3=A9_van_Dorst?= Cc: "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 , "moderated list:ARM/Mediatek SoC support" , linux-staging@lists.linux.dev, "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , netdev , Weijie Gao , Chuanhong Guo , Frank Wunderlich , Thomas Gleixner , Marc Zyngier Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Ren=C3=A9, On Thu, Apr 8, 2021 at 10:02 PM Ren=C3=A9 van Dorst = wrote: > > Tested on Ubiquiti ER-X-SFP (MT7621) with 1 external phy which uses irq= =3DPOLL. > I wonder if the external PHY's IRQ can be registered in the devicetree. Change MT7530_NUM_PHYS to 6, and add the following to ER-X-SFP dts PHY node= : interrupt-parent =3D <&switch0>; interrupts =3D <5>;