From patchwork Thu Aug 5 07:46:13 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joakim Zhang X-Patchwork-Id: 12420541 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 50A31C4338F for ; Thu, 5 Aug 2021 07:49:21 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1584B60E52 for ; Thu, 5 Aug 2021 07:49:21 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 1584B60E52 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=1o+yHyie+MDbhC1ZnDZrcviEcl0oJMgogc9nJ5eTlZg=; b=zv4TCqMB5Mk+qG BtJNP+fex6nb6fxP+mdLKFVrVOI07SNsOUNRTX/kiJcBeKYxh2JUgp7xnr8SVqIF6tnw1qCoeU7sk bdVS0f0pfE0tIwAhfaYHqj5Ins5qw61z285lR723J/yKIGeHHa1XroRH43Qh+Y9xXEX7sYnkg19p3 yE+gItV9GAFzRrgZfy9u2RAXB+8KhM6jh3KD4OffVse7MxrbNNesturI4exMe3md3hwaN968jlA24 KkSNADcPgq0Bs1emy74nrE9iYwPD3vOMsPX852T1h3uk02HlCwVYJV6cgkK2OXN6/P/VHiMyoxtzo KnlEAnsmmb6lqsQ9rozA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mBY5x-008SQ6-EW; Thu, 05 Aug 2021 07:47:13 +0000 Received: from mail-eopbgr60070.outbound.protection.outlook.com ([40.107.6.70] helo=EUR04-DB3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mBY5k-008SNz-92 for linux-arm-kernel@lists.infradead.org; Thu, 05 Aug 2021 07:47:01 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=b1Uv/wKZiVnrQb8yuY9I3ST97g/1jrK8MqLpzN6yZV8NPd+zPf0SUxRqFMhz+WFSwrzSf5g81TWy9qPVZYs0iTgUcCIwwfC+/xBp/vw1ARwFK7UplpgqyVCdFZDDbydFHUYAXIAuL1/g8Kcnqqu+Gw0flcNydJXFMgR6qii7yLNpkEKbYa0Jrb7gsS/JQuLZHXo2flHTMeaYYnD+Gc5jDNI+290om4yZ+Vs1P1j/Ko+pvSkkGDnvPkioRiKX+lZZauVdtij5B/UjHcLQXbQrPiSyDdWyIRyt1Lj49jrzNUKSEf4qsrZld7ZlMDH/k8DmwjgT7gITQTTzGnwaDZURaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=94/rPIxYakmkHosteDT6UJDv7X2qvg0g/UrvKsAgtDY=; b=MfCCEoeSS39GEfZdoULrJrg+LjyVauSLbXr7NhWAG97K5L4q9fYzUXfTz/jpPctUHMs7PP5SNpI2JQE/3Jy+IGoB0fWzcAzuL/eWp4bBkXniAwZ26/nqJ0Q13dqHX+EKucpnHcYGDdtWb6f5JCqUFCCtyAstwdHM/gxmxR9vvxvVGKuWdwj4zuoevKXXs6uBVkqSJP11RUOgUiROJBXmk4+gbLeQri3Qb4AUMqlKlb+RKN5Ojii1H8DG+pSZcbdYhsLU7cnQ4dqrXDqaULSN80mZwgJGvUxmw6jclVIPrndmrcs44DlHAFNTbPFypROlOd3RuXONehIJcNDU1VfeNw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=94/rPIxYakmkHosteDT6UJDv7X2qvg0g/UrvKsAgtDY=; b=iccgSdtNzUswBtISukk3ZtP8Q9IcVJGLXzhHwn1Zp0gxMLe/9hExYh1P0kh2QIaFr/AYrDh/iBSmr8eGrW5TllaEOf0Wd5KQwkIJD+JAncsVGoreKctA1L+lmm2wpXu1yKjKUzvhZAxzDhfuGg9Zs+VsiXt4OMeQETFBXENec4M= Authentication-Results: davemloft.net; dkim=none (message not signed) header.d=none;davemloft.net; dmarc=none action=none header.from=nxp.com; Received: from DB8PR04MB6795.eurprd04.prod.outlook.com (2603:10a6:10:fa::15) by DBBPR04MB6249.eurprd04.prod.outlook.com (2603:10a6:10:c6::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4394.15; Thu, 5 Aug 2021 07:46:57 +0000 Received: from DB8PR04MB6795.eurprd04.prod.outlook.com ([fe80::9c70:fd2f:f676:4802]) by DB8PR04MB6795.eurprd04.prod.outlook.com ([fe80::9c70:fd2f:f676:4802%9]) with mapi id 15.20.4373.026; Thu, 5 Aug 2021 07:46:57 +0000 From: Joakim Zhang To: davem@davemloft.net, kuba@kernel.org, robh+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, festevam@gmail.com, andrew@lunn.ch Cc: kernel@pengutronix.de, linux-imx@nxp.com, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH net-next 1/3] dt-bindings: net: fsl, fec: add "fsl, wakeup-irq" property Date: Thu, 5 Aug 2021 15:46:13 +0800 Message-Id: <20210805074615.29096-2-qiangqing.zhang@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210805074615.29096-1-qiangqing.zhang@nxp.com> References: <20210805074615.29096-1-qiangqing.zhang@nxp.com> X-ClientProxiedBy: SG2P153CA0009.APCP153.PROD.OUTLOOK.COM (2603:1096::19) To DB8PR04MB6795.eurprd04.prod.outlook.com (2603:10a6:10:fa::15) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (119.31.174.71) by SG2P153CA0009.APCP153.PROD.OUTLOOK.COM (2603:1096::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4415.1 via Frontend Transport; Thu, 5 Aug 2021 07:46:53 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: dc675987-5d6f-4a78-b806-08d957e53355 X-MS-TrafficTypeDiagnostic: DBBPR04MB6249: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:4714; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: AgJBLcWl8PKrUbv+bz/ZTE/bmXwzakpWsMrbTIsJv/RGIvf72TDPFptNBEJa4NRN4WQmRV23qQ0tUkVPlhg9z5MAkfnmqY/DKGrMZsiZuNpCNzxfUAG3medScmx7ai7ymchUEeAyQ4PMhao8tQAmF3rAyBwoMi3nPftgLIGOX/Ba/SABXNMZTKiXn5VqfnBczFaNEIHtcobbExkSMRXM3rn5+GV4IRJlfb059FhvRqiO6gys1GO+B24GppWUlZdgJye1h0PZwJgfCslG9u6Ai8M3OQBpkseIsbMsv7UecthdFs72C9aLkQhYbuyEiEDYmp26iU2aY/kcUUNMR6o/K+qtWc2hQ2PSGNIzJBgPc9JwYfPOl+OVLOmfRDhPJI1bo/G9xiwwGqhaZeymYoDNLPaEIZyO9P6X450Ol/TnqZQBa2wK0e9D+v8lEkDN7B3pP526MJxZktoxUjRIklBwEtBx3zNVCJmKriv0Sy2CgH6nCX0aiGGOvTkEf2SJcFMsST9Wifd8qcnnSpfsW1OxZcJ7P6A8T8wWym2rNOE+2lNDZqqi/M0TAc4DC3BKkUUdzFSXx3b0gen0nA6suzWHVcgU0zRuxVpe+AzDfiB3HcKbmhPVf0iVU/JWHgG7zK8sJTzFm+TDs9qFxZFhgOP+ljgdLT+YpbGHsrfhPLfsYqb9/6q+AEg8ynJoHeesaBILNjuxRDEXgqi3tbSaHtgF/Q== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB8PR04MB6795.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(346002)(366004)(396003)(136003)(39860400002)(2906002)(83380400001)(186003)(66476007)(956004)(316002)(7416002)(2616005)(66946007)(66556008)(6486002)(86362001)(6512007)(1076003)(4744005)(6506007)(52116002)(4326008)(8676002)(8936002)(26005)(38350700002)(478600001)(6666004)(5660300002)(38100700002)(36756003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: o4ywZVAHRyPZGXQ3ohratY7gOpm7spA5w+prDjdlzDgO3tn9JCvhJ3uRQsvEugyhitPqDhcrIZyGeRvpyIzeJa/auS0t/pOgOoJY/fEEJFyTM0Fge97w57XYg4u1kUErE9PYGr3PwA2MegEwnlppm9vLokxhglhBIMTq+30EQk6Gax/QGJkNjbRMSx06G9feyiaIdcVpnvCwAWBOqBU4otyLKnc2TnbjYYCMZHhwFOZaNWjlFIiWB4iTzk1Ps/8T+bFKH1aadF0R/FoRAjzFWWwH2czrPD2hvgfUQQMqgmbcpJxr0XEwO/JghpJUHv+5xV+uv42LIazhAIjwl3Xo3GZF1KJa5BKQOvTHqoaNbDccOj0s67t24QNUCTgQJ9qRaC+hkbedGVHaTfgl2vHLrWfYk8b9dNsE70MdRjUUIJrOvy76LiR2tv5XAu0FPeXvnaYKckYeHX3piiXVhm2eKr0jCMY6JmjgWJ0Q28mvIU+bvd60+LD0Vv3p3mvE5GXtqhIoaU3asKkB1xFdymhXD8XSFbLP3DRBSmBJUtU/4bMonoYtt5zg4A6AqlgZr+E7FB1/akg18tuC0E2q+6yQeNoyERl+CcBSd6U+DP98NN4UxuJ+hQQDafAMeXdPOshcPOHYrZ5G5bkNP9ogNmiILgSj6FcwRHJd2T6QCYVNk2t86euWZXNGYcMC+FUuBp5bd7yEGTZabmcRu4zHecr8I8xfO1eelDR8RO9HHi0Rh6X/N4sPfICK21oxcRI2Pf3hL9OfQwlQK/safolMH2nBJIP2Gn4EdwHIa/4JSf5yjuExanGlNy4w5TnHXu14zq4lS+kuxHEnZXtN09UJixEgtpZF4Cq7rCnXWe/c2UEY8xLhyg2hmK05OkYGG3qodKwosacfXwBU+pXrbwzhLcB7JG1XGKfhMSX3ypGrqUuC/WBAxA/ReufFvyyIZCat3G32/J4XRgIU04T8KqU+tkx7R4MgvYvjVNstf+KiNrWMKC8ChDnuRsOABY83vye0F9Cj2nAWs3AN5aYNE6XrlouQWhmksSLJD1blPp/KgxGMp4OsUKN0ecZRdbymCPkXg+jdIQebFh2rXtCgodkWZ8Vkmumfi8seqitCnYxf1byY4kk00sAk7Pszxih+hoRyvIu9bfua3FHiR8FBGUSZVuipLaDQ7NPxbK37JIG3Ux6cBzSmL6zXufpRTL2uIvmQOXG/u81Hi1g4Vp7eIk4ET9qcANG+wxAvVtBt+3gGoxmp/kjs8An/QZAd2qXHBDGSCeJgvBlgGUWy7IpCPIbOiDel2pmV5m781zYez35t7Bd8cpmIcyOtg3v06Y4O/vECo4mh X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: dc675987-5d6f-4a78-b806-08d957e53355 X-MS-Exchange-CrossTenant-AuthSource: DB8PR04MB6795.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Aug 2021 07:46:57.3135 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: d4kBmdKFZasQNiPfjMSHXhxXWXZaAYF0uGE4wFZAbLTlKW2khUEsDBMH9Rcgw0X278J+ESEwNVD/eUlskGk+ng== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB6249 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210805_004700_384768_AB9477C4 X-CRM114-Status: UNSURE ( 8.94 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add "fsl,wakeup-irq" property for FEC controller to select wakeup irq source. Signed-off-by: Fugang Duan Signed-off-by: Joakim Zhang --- Documentation/devicetree/bindings/net/fsl,fec.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/net/fsl,fec.yaml b/Documentation/devicetree/bindings/net/fsl,fec.yaml index eca41443fcce..d83f2103c1e6 100644 --- a/Documentation/devicetree/bindings/net/fsl,fec.yaml +++ b/Documentation/devicetree/bindings/net/fsl,fec.yaml @@ -164,6 +164,13 @@ properties: req_gpr is the gpr register offset for ENET stop request. req_bit is the gpr bit offset for ENET stop request. + fsl,wakeup-irq: + $ref: /schemas/types.yaml#/definitions/uint32 + description: + The property defines the wakeup irq index in enet irq source, the default + value is 0 if not specified. + enum: [0, 1, 2, 3] + mdio: type: object description: From patchwork Thu Aug 5 07:46:14 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joakim Zhang X-Patchwork-Id: 12420543 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CF330C4338F for ; Thu, 5 Aug 2021 07:49:32 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 944646105A for ; Thu, 5 Aug 2021 07:49:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 944646105A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=KON3E0Vz3vsBAURlvDK7F/RnbizOPEsL2OJqWt16JQ8=; b=sbW5GTaSCej287 IvCNaUg32ckUMQkPexn/JUnREbNo+D9MdDZIJ1IY0vG7q6hdt9ULl9az0CYExDTHqYH+Tti0hVEuR wfKWLAqkp8JeqRPD6Z/qR8ODYtLGvjRFAqYNhJhPvZl1RPF3J44sA58CyOyuMX2v7Plcy2NQ7wpms yT31w3a8bZJ1lw77OyUOLeXKl9saH7peWk0yEr4XDRYJnSQOmxvifDd/UyBjR2HwKh23VbAko4nEb rkw0JKrp48ZpGLGXWxGNxYSzrWjD0rC2b3AJNTJ0/19/Tv3yUiz7eTes0L2631+L1qZksRWTrUgoS Y+u+Qg1U5XjZR6QXyoQA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mBY6A-008SS3-7b; Thu, 05 Aug 2021 07:47:26 +0000 Received: from mail-eopbgr60088.outbound.protection.outlook.com ([40.107.6.88] helo=EUR04-DB3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mBY5o-008SOn-LF for linux-arm-kernel@lists.infradead.org; Thu, 05 Aug 2021 07:47:06 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QYWjV+FtmBNG+yvCNetKr9IF8rd4sUrI9dbKXvm9b53YN813YIN4XxF65HwqSJ91bjHld/oY6FrRRE+aoM5ieN6P0fL+b0TXPXZvbaLkHlKxnLBTVuaR7NIepR1eo/fHgM6MHFBG/u1TmlLFNzfsrEiPH/7iQlstfJ4/iMse2xtbwgMEk53zO5GIyoou8F8o7Rbm11PzsleiBf8jLTOQ6WC9U9jQQLQjZiQY+wpArYKRSzYz0SWEINeeCmPAlW4ddveDuu933c0zlcz3ot1WPOcP0kTYsEOOngmwuuy9nXpPfRa4tz66wY3NPdaE8WxC9hMCfNmZV2v13lZOAzvYtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+3LBZz64V8Naet+pT0+Bv01e8DPE3/aTQaiv7S8JHlk=; b=MgUr5lmeXe++eL7j3ro4vOPLzvHYAp/z1P3Vo7+i2NhyJmRxFUH/91Ik0I2clgfHfQlvb/1dRfjn4YElYiw+Fx/9svtSkKsa3jQLR92hoY57Z82dvBpnpShmmF6A5aFSVV8HJuLWaw0Uz+4S8nGmkswfZEA/IskEzzYwXdtGMQyt0xjRHKSUy0Y1zh4xlZ3iDvzslrIvTY63Px32bIziETTtTbwmBJ71eV1lHzlTiLaAE7E79J+U764Wctl1g3HlRzvw4jnnIQZ0RqI1B10aoJrbRJYdv2F56tiMJNTZAgesyeCDsBP3Hhh1AwRmqIiP+g9U6/oyvv8hcFcvuCrcjw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+3LBZz64V8Naet+pT0+Bv01e8DPE3/aTQaiv7S8JHlk=; b=gvE/bxMbl2j0Cx20tUlbmGUmK17pmDP50Iy0A6y4ssl3HBT+qkrVGKx+IFbVOrOkZSYu2+zE2pSFIDxNCI05yds6eZaU+7sEJG14Y/DU8zTu8LuyriBIwp/kzSc/pIO7bjDdpejXpE9DGMPVC8nDs5MW9p3AcGHju5BCuZfAlpw= Authentication-Results: davemloft.net; dkim=none (message not signed) header.d=none;davemloft.net; dmarc=none action=none header.from=nxp.com; Received: from DB8PR04MB6795.eurprd04.prod.outlook.com (2603:10a6:10:fa::15) by DBBPR04MB6249.eurprd04.prod.outlook.com (2603:10a6:10:c6::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4394.15; Thu, 5 Aug 2021 07:47:01 +0000 Received: from DB8PR04MB6795.eurprd04.prod.outlook.com ([fe80::9c70:fd2f:f676:4802]) by DB8PR04MB6795.eurprd04.prod.outlook.com ([fe80::9c70:fd2f:f676:4802%9]) with mapi id 15.20.4373.026; Thu, 5 Aug 2021 07:47:01 +0000 From: Joakim Zhang To: davem@davemloft.net, kuba@kernel.org, robh+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, festevam@gmail.com, andrew@lunn.ch Cc: kernel@pengutronix.de, linux-imx@nxp.com, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH net-next 2/3] net: fec: add support to select wakeup irq source Date: Thu, 5 Aug 2021 15:46:14 +0800 Message-Id: <20210805074615.29096-3-qiangqing.zhang@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210805074615.29096-1-qiangqing.zhang@nxp.com> References: <20210805074615.29096-1-qiangqing.zhang@nxp.com> X-ClientProxiedBy: SG2P153CA0009.APCP153.PROD.OUTLOOK.COM (2603:1096::19) To DB8PR04MB6795.eurprd04.prod.outlook.com (2603:10a6:10:fa::15) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (119.31.174.71) by SG2P153CA0009.APCP153.PROD.OUTLOOK.COM (2603:1096::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4415.1 via Frontend Transport; Thu, 5 Aug 2021 07:46:57 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 15dc6f66-f72d-43a8-7ce8-08d957e5360f X-MS-TrafficTypeDiagnostic: DBBPR04MB6249: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:327; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: MGvuHsdAPC3nj9RM0mJuxybQiKoYB2mu64wBepiWTGQXaXXLBJwPHqLKTTS2pFzkrxEVisWb7YOeVAKFWd24hvSQBhuFoGP/z3OagVQ9tWQuePCpJAzhig5Fko+m7lhi3WglH8XSxvufVMmfD4SOjjTI101ee3ky7mhUekREwb25yElavUTBk+vU53idEksQtTGuocscdZcSQQDme89T2BF/3Sm7hCq8W7UknGDYqepYkkaFWjDOvy/YArq2U2kuGbZLOj3l0B4G1m74B3IcV6F/F19+zAUQgv9/1M6Wla7vGPS2Vbe8+Uc9kXYA5niqeeOD3m4JKythEtiapVo5Cus+AUI0hUu/oLIvIauTzptwDKCjZ4+X8zkfv2qlGhfNW/7XBT39+0GQnv2inWcaxza4hOLihWa7rMlLUlD9EU+QYA4b9cmaZklAJi9cdIMHN/X3x63Rcuu8GbvzucZLI6m0OBnShoQNgdyF+U7hhtF/Hs0thPmkrMwbol9SxWtNjc46OjT+MNQi673hKnN/WbDtX7Gtn7eQmU7o3cQtIczEPkcl4a/5xRJFYEYLZIEKaMRRgNquueDsG4mJ7GIaiosDs2lxxPVYglKQr/wWrs+DYpopGXYtEaenOlfAD6TtrfH5oT3BimjSVEjtGkHnhvem4/SuvGUgaiNBai5P0d0Ag48TXjWDT1JcK/POjUhy0FVr8Zt+3f84dJroLPRAyg== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB8PR04MB6795.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(346002)(366004)(396003)(136003)(39860400002)(2906002)(83380400001)(186003)(66476007)(956004)(316002)(7416002)(2616005)(66946007)(66556008)(6486002)(86362001)(6512007)(1076003)(6506007)(52116002)(4326008)(8676002)(8936002)(26005)(38350700002)(478600001)(6666004)(5660300002)(38100700002)(36756003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: MJ8CJUW+hB3Fj71uFU6za8DzeWb2hYXvu/Act/n7hzu/TLOPrFqf5zQGy1bOLQiPaM7pDYkBTx4X326kq2V1/bI6KD4wjaAhxhlDjGIwxnr9yvpKNKTqMvBdYhkPgmTwk8G0TbpUZcFJdkZnWB4/SmqcOkGnDPSv42Zpql8y+OLPjzOUqbpgN+vs46zim7X1XSkNTcjP8TUyVrHF4ZqYeKRyZGoIEsUaE9ZgM1AoVaXoOGt7PXq6Xdm9lNoLYM3kvd2Lo+DH0bcva8+S4+zcNAzqrFPaO3zzWDxDo/VP7wLp8bqSbdRYtlMBywp1SGiXtPCkPNQrdVWzTGD5TIpoUl31lmz8y3y0RGmQqGOPnRjjUYRmsSWHtXDbMZODw63xvCYGZDQUTrNwR8Jj2uXgktMlC29SoQvpfAJj50TMRoOyIcDqT4gZRJy6Rve5z70IOitp2xRsozHYfJD+7w/RpUwgLp4Jsa55Qfeky1rhBfphiocvjSWQSl6NlTd4Xswwiq4qBLVkC60mVgOpbQ6CYv78uOCqB2oyMpJh6xhYKOtEvBnJJJ0mXedRYlqBQsle4Wlmf05UP0w1KjuDZU108d3AyaoZ3BLKND1hScz4DApO+ueHRkQq6gXFwZLjHYrc5g7HtQ4LFBtHMa+gCpkpbEyiDy8lvfJnqAVpYDmMQoWlRW5zOdNmitmxPIS7aI8DiXFW0tKZODiLsCJ37qBw/A/ivtVG7tziJym0wPoIMprGy6xbNECts/DVC3xYBXKTF4a9Cu6wA4fNu2+Fu/pnACPnTZfx1BYF86oOAvXXT8gWHenS+rrlKEr5caJznDfjnpcoXmd6qDVfz9mk+3RYRGkHHG+2fFuL6A3iV2xa2KRYKk6F06qEc8pnehpwSekHa88bcIX9ZwsIZWS5Pf4bNIrT1EdJw6Wt0HepFJZ284TUWR0wBzEp0bobS45noHkicDKvTO9nneOgBJVYR0dtj0Eqxh45Jfuw9L312qTTN4HRZOqWQn1rPPjyMDBeqE6HNzDm6yGXKf7RpV9JFFWLjuY9TNTxhI5fb0i45NyU4WEAsiC6IpYL/tjA+nkyhOTmNG+ZPOvrMrciecVHY3o9L9w5R5lLGvafC8bSNVVG1TwCB1Ocwg3TAJ8l55p4Dl+AtZm2Es0iBIsuq7GMItLy7el7ebcjh+R93NL/0fbVy0A3UF5ej41x144vpokCdbiw7p+YtvjotKbAsjCYCxW2X/UZNdCvSEgrzp0snPJZpeMYLPrE/2223R8hZoOhagWRXFPVax8Dtx5j1DTzAk8zyV5E77IyFwclioa82D63+PabyKJLB8xTHGygNU2/CcWr X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 15dc6f66-f72d-43a8-7ce8-08d957e5360f X-MS-Exchange-CrossTenant-AuthSource: DB8PR04MB6795.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Aug 2021 07:47:01.7848 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: hpxFkhxyj1pZbW4d87qtTcxxGdTGW0/aIshrQ/etciW4FULDUKl6ucUzd0+5Z75vizdp3qECI1Js6b5JEjR0SQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB6249 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210805_004704_752255_1E554BA5 X-CRM114-Status: GOOD ( 13.27 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The FEC driver default treats irq[0] as wakeup source, but this situation changed on i.MX8M SoCs, this patch adds support to select wakeup irq source with "fsl,wakeup-irq" property. Signed-off-by: Fugang Duan Signed-off-by: Joakim Zhang --- drivers/net/ethernet/freescale/fec.h | 1 + drivers/net/ethernet/freescale/fec_main.c | 15 +++++++++++---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/drivers/net/ethernet/freescale/fec.h b/drivers/net/ethernet/freescale/fec.h index ae3259164395..fe4dfe2d25ea 100644 --- a/drivers/net/ethernet/freescale/fec.h +++ b/drivers/net/ethernet/freescale/fec.h @@ -578,6 +578,7 @@ struct fec_enet_private { bool bufdesc_ex; int pause_flag; int wol_flag; + int wake_irq; u32 quirks; struct napi_struct napi; diff --git a/drivers/net/ethernet/freescale/fec_main.c b/drivers/net/ethernet/freescale/fec_main.c index 1201c13afa6f..c422a309d33c 100644 --- a/drivers/net/ethernet/freescale/fec_main.c +++ b/drivers/net/ethernet/freescale/fec_main.c @@ -2878,12 +2878,12 @@ fec_enet_set_wol(struct net_device *ndev, struct ethtool_wolinfo *wol) device_set_wakeup_enable(&ndev->dev, wol->wolopts & WAKE_MAGIC); if (device_may_wakeup(&ndev->dev)) { fep->wol_flag |= FEC_WOL_FLAG_ENABLE; - if (fep->irq[0] > 0) - enable_irq_wake(fep->irq[0]); + if (fep->wake_irq > 0) + enable_irq_wake(fep->wake_irq); } else { fep->wol_flag &= (~FEC_WOL_FLAG_ENABLE); - if (fep->irq[0] > 0) - disable_irq_wake(fep->irq[0]); + if (fep->wake_irq > 0) + disable_irq_wake(fep->wake_irq); } return 0; @@ -3935,6 +3935,13 @@ fec_probe(struct platform_device *pdev) fep->irq[i] = irq; } + /* Get wakeup irq */ + ret = of_property_read_u32(np, "fsl,wakeup-irq", &irq); + if (!ret && irq >= 0 && irq < irq_cnt) + fep->wake_irq = fep->irq[irq]; + else + fep->wake_irq = fep->irq[0]; + ret = fec_enet_mii_init(pdev); if (ret) goto failed_mii_init; From patchwork Thu Aug 5 07:46:15 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joakim Zhang X-Patchwork-Id: 12420545 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CC069C4338F for ; Thu, 5 Aug 2021 07:49:40 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 908FB60E52 for ; Thu, 5 Aug 2021 07:49:40 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 908FB60E52 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=yBVpwBJOgrKuPwzHLHDL/YiLxTcOK+PNtdxCbCfJM68=; b=Qu8Y3PJtKtlLdn XV1/x7U9y7pSYAlxZlecZMlvv6ZyYCulF0HednyGl7LZnA9s3Qg9TNKVQXYd1rLHt3hyatJXiOGIH IsqSQTAuilfKV1Jru434r16rvuejVjZ1v39ccfk6SiJ4Kc5y5lF2EesFrBuI62qMdtxdxFkHRcqiO 7SQ/n7slNbDrFq69e45+Eg2IobbUgfvXlPKqtaJR7mZR6V40hrK3Eqxmyt0tZnCUYrMrjCWI3oGTS Qa3lh2eJeewJwCmudGgYbvWL9t3c9IIiUjVLKYJlBiKLvz5cALJGhyizmg0OxSXLQGeQy4dER5g3T XOdiV5/q4WS5yBtnUqrg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mBY6M-008SVF-Oy; Thu, 05 Aug 2021 07:47:39 +0000 Received: from mail-eopbgr60048.outbound.protection.outlook.com ([40.107.6.48] helo=EUR04-DB3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mBY5s-008SPO-S7 for linux-arm-kernel@lists.infradead.org; Thu, 05 Aug 2021 07:47:10 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kT8ODbzBpNSmei6Yv5WZM392oK7gWJhcUEpzoa2xLr+GCsvHq32VWEmv7tj/f/4emgsDYNY8Vj8gtipqXgmDZ0EFUsFmYONIV3xDirePJeKvzaEPR9meT7THkIBGY9v9khSFJiC7ogoB6HDfush9YyVd+vh9x0dcSMrrnYg3QYVVJxkSIpNrbvxWtbnwUqZpr4LKzz0+RTtqQpL+HUX3xOVTM0Wem4cED91FjVOdfe0uujajP+rjqD1mYITK3QF+j6leDA6zrEhFL/OMI7C7gsbd85he8+Wy/REiTzHR8wVJX9yEuzSEkynflVZypiz6wg5LxMGOnAttKiC6dHAJDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=KMEOBtzgBPiftScxPqR+pMPKOyNWfphfWGh5oHXNSYc=; b=PzXZ14BjUf7cMWDH++rqOUFC43eaiCTjIlX8MszPPnoqztvvUsxrOsPiwYM3PWCSywnzLeyTTr/PYAXy3pNxCu6zoCauThsEn4NhU5k01CkkJT2R6PFWVhZ76HyaCexBNh2HxmvqvVDqOPeqG2EcbcUkCjaK7yu36H+iNuzlijCsjtNbCV7Oxl6hUIefeV84bpgWJzWFXZA9flsnPYRZQwDDpUEWvOAh8/91o1wykcIF9g+XuDYmzwg4CGIVwj2wxo0JbBlK2ODeJfSuI0QhYdQLMM06sH1Qz3VjAEhlmyfEzCKYhxBGlzEWAFq7Zg6fhWAsqguCTVSL7Ze2wm/IZQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=KMEOBtzgBPiftScxPqR+pMPKOyNWfphfWGh5oHXNSYc=; b=nlBSpTe80jlscdtjog0TkEff7KAxk5dRnyczNAfHRNcRtAAQ1VN+z6eQLnOMWzhZsSVRXXxKcgX4Fzku+KG/4liOFLV0cHFc50J5qqBxJMgydlPGsxS79AKTmExTPWhlwMDDXqGGSWAzMYHin/Y9fXHLX1T9AgcACZ93HVOjoBA= Authentication-Results: davemloft.net; dkim=none (message not signed) header.d=none;davemloft.net; dmarc=none action=none header.from=nxp.com; Received: from DB8PR04MB6795.eurprd04.prod.outlook.com (2603:10a6:10:fa::15) by DBBPR04MB6249.eurprd04.prod.outlook.com (2603:10a6:10:c6::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4394.15; Thu, 5 Aug 2021 07:47:06 +0000 Received: from DB8PR04MB6795.eurprd04.prod.outlook.com ([fe80::9c70:fd2f:f676:4802]) by DB8PR04MB6795.eurprd04.prod.outlook.com ([fe80::9c70:fd2f:f676:4802%9]) with mapi id 15.20.4373.026; Thu, 5 Aug 2021 07:47:06 +0000 From: Joakim Zhang To: davem@davemloft.net, kuba@kernel.org, robh+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, festevam@gmail.com, andrew@lunn.ch Cc: kernel@pengutronix.de, linux-imx@nxp.com, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH net-next 3/3] arm64: dts: imx8m: add "fsl, wakeup-irq" property for FEC Date: Thu, 5 Aug 2021 15:46:15 +0800 Message-Id: <20210805074615.29096-4-qiangqing.zhang@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210805074615.29096-1-qiangqing.zhang@nxp.com> References: <20210805074615.29096-1-qiangqing.zhang@nxp.com> X-ClientProxiedBy: SG2P153CA0009.APCP153.PROD.OUTLOOK.COM (2603:1096::19) To DB8PR04MB6795.eurprd04.prod.outlook.com (2603:10a6:10:fa::15) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (119.31.174.71) by SG2P153CA0009.APCP153.PROD.OUTLOOK.COM (2603:1096::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4415.1 via Frontend Transport; Thu, 5 Aug 2021 07:47:02 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 85d4fb59-3b2b-4e4e-28ff-08d957e5388e X-MS-TrafficTypeDiagnostic: DBBPR04MB6249: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:989; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: xDjLflYHYG0n7X5KLe165fNrRR7Sx+yPWuTi8NcBigU5Xhp0Ag6aYpu3gopDxHn7wU4TR8oRoMRoaXnCGhWJcgY9udipVLi5i/n6rdLZ36aqFyqBWi7vx4PKue7DBYy7I4rikJk4vvqsIst2/J1e7SLsvyc6NVZyo/DZskEsEoB/qmJQVlM+Icv9NyMp4smrffdXZ7ybTlDvxief5jE6rFYNunWphUTCENz5slQUvZ85piCeQf7bj4xOCIA6LwR/sXbibPDmmhFpy2l4ma/OXWrJttJ1MyPEdt1PsCEBB2XqZ9I77Tduzhw1rH48gFBzvYtjrk2wTDE0X2sS91wNCfE5dSd8AKmXe5MsXd+2nULv4I3R1kguIXV5YoS4wIdwSWjxQRs8jZYr8Gzpr/IUcC7Z2cl1KI6dz71sY3atUvTtCgpP5qTo/pm74/AnFxNFpD1l0NQl8GZNWfuyTmfrfyZiNjKGzTlRw/AibXwsgPtXMie324R8Olrmk/fb1FNPy51QATK3dUlOOSNN1P92kPcPXHClvDoDtI/7dvYHjrGgMtcLaXNUHr8tcCZn23CLQrocS/LfOiceVTrFZKXx8UDhS3LM0R2gq3CBzVCbrjWsmXVh2SxtNHglbf0DiY9vKJw8L2v9n30/ge8X+stSvJcWa3kPkMfJKqZdr9WzUJg/JpaiNxlsKErDSEOKsxxJsoxdKouJqPROLfC+/a0sqIRGDCCU0Kl2pl8q4Cn9+Js= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB8PR04MB6795.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(346002)(366004)(396003)(136003)(39860400002)(2906002)(83380400001)(186003)(66476007)(956004)(316002)(7416002)(2616005)(66946007)(66556008)(6486002)(86362001)(6512007)(1076003)(6506007)(52116002)(4326008)(8676002)(8936002)(26005)(38350700002)(478600001)(6666004)(5660300002)(38100700002)(36756003)(32563001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: tpdOwUdZSyJbpeG6QUh2TutKtsD9rjnyIGCrj3h3uiURfLYNGFYwZwY0z2zKPhdzemSFJ3e/sng1o82GB59DZeKvAkic5epqVPRN9i5mUPX1ZMQ0GYk8hhPwbh4h0BXzLR1dk43ff1yx9EGgFzvfpm5xBU8/poZ2to6KBrPccdfHSQLce784HCv/pwpR+aADKjZk1Vos+J+ErLwLSa3F81eZAkQnuXxar/lWZ2+2n4VbFZzFaJC6X6x9Kd9tjJYWt1Puy5r67xcAu5MPG5hcweHUNclzGYOp+413OuJmSAJ8TfANdGwD+gNPiyUeSFRDuAm+TmTd9kMFkOFm98zm6XEteEsy0GGiQKGLL/+5yf4Mfm8XfScoaFGQygBKNYFWwhYFnQDgIONdwfxx4eOIV1f5/uO+F8NmtemGj0W+N5nRqMLA4cFAFKfuia+5E5ZhedZVUOjAgPHu+uvCXnSbvcd2pJj7F8NvDJHHx9JEc4uVZubohUHlX53n/BMsEOY5VdPzHGeq4/lr1EtgnUhAd7M2ytJ8KM+5F05XsYfcFWJ7aprHa+l1qetI2S6HEk/Xf2NfN6hSk5USNXCA25auiFic0+IQ1Xk1H1mOWbuIC58WRdrdU7bVirNyS7vuVFAB9aw0uQZ3wgdIHM80rpSxn3h+hvkjSGrOViEEmtBU0Kpc0FLU3YygTx8L7qpzWoRPMEd475gO3mCVdroAj773wP2auacM8vJx8PdDgqBiT4dN6OotNPibW0l9QBI9aJ09mFfTSBiVqdSQOMnJMjog6WCzAucjel2x8z5gNBrufM7tYwwSlq+MoNky45ojRi73ZvcPdWjPMP/ow3TcYK7ZMbCnvqwnfPNeHCWbK4gpLbfiOh8h2c6KT4pNRukqR7LA1XnO2Ee7jAFqZqPb1JZIC52sqYpriZ1trypObovj/t5egKtFC3xAUMuoRT/VQj8LVxUAU+6Nqz64UFQJa6GehqmlbFlAHr274Ehr7crKwWXASZx86oMzX1aRPD2XWIR8Ew4GwenBa3TwZCsCVceSGuIYQkiZT4td9cyg4+V/aKyIXD71OztswBzfBS6iAKy0pEeD0gauwfy08S3vR+kt4WJZFzr30EgLpsSlVkqciLV3sBIfVOhrupDLJDzMe0FQDuRuOYjbCbMrcpAJzVNHFfwUAAVecJxovpIc/HYo2gG66RYoGbpTsAdVllxVebJ2T0LqKVk1KfIzVgP5Gy7YVRJis5Y5X4gYvE21jsDzOcyiWV1EmtPykVfv+J23W4y+dxNIkA3Yx+T+3jofymGaHE15RmIPjVwpPZUTKJT6n0iuc7HL4cbzrLYagkH0ia6S X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 85d4fb59-3b2b-4e4e-28ff-08d957e5388e X-MS-Exchange-CrossTenant-AuthSource: DB8PR04MB6795.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Aug 2021 07:47:06.0590 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: ln7SucEl+Os8RQo0RltoJMjm5WVDLaIZEUcKZ2u56jrianDd+4WBcVm8LnjvWzwA+maQk8JXOU/M4hs71MV5zw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB6249 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210805_004708_960084_8F4B41E2 X-CRM114-Status: UNSURE ( 9.68 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add "fsl,wakeup-irq" property for FEC to provide wakeup irq source. Signed-off-by: Fugang Duan Signed-off-by: Joakim Zhang --- arch/arm64/boot/dts/freescale/imx8mm.dtsi | 1 + arch/arm64/boot/dts/freescale/imx8mn.dtsi | 1 + arch/arm64/boot/dts/freescale/imx8mp.dtsi | 1 + arch/arm64/boot/dts/freescale/imx8mq.dtsi | 1 + 4 files changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mm.dtsi b/arch/arm64/boot/dts/freescale/imx8mm.dtsi index 1608a48495b6..11aac9209944 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm.dtsi @@ -948,6 +948,7 @@ nvmem-cell-names = "mac-address"; nvmem_macaddr_swap; fsl,stop-mode = <&gpr 0x10 3>; + fsl,wakeup-irq = <2>; status = "disabled"; }; diff --git a/arch/arm64/boot/dts/freescale/imx8mn.dtsi b/arch/arm64/boot/dts/freescale/imx8mn.dtsi index e6de293865b0..2c921ba519dd 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mn.dtsi @@ -951,6 +951,7 @@ nvmem-cell-names = "mac-address"; nvmem_macaddr_swap; fsl,stop-mode = <&gpr 0x10 3>; + fsl,wakeup-irq = <2>; status = "disabled"; }; diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi index f4eaab3ecf03..ce4efe0a9bca 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi @@ -814,6 +814,7 @@ nvmem-cells = <ð_mac1>; nvmem-cell-names = "mac-address"; fsl,stop-mode = <&gpr 0x10 3>; + fsl,wakeup-irq = <2>; nvmem_macaddr_swap; status = "disabled"; }; diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi index 91df9c5350ae..d7b68630098b 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi @@ -1191,6 +1191,7 @@ nvmem-cell-names = "mac-address"; nvmem_macaddr_swap; fsl,stop-mode = <&iomuxc_gpr 0x10 3>; + fsl,wakeup-irq = <2>; status = "disabled"; }; };