Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1758416ybb; Thu, 2 Apr 2020 06:53:25 -0700 (PDT) X-Google-Smtp-Source: APiQypJJ4WPlmXaTLBSGmAmjc74VL2Z+KelpfGahk4BVcr1qzPB5NuIhGlfYI3gCUIp5Oo+4OgN1 X-Received: by 2002:aca:eb4c:: with SMTP id j73mr2153393oih.145.1585835605507; Thu, 02 Apr 2020 06:53:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585835605; cv=none; d=google.com; s=arc-20160816; b=eNGoQIt0Xev0EHh0BDmtahIadSp7FHM4ohhCe97yoqLXrwVNSNyQlHIVX73hrDWbGc wfBtiZc8BKUP1Gho35anAcJcobjbEmVEPJN7ACed355aqO6ayg3YMNZ18aJshZ5myNtG hCAm5QFLad3p9CyJvsReSaOmT/ZPSbOXVhG1f0jcYwxAA38YPIHOYaVFizQU/pOCjA9d OkGasUTDfI4Emlf0qbLe72Hg72vxXOjnGPaksMakooD5+63miyiBKyOqikfeAUQOsAlO gruH+LCIV8kF4CwKsUgxLbS9vaWCfdC8A+yBGkt3wmPTUVqZeuCpBBG9vbtOooFSo+vk w2/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=yPUD4F4jhx7/mi0KaztxcsCPAij+5GRCYLwubP4M4n0=; b=iWHTipvk9uCnUR3ceTalWUfikMJFpMqqar3YfgUMm0+g9PpIQD4pkad2fUBoE7lKMf PcH+DTF/YzZikwkpj5sz33zqXdZivNtbW81CitDruF6KxF+/Rld9IrxPEq65AsjR3VAP ok0QawLnof7ajkw1gOXzGE13TzpAqRkrSUD0b56FXxkIiZRCIzyUjzJNJVb6gRvQTTRH +dPZlNvZTDbQSMO4OgOUcKF3XpiwNZOXZOhAY9EwshAK/7R1NyY+Cb1JysYAnciD0kpa m7nkpP6rRIV/iPcmCwhNHtooRxM8UpBcTF/0Ez7d67/u0yyoqOCTc9j1hm/3+sUNN5c/ z1Tw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@flowbird.group header.s=google header.b=D8XUasNH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=flowbird.group Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m9si2313461otp.239.2020.04.02.06.53.11; Thu, 02 Apr 2020 06:53:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@flowbird.group header.s=google header.b=D8XUasNH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=flowbird.group Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732784AbgDBNvg (ORCPT + 99 others); Thu, 2 Apr 2020 09:51:36 -0400 Received: from mail-wr1-f97.google.com ([209.85.221.97]:39375 "EHLO mail-wr1-f97.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732591AbgDBNve (ORCPT ); Thu, 2 Apr 2020 09:51:34 -0400 Received: by mail-wr1-f97.google.com with SMTP id p10so4294304wrt.6 for ; Thu, 02 Apr 2020 06:51:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flowbird.group; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=yPUD4F4jhx7/mi0KaztxcsCPAij+5GRCYLwubP4M4n0=; b=D8XUasNHDKei7vJxYiYh9CfYGlKQFR5U6+L/aCvM/bY5esrvXd6wHqponjNp/KcOzU /0xRh4TUOA9YkKeTs+ZOKjq3fFN1HYOu4yI5qo4LlOQFYOWtsldlguXeVI4dXAtGPaXO sdSUwO9qKjYD47nUp/21ad52W627XEk/e53y0zIII32VOQwxNw4SVBmNPNOYrnOr9Nk2 1rPqyFZO3K+bzoPEEiQOfo+vg0ylABbDX3EsebC+Ma4sHUGgeXuY0luNAjdDJygH9jAB 79BzSWAb9wYe+i4a+dB02k2FEYQtZUsuz6rMt4lxGA6a0on6lEQfWsqhmer+nxIMXjvb mGTg== 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:in-reply-to :references; bh=yPUD4F4jhx7/mi0KaztxcsCPAij+5GRCYLwubP4M4n0=; b=ewZUm4DArdwl+oV9ZZAgBgVE1Un9Lp2rjXyjQw5au/IzF7YXTMinm+duLSHkm3CoBE nRr6qXVZx7++NvQ/DBTa59xPDVnlxf9Bm5XNV+a4pqe46VUgyDVdE1VvEDKnUPfnHsqa Q7poV033rNu801vChcTW+TSZ6pBoymIIzdqiW7jZJOB4OkKIc4TOVH+AHCwKfEquAxnN qKycKzMAg5d7YVDV7TTeK3ddWLGi4sPKGinHqggzTGyie6+lwPDeJswAk7UJ5NzhyjvS DZ+HzliPyJu1g+5K5O0uHLOop7+dlT/uuwX9fVODOSeSFXksjmsBJNith+UNJYkekM6M 6HhQ== X-Gm-Message-State: AGi0Puahgk/mM5sKvgW0eR29M8a0ldfBCTQvMQ6TfQyW9jzpT3ZVBWZl 8e2rmkZxc0xONmhK8NPyigTX46DrJZngcwKTr/GV12l1f7oi X-Received: by 2002:a5d:474b:: with SMTP id o11mr3505217wrs.4.1585835492767; Thu, 02 Apr 2020 06:51:32 -0700 (PDT) Received: from mail.besancon.parkeon.com ([185.149.63.251]) by smtp-relay.gmail.com with ESMTPS id c9sm95411wrd.85.2020.04.02.06.51.32 (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 02 Apr 2020 06:51:32 -0700 (PDT) X-Relaying-Domain: flowbird.group Received: from [172.16.12.10] (port=55896 helo=PC12445-BES.dynamic.besancon.parkeon.com) by mail.besancon.parkeon.com with esmtp (Exim 4.71) (envelope-from ) id 1jK0Fo-0001KP-Dh; Thu, 02 Apr 2020 15:51:32 +0200 From: Martin Fuzzey To: Fugang Duan , Rob Herring , Shawn Guo , "David S. Miller" Cc: netdev@vger.kernel.org, Fabio Estevam , linux-kernel@vger.kernel.org, Sascha Hauer , NXP Linux Team , devicetree@vger.kernel.org, Andrew Lunn Subject: [PATCH v3 2/4] ARM: dts: imx6: Use gpc for FEC interrupt controller to fix wake on LAN. Date: Thu, 2 Apr 2020 15:51:28 +0200 Message-Id: <1585835490-3813-3-git-send-email-martin.fuzzey@flowbird.group> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1585835490-3813-1-git-send-email-martin.fuzzey@flowbird.group> References: <1585835490-3813-1-git-send-email-martin.fuzzey@flowbird.group> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In order to wake from suspend by ethernet magic packets the GPC must be used as intc does not have wakeup functionality. But the FEC DT node currently uses interrupt-extended, specificying intc, thus breaking WoL. This problem is probably fallout from the stacked domain conversion as intc used to chain to GPC. So replace "interrupts-extended" by "interrupts" to use the default parent which is GPC. Fixes: b923ff6af0d5 ("ARM: imx6: convert GPC to stacked domains") Signed-off-by: Martin Fuzzey --- arch/arm/boot/dts/imx6qdl.dtsi | 5 ++--- arch/arm/boot/dts/imx6qp.dtsi | 1 - 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/imx6qdl.dtsi b/arch/arm/boot/dts/imx6qdl.dtsi index e6b4b85..bc488df 100644 --- a/arch/arm/boot/dts/imx6qdl.dtsi +++ b/arch/arm/boot/dts/imx6qdl.dtsi @@ -1039,9 +1039,8 @@ compatible = "fsl,imx6q-fec"; reg = <0x02188000 0x4000>; interrupt-names = "int0", "pps"; - interrupts-extended = - <&intc 0 118 IRQ_TYPE_LEVEL_HIGH>, - <&intc 0 119 IRQ_TYPE_LEVEL_HIGH>; + interrupts = <0 118 IRQ_TYPE_LEVEL_HIGH>, + <0 119 IRQ_TYPE_LEVEL_HIGH>; clocks = <&clks IMX6QDL_CLK_ENET>, <&clks IMX6QDL_CLK_ENET>, <&clks IMX6QDL_CLK_ENET_REF>; diff --git a/arch/arm/boot/dts/imx6qp.dtsi b/arch/arm/boot/dts/imx6qp.dtsi index 5f51f8e..d91f92f 100644 --- a/arch/arm/boot/dts/imx6qp.dtsi +++ b/arch/arm/boot/dts/imx6qp.dtsi @@ -77,7 +77,6 @@ }; &fec { - /delete-property/interrupts-extended; interrupts = <0 118 IRQ_TYPE_LEVEL_HIGH>, <0 119 IRQ_TYPE_LEVEL_HIGH>; }; -- 1.9.1