Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp872639ybb; Wed, 25 Mar 2020 11:13:20 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtCtJkmyPmzzuuLIw2SYuDrA9IGwh/qbLCgkCDSoZdPVmWQDiWBs0J1DdVZNyrSjeZccljE X-Received: by 2002:a05:6830:1e55:: with SMTP id e21mr3595158otj.233.1585160000071; Wed, 25 Mar 2020 11:13:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585160000; cv=none; d=google.com; s=arc-20160816; b=ofnaXiRpS4ZgTzvKX05LkZH8hIKYvvTQCK2mfzfzq6GhoBQNFg30e8MweK+0yIBrDr YODNaDH66xHlk/PAsncU/7RUohRbjbCvEUoozeJAV8eC7D4IpsFyLPvAEIcR4D8C03+a cDNGcaEn6sqK0tn/vQbSodQMQ3eyvjw9/PuTb5vvopxXl9zKCX4coNeRjaes+3RcEhVD OYZ7ALsfEGlVoPGFbZJRW7Ay8ohgAMYDbmlxOllBn04IPcLJ8FAne8Kk7jfo+EkUr73U sTsuMLjlKobhlinXkyCTOyvfBfQcMO7m5OdM24iO44AfMol5l9PJEtqpo+A+x+Mj9uyH JBPw== 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=G61Qe3eJT571EH7x7IhXUIxwlPNKKyhXnXe4ITy6VDY=; b=rVyMex10n2ncEpwmriTScNJUgXBqTNw6sn8quVKmUpTmDzhxobdjPPFx9NguAHNlCA x3UfvhJoIgNG/OvWuLedRX8DBzpZSRgAKauKW9V0lwgxDLVJXjLLOM1Sl+NU+t89356v 8hn3hEUju4xyFDlofuQNhn8QvfuCdzIPIftEMVB8GWRgsgnelixaQkqcy6LCiGDTqVQG c5oWU+2v4H51/KuPSEc2Ud5YXp6ZMpFnks+r8BqkymweApjR0YbaXjsxr9Qu3mLE1ulh raxltpzQs/ugA4iY3hMrfsyX4F1e445qdFJtHEFKeJNESS902VuKxhvHX1K4xj7FAahP DxJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@flowbird.group header.s=google header.b=BJCpQeb6; 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 p19si130213oic.39.2020.03.25.11.13.07; Wed, 25 Mar 2020 11:13:20 -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=BJCpQeb6; 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 S1727464AbgCYSMC (ORCPT + 99 others); Wed, 25 Mar 2020 14:12:02 -0400 Received: from mail-wr1-f98.google.com ([209.85.221.98]:41309 "EHLO mail-wr1-f98.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726820AbgCYSMC (ORCPT ); Wed, 25 Mar 2020 14:12:02 -0400 Received: by mail-wr1-f98.google.com with SMTP id h9so4385341wrc.8 for ; Wed, 25 Mar 2020 11:12:00 -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=G61Qe3eJT571EH7x7IhXUIxwlPNKKyhXnXe4ITy6VDY=; b=BJCpQeb64ilhKkblw6FOV5x7rvqyn9D/mptuh8QHSv4LCHx1h22tsz8VRicfOKIuy7 35s2PDgmhbScymVqGByxQVrsHLJq/j6RIv3ZN9aU4o0WZb7B6SFqEnxXJps5QZDa976P 813Xnt5LQ4xFA7gvgY4LSfSUV6/LS+lHY+tOwPFPM2xZp0NhZXgbyz+l3iI0cfUDGn1Q fZwzLwf2H3HWMhqX9GaeOm9oUOvEcbXom84OCu1QYjvKjkEEjdXMfLIZE0Rcnget399+ imRnWfc8rguyBYzRG8WqYpl66nH71FdYg0QK2vD6lUzCa+uLIujmj9ArAoelFtMcH4jE N4KQ== 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=G61Qe3eJT571EH7x7IhXUIxwlPNKKyhXnXe4ITy6VDY=; b=knkK9sBwyScNO8l5jcPNHw2ZMpZkfsN8D2eF/7fDzaVQYXNkQRwzMN47cEHmeENbs5 bfafehrNiw762x6x5XvA384ipz+iPVvSJ+oCXLun4g+kCGDZy3Vn6uO1hcTy0yj31GHc qDeU12jAlfDI2azGaCUIlee8g3t5Qxgm8WkKZZuswu7g7xOaenzsQHKHmq2F/eENjr9n MaF4x6Ln+ATqb15+QkhAO12RzxyQNw0MLYTCk0tlUAN9zc9V4QmBr2MXteNPfFnYYnkC PC9s5jEoWKP8MGQhw7+wqNjAvitG9Q9AcYKVFZTNPYqMQbOcAB0pqkCF9DBt5KlhbJKc OevA== X-Gm-Message-State: ANhLgQ2/OrflXDOyASrYzLUmzP2jchPRV9a8tzbFJjFHKkMrNVtCE7Cf rzFO2G8DN9RPjXvcaK+KhZTIw05TkTEaOoaQoW2EwKEGJfYg X-Received: by 2002:a05:6000:114f:: with SMTP id d15mr4897008wrx.143.1585159919696; Wed, 25 Mar 2020 11:11:59 -0700 (PDT) Received: from mail.besancon.parkeon.com ([185.149.63.251]) by smtp-relay.gmail.com with ESMTPS id e16sm328483wrs.81.2020.03.25.11.11.59 (version=TLS1 cipher=AES128-SHA bits=128/128); Wed, 25 Mar 2020 11:11:59 -0700 (PDT) X-Relaying-Domain: flowbird.group Received: from [172.16.13.190] (port=39524 helo=PC12445-BES.dynamic.besancon.parkeon.com) by mail.besancon.parkeon.com with esmtp (Exim 4.71) (envelope-from ) id 1jHAVT-0003Oy-7a; Wed, 25 Mar 2020 19:11:59 +0100 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 v2 2/4] ARM: dts: imx6: Use gpc for FEC interrupt controller to fix wake on LAN. Date: Wed, 25 Mar 2020 19:11:57 +0100 Message-Id: <1585159919-11491-3-git-send-email-martin.fuzzey@flowbird.group> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1585159919-11491-1-git-send-email-martin.fuzzey@flowbird.group> References: <1585159919-11491-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 ++--- 1 file changed, 2 insertions(+), 3 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>; -- 1.9.1