From patchwork Thu Aug 5 07:46:12 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joakim Zhang X-Patchwork-Id: 12420539 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=-12.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,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 DE3B0C4338F for ; Thu, 5 Aug 2021 07:49:14 +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 9F5E06104F for ; Thu, 5 Aug 2021 07:49:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 9F5E06104F 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: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:In-Reply-To:References: List-Owner; bh=CGwiS6dZOv15u+eaN0y9FmUb/oDCw4WY9evDuTARh04=; b=trFvN2uyZOsXH6 +jmBOKwFytTEt5fLPRHp2qDL/eEOC58Iewq5s3q7+FJeXEi/A1Lh745HVcugJtPOoBuvL/kPpeoSB q1HkOzvcHjwTtPV2BD/D/64+LXCZTNBGUrgjhi2e3HCfemxNi512wzk9sxPuBJ/VTLq2KI/iFVHis h969TaEiIAOJf9rbCxDc5fUD0r8JBPzrbli1rVuoC7R4KRdBwjPIhsNFpxBl2eLr+NlbX3zu0LnXB Z5dW/ofvFtwb2DQezQ9qMNy4Qpz6b2QCy1KQxzMvgOJlflKoaes0V/qYplX01VM1IzXgH6Q1L7hDe 1yACc1iJdVGVhHeynfgQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mBY5m-008SOY-IY; Thu, 05 Aug 2021 07:47:02 +0000 Received: from mail-eopbgr40058.outbound.protection.outlook.com ([40.107.4.58] helo=EUR03-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mBY5i-008SMw-JM for linux-arm-kernel@lists.infradead.org; Thu, 05 Aug 2021 07:47:00 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XB7Gn3EAzN5Xpw0PUG4qHqOUW8ResBT4JhyRcWx+oz6+Y55s0PsVBNcbrYUhM1qQmj41sgPGrLhV8wlY/IFzbncCkSjt3JoxeFZYCVUAVviqFioh5ALDE3gJ5KTa7AMbL8sB9YQNvwc3zQZhjtZGxqptmn+b2pCJAky0croF0lxz5q+QB2tyiy7AMJiKgzQQ4wmz5xsQAzTMz6vNOSoJkwds+QWyRJXJrOuhm4SE7YcyYEkXmUd9MtU4u2AM+2DRVW1ynQgip72Dew0WNCC/OOx6Kcww6kNlFF22OMxb73C1ANXhHrRSZVfA2WR/T2uuc/zHMqc3Mv0DCTEm9F8DQQ== 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=YOLhfUpLm9QKAbVckaXDD0KgF51c9h+e0iF39hMvMXc=; b=b4PuKFonAEjmPY1i4/RmNMDStYT5UU3fuyfHqgpOyVrFdLEWcTACoqNO75icZNagNtW/P/vuML5RWL5ADPTgCwinI4FLYXVlYMF86YvJpKpJuvWjhpQpbBHhBqMU6uoYfI9By7oPY1xcwmyUjyGwuDDDq1Dnlq2ury3uBowH7zg7XCFQSC2H1R8h3sIPxJFOIDvpEUi+U1R0/aVVyCJI/TvNObSU9Wi6lQWg+UamM0Jj97KDBWMS8dVaH7S0k9aa7tgn1CvBCjZ08A08oafKugrlT8zw/j1t9i4xoGSN+B114pfUW/H+aVFJK73SblBozSbV5ou7NBmQzt6mTKtgGA== 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=YOLhfUpLm9QKAbVckaXDD0KgF51c9h+e0iF39hMvMXc=; b=QJVEq83Fq+yZKY0RKhJ7yprqH0OGpGkMiCC4BnqrhsUKIxmRjv54LH/PuYnCq1gwtDd3+QEiSzA6jLnBLPPN6b0FKppDiMIm3N8uqd6YNydoe9ZtbXogGeNixKx5f5A2TB0Xr3jPK4NAfDvjqfKV8jTEGyiU8C/Hlg4lMa32jWg= 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 DB9PR04MB8378.eurprd04.prod.outlook.com (2603:10a6:10:25f::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.21; Thu, 5 Aug 2021 07:46:53 +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:53 +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 0/3] net: fec: add support to select wakeup irq source Date: Thu, 5 Aug 2021 15:46:12 +0800 Message-Id: <20210805074615.29096-1-qiangqing.zhang@nxp.com> X-Mailer: git-send-email 2.17.1 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:49 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 4fb68550-d4cd-4b31-ddbd-08d957e530c0 X-MS-TrafficTypeDiagnostic: DB9PR04MB8378: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:3383; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: iJXmaKQKZyXzVrsv85/mXlEjX3DOt4LGjiMjVkycMPHPB/M4//l1IZsAd1vjxGAUvHtwthmmhUmxkwWsNbcBGnvr5ObbvvQQMP48W8t6OSJwudV/csCO+AMhYewu21NFCCi5V3K/IZWLPBti3FlfQ7lvNZ7oVcnIVzws5XBh8expgKXZKU0CDozcmz8PKL95gUCMVj1192xYR7L2vvqRsF9zoPWPtKB6P94ZIJCV9B6kt9e42qmJrqyxItSje47zLty2lfSnON+loYQZx35rlPp8DuEQrSFH6iYDfHex34RCyl7Q81SBejnnmnixhAs0/VZZCT5QY0YV5r1NUVno6GIK7Jiu83Z56Zt+FVzEysF2TlZI21t2JD4mTNk3CRs35N9AT8QYcilHFBG8CrJWg6dGrpghMSzw0Tfn1J8a44mrosdNcSSrnQwnIhx3+vaOChPU9vy7zzY4xQIxZe8OLLolmntTax/dw6vEHtJlJ1z3HgIkQQOx/1MTlzCnYaHm8gOknVTZCSVKnWZTaBZPktfL13gEww1+uzF4X4+BdV9KAMfY1N51ZOZwnYYYDhCivDZvFh573AqI7vvVDYV9ONVvH9PNBMhaAhnTxgaJG61SKtBaeHw5td8B9f42XorAnVtzGBpQQnwFRCS2a3mq4RVd12uBxvy3SZp3VUjJUGw4vmVlflCg+/cNCPB0ZZGOZKL/ga9DYILJ04j3C5GjsA== 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)(39860400002)(376002)(346002)(366004)(136003)(396003)(4326008)(38350700002)(38100700002)(8936002)(26005)(956004)(8676002)(6486002)(186003)(2616005)(6506007)(6512007)(4744005)(316002)(52116002)(7416002)(66556008)(36756003)(66476007)(1076003)(2906002)(66946007)(6666004)(478600001)(83380400001)(86362001)(5660300002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-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GK38G6dGd6G0gwd3aeEjnQHBmOeVNVbvdckydCK3vIo8DSeVeEj/BELvPveniOqy9KXH4NRtIt2oS2f9Fk+CM45uXQ0zmSgva08WyXkRcDju9oOVEoUQ4nghMu/ix7AZvOL3bNNi3iJymNlYiJqzfxd594YCxxfbUFAuZBMUT0m1zQyfETMtk0xT1VFqIg/JZlmuoZOOeCEZIeEh0O4j2+/sG01f6DW0XfVSr4IKRg0yJ0ypn8rmLa3tTeQgUmh/JmTWb+F5+kyy/b2H9fiP7HjVvmIbypK+QJzy4x10i X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4fb68550-d4cd-4b31-ddbd-08d957e530c0 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:53.0412 (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: +5AP1Vb8plrmAUZryY9n28Xw8kmGr1BQsg3jqKKFBj4XUtOnpog6OLBL2OZKIgMMuizf9uIhpA8pk8bb7x9i9Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR04MB8378 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210805_004658_750595_1274EE0C X-CRM114-Status: UNSURE ( 6.70 ) 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 This patch set intends to add support to select wakeup irq source. Joakim Zhang (3): dt-bindings: net: fsl,fec: add "fsl,wakeup-irq" property net: fec: add support to select wakeup irq source arm64: dts: imx8m: add "fsl,wakeup-irq" property for FEC .../devicetree/bindings/net/fsl,fec.yaml | 7 +++++++ 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 + drivers/net/ethernet/freescale/fec.h | 1 + drivers/net/ethernet/freescale/fec_main.c | 15 +++++++++++---- 7 files changed, 23 insertions(+), 4 deletions(-)