From patchwork Mon Jul 19 07:18:19 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joakim Zhang X-Patchwork-Id: 12384835 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=-18.2 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,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 DA3EAC12002 for ; Mon, 19 Jul 2021 07:21:28 +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 AF0C761019 for ; Mon, 19 Jul 2021 07:21:28 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AF0C761019 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@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=mW/8nD7qHY0BDtgMEpy7LhjS6qu+ah9Ead76NwiQ/SA=; b=XwAyks0ScBS+CP iYtueH1BA/6sHCoktcaGhkG4QYc8OZzIW6d3hZ1mAEKornKkoi2ce5OXFFl6jN/X53bTV0PmdlyNh Cp3ntXlwWRP1pWhe8ET67JxR5vrg/l6fKjio7m9YqqTV9Q0AnZGhjl4b+MhYjbDdfFhOTJ0vdqG1p bwJSBgPc04vCU1F3uIwETPdhujv7MyO61xY9nT2KbMYQYalx2MBuDO9uOmm9D6fDnmEs/E9QTQqOT q3EMDMRiFoLHipKh+vaHwEqeHmubLjZ31XxHOBPxQayBZz9GXMbeD8wBpoK0uLE1OJA38d/VTXkac ruF6MuF/BMiw2+OqwJkA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m5NYH-008Zvx-Hl; Mon, 19 Jul 2021 07:18:57 +0000 Received: from mail-eopbgr130048.outbound.protection.outlook.com ([40.107.13.48] helo=EUR01-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m5NY2-008Zrc-6a for linux-arm-kernel@lists.infradead.org; Mon, 19 Jul 2021 07:18:43 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VP1DygM3KvTYCjCklrJO4aQei9WtoLO+BA01sytYs5buSOiOrS9FZgxHo20nWf2d2sMcX2fFxbhh4XVdpsE57W/A7U6jrj8Y5HO2J4PrelraxFj+j9e5iYqYeHOv6Z4YJMEiNZymSsW6z1tbG9udMY+zFQFu2MNemMG4JKvGEnseBPMAjBqifAcCPLVpiz3Agtw6w5k1bTQ5NjOHsLW6shwKwUYBs9AxoZZuERILaIo40WSEF3XhQDg5R0ZnKEWGDmjFom2VE9QyTb15zmkJ7T9Xoj536iYRyAWbxRAmLzTsq4R0UzdWY+cL3az4BaMpAPOg/cGC6+wb+prV7tIqfA== 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=wvNj4Xx03q9YCNHPmJRFxAAcK6DGYny5K5jd0lrCMuQ=; b=N5iGirXdk45r8JZJAOxBRzUxhd3wn/kfnqclwo+nwv4AE97B/pF+qL8g8o8BTboWkpdajdMv7aUrgH5Ly/9pkS6WRTG8z4EwfXllVujD+IVQ/GMwfViNAIrTH6QPo9vPTARQf+TN7dc/iNVlJQBzqAuevF++p2/rkyA4vNCd38bkrqPutK/TBDnM08h7yvFuNCV9jZyVJxcfqP0HSrqSHsZJvImzMQ30WbFRQ3y5HjubMUDMpcGwtAOKpBy4/Q2E3TWrV29f+RiaBwVmLqX3553iM2FKRSR2UvY60sRrg6lqnSMPSIIlPmEBnjsIRE56veZueynrc212Jd3U3DIMtA== 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=wvNj4Xx03q9YCNHPmJRFxAAcK6DGYny5K5jd0lrCMuQ=; b=T5uyDqGjJ1dmYBSOt/wPhuFuVZ09AITlkdK1tiva/R0P+kenAJ66CXCATkujnBGWDHcfSMapwYoYCES88ItOO3Et+XxjT0DmIW3Qi+lHvbqYpqQL0QOtF84PFY2XnwtWqUadaF7s7MTSd6BJTGu4qM1mBf4mD1QZoDeaeH8Rv1k= 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 DB8PR04MB7100.eurprd04.prod.outlook.com (2603:10a6:10:127::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4331.21; Mon, 19 Jul 2021 07:18:39 +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.4331.032; Mon, 19 Jul 2021 07:18:39 +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 Cc: kernel@pengutronix.de, linux-imx@nxp.com, peppe.cavallaro@st.com, joabreu@synopsys.com, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH net-next V1 1/3] dt-bindings: net: snps, dwmac: add missing DWMAC IP version Date: Mon, 19 Jul 2021 15:18:19 +0800 Message-Id: <20210719071821.31583-2-qiangqing.zhang@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210719071821.31583-1-qiangqing.zhang@nxp.com> References: <20210719071821.31583-1-qiangqing.zhang@nxp.com> X-ClientProxiedBy: SG2PR02CA0067.apcprd02.prod.outlook.com (2603:1096:4:54::31) 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 SG2PR02CA0067.apcprd02.prod.outlook.com (2603:1096:4:54::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4331.22 via Frontend Transport; Mon, 19 Jul 2021 07:18:35 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 12061142-28d1-4526-0d95-08d94a856e32 X-MS-TrafficTypeDiagnostic: DB8PR04MB7100: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1284; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: MWWkqQuj8rB/aI7VzIqfW3hMdLYIcoqywT5mkrkbfdH2m24lU7Pl2QDORrO1Kwk5DtKX0c3wQhLBg/EwQ3u40NmAN70RqGiwT61ba7Nj7KPAM8B7URH4T1yf1fWH5aKmYNwZpYZWPPJIlmnzniq1LMNG0ZCsKOOv22naU+vCqNxNzdPXjWHFjLNWiwGp+Cv7lY4dJNfEWRQqlYwYRE9G0QHHLQNj+yqDRjBad0/Yk3rFwXpMA9FFsaW3jF4K8O/6ZgS20kdX8gi6aQ5mOAzuXN4qTyozmCQk0zIFXiiCrcNwRG7D7XDovuTGhKlLY+VVfeOJ7ij0fZi8lWwgUOooxtaXQQR+l/YLHWWi74JIMLjHGxqxndsRTsGnZmVHPd0P4dzYtXIPHhYlFLx3a/PKxcXEvyiXDzsHFjAOH7LQC8SjdueOdKF5PsblNhIaUPFK52bZ/dPrBORpuyfvCzpYX6BJtFuiKSUtNi9sIZFrqU7bsX5SqpUq8YcRPKhpEH3zYd7xPcnIlJUCapxurKGJNVc+lZBVTbfnDG723Gd3ovQfFuWg9szh+diVcBj27M89Qs4qHAtpgtf80Jg2kg+OS4+LPM0ZF2zx6fLiJcFeyFqk6kmGRQVuiOG1PE3Htx3jGxT07wjxzUlOf54cL7xWj+raStKrHeuYWWWgvNRCWvUmVLfdBQ0zkMO1J/ovX3NLtrBIKRO0CBHl2ybyVKLU4w== 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)(366004)(316002)(52116002)(1076003)(5660300002)(956004)(2616005)(6512007)(4326008)(7416002)(66476007)(38350700002)(38100700002)(6666004)(26005)(8676002)(66556008)(8936002)(36756003)(6486002)(66946007)(508600001)(186003)(2906002)(86362001)(6506007); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Z3rVtg0jkdztScCOKjKn1pCdOhfrWRuz/fjN6GsjkEFetL8kKxsT221V8jI/hDqlwylzJVPn2ou6lWLC7TWxEz4PPATDDxRhwFceG7tdPsiaX2b04JONbRA42Sd/VWRrhcSa7T81GIplMtYRsmhiZbxkzm6z/YZfjXlWz5B5uH5eSQY+3c3fHTdzkbJwcD8/CVQBWh+HhieOiifn0Kq70ekz5qP62RSDjPXkEn0NcNNyUftUZFCo4EoCIjZ6+HxykjucT+rktFsTDVb0yiEGjTHLpDnH64HxaeXpZ7lqe/ta9u38rLXBBDqgvPqV04mWBN30ua3vk+mB9hRQAn1we+l3pruY41FiS1hNd9e+6ASFCxomN8bXJCGeZaRvGgH4FYPauqqRoohE48C03vhiynu8cdCOcBCwgFlqT9+Re/HLWwwMVx1VB2G8nv3zR3oJiBfwN13HJNzxsxXMDLRGqQn1VJLHg3n3tlL+sUp7EdgUUkl5SlRdvfwqrI2I07HpK7huiQkrfTeMq5YK5gSJ1WJ3Sw4p9fXbi0aE/v87fsyQPoDV9YHtv3R3zXzQ0A0L2U+4d/METZBFt4WuEY+n4CpChA2arSKjIbl8T+BMwYDNuFMYEsOcLWLL1eVdwmbemRJRPevOrZKcWf5fyCOMgVjeAFdJWWc3r0gTn5L9hT6O8xWXp98e5tm7YEEOKHnDVY4blK7AxSPL8KK76Zd8+0tivWsQF8sqyzqTNBCXSYIYr2zji8Qau3JLzRZ79uaDb1lugEpX/tme1qGR+fryEJ47pKaAmlaYJRnIWb9Is7ZNlqCCdEXKaouwtPk2A8yhP5ES21bN37/DZxVk0GMBIlhoySzZZKRO5FU/GjGzWptWWo3RprYqx1gNan7s8AaoP7Eo6Lm0k6iZCuB3IISnFiEwPsDffWKRXwLIxsGLUVlTpImox7h8goLgxNShrC25qVjwanqpjUORrqYN9yDWCYj7zPMP6IM5psgdZsBnY2RAF5jTpayqpXKFG1VDVgT3o7KOh9TyXGLCGAnRKqYpzw0Cs3q7H1rLqWr8Zgq9orVXMw0fGuSBAp+YQcJFCvgfbJA6Hw6IG1yJUO9wwWQOaUBTF82q3lseeMKJ35ghHvyRNqEOF4IEBImVflXXTIojfxltHHhFY6UuQn+7gVOrzsZfLj48eQINsLn2GJ5xsjg8ayQBEqhSHDYRRoGzw/SP2iqEKQ6i2qQN5wT5FVD81RxCgHvKtAgSMC42iXHXDF5hbxGCiSd9IraGFy0puoNI2jWIYa3XABE2kf7AyqaIxanDj7CAFf1HbbZLfX908y4mtE7yBIiBlKfNT9CKVAR+ X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 12061142-28d1-4526-0d95-08d94a856e32 X-MS-Exchange-CrossTenant-AuthSource: DB8PR04MB6795.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jul 2021 07:18:39.1128 (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: CHMsJQBsoXDLa6tVAzFeNES8+lkMto4Q03enXHRHcEZSqEcDf4jLn5qblaT6Bw2v3OnGIJM7flmOG3VHxS2Rjw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB7100 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210719_001842_263325_DB479F45 X-CRM114-Status: UNSURE ( 8.65 ) 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 missing DWMAC IP version in snps,dwmac.yaml which found by below command, as NXP i.MX8 families support SNPS DWMAC 5.10a IP. $ make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- dt_binding_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/net/nxp,dwmac-imx.yaml Documentation/devicetree/bindings/net/nxp,dwmac-imx.example.dt.yaml: ethernet@30bf0000: compatible: None of ['nxp,imx8mp-dwmac-eqos', 'snps,dwmac-5.10a'] are valid under the given schema Signed-off-by: Joakim Zhang --- Documentation/devicetree/bindings/net/snps,dwmac.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/net/snps,dwmac.yaml b/Documentation/devicetree/bindings/net/snps,dwmac.yaml index d7652596a09b..42689b7d03a2 100644 --- a/Documentation/devicetree/bindings/net/snps,dwmac.yaml +++ b/Documentation/devicetree/bindings/net/snps,dwmac.yaml @@ -28,6 +28,7 @@ select: - snps,dwmac-4.00 - snps,dwmac-4.10a - snps,dwmac-4.20a + - snps,dwmac-5.10a - snps,dwxgmac - snps,dwxgmac-2.10 @@ -82,6 +83,7 @@ properties: - snps,dwmac-4.00 - snps,dwmac-4.10a - snps,dwmac-4.20a + - snps,dwmac-5.10a - snps,dwxgmac - snps,dwxgmac-2.10 @@ -375,6 +377,7 @@ allOf: - snps,dwmac-4.00 - snps,dwmac-4.10a - snps,dwmac-4.20a + - snps,dwmac-5.10a - snps,dwxgmac - snps,dwxgmac-2.10 - st,spear600-gmac From patchwork Mon Jul 19 07:18:20 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joakim Zhang X-Patchwork-Id: 12384837 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=-18.2 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,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 C5790C636C9 for ; Mon, 19 Jul 2021 07:22:15 +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 90B9061019 for ; Mon, 19 Jul 2021 07:22:15 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 90B9061019 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@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=dqaZILSXYZKNd+0tgR4erZOGzgNEzCepXGJfOPj3n04=; b=gJhFd/GCEGF9mI UABmc+ieYde6dftNyALfKS6xC3m7A+ghSstlejmIpFrNVZ5RxYecgWYZvoCz0zHtS3MXRnuzroDqu Rzz9V4vt6uwFzRoy6Lnjcn4tofWQPgSFL53eUw2UzwPrOrH8pQ1+BoGDRncZQsC+PANNLnql6MBor 7vmuuBD5Z3HfMlFryJdXkFAttVTYpq4viDg6/CKkd8UC6TOg7Cu7D94jngab30S5KaF/o3JPF2Sh3 vl1kFysi+EM0SAxw9aREdLq4hmq9f5jzdXXStY9rErkY78v8a2KDqWASsVLH41fXvcnZgAYlrtQvm vecPGMl+iewkXCuDvodQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m5NYS-008Zxx-UM; Mon, 19 Jul 2021 07:19:09 +0000 Received: from mail-eopbgr140052.outbound.protection.outlook.com ([40.107.14.52] helo=EUR01-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m5NY9-008ZtB-4h for linux-arm-kernel@lists.infradead.org; Mon, 19 Jul 2021 07:18:51 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DQBd27A8SPARkTelmxevxsO+bJMFksD4lgEG3mJiPj53JmTcZpnzw7dR6WEEKyOkbrZGfskmepjMPFEgxhkW0j4KE9IynvycNbZAvLBim6AAShfA1NsGCnVBckjn328cnUgpLfEjt8xvB5nMeY991FTAWPMyH8RpU2+W7d5lqUgR0qAVJPDJzq9e3FBrYFw1h/ZvGCW8ZRi0Eb3h6DDrhhif3JDzMrtB0Bbz8ErcRWx+RN9rZlREAW9/oe+8OXvIDlmn8NXaphmEnFdQZ5ws+vTRdRdLncvIswCB/0Cep7l6DB4Zl79i4wjhxJiV+y37+Op46RL/8nKByP6cyfe+EA== 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=kDGZsKYY41VaFxHIidxc79mUrhrkJJ2Y8OH6oRHHYl8=; b=POEhtXab351F6oW02F3i31v7F4KNsY0E93o+rs+4OXhwHw29SVS7JGPPUKFz3f0Fk7pfTrciyEimkf3Qjvl3L0ol+rzHd/0+bwWbAR0D3EUuunv1XnF9Eqsxu65nWV+VZw7AJYwzJOkS/3qYQ24bL+fGis9LgezaeCgGN6I8MKTE3FB3m5k3QJackBtbqDe59xbZtGlk7hHD9U4tpx5cuTDP19i3tERG5nhUJVrVNLU7TRdySIL+yRKhxEMtvjisSLBABlBeNq1TDQ9E0JwmIt2/fKi4T6ZYOBAojBrrGvpW6LzRHZNw8oYqC5dIqzdzQ7rXA0VAft79H3f+sYDJhA== 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=kDGZsKYY41VaFxHIidxc79mUrhrkJJ2Y8OH6oRHHYl8=; b=srJBqtqB1ZyxksvzUN/QjsOk+zzm2LlzanWEHMGlo6HBZlVO6mrd1xHh3Pglu4jEu5c7Awzp3+csMwOb8Zag0iizcpqM3t0GhZJ8JoHzG5x1SpG6NTNr63TCSLUMJeGP2Nid2vod99U0DOwklTcxwjrKGErPJG0v3apjPN+GWSU= 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 DB8PR04MB7100.eurprd04.prod.outlook.com (2603:10a6:10:127::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4331.21; Mon, 19 Jul 2021 07:18:43 +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.4331.032; Mon, 19 Jul 2021 07:18:43 +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 Cc: kernel@pengutronix.de, linux-imx@nxp.com, peppe.cavallaro@st.com, joabreu@synopsys.com, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH net-next V1 2/3] dt-bindings: net: imx-dwmac: convert imx-dwmac bindings to yaml Date: Mon, 19 Jul 2021 15:18:20 +0800 Message-Id: <20210719071821.31583-3-qiangqing.zhang@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210719071821.31583-1-qiangqing.zhang@nxp.com> References: <20210719071821.31583-1-qiangqing.zhang@nxp.com> X-ClientProxiedBy: SG2PR02CA0067.apcprd02.prod.outlook.com (2603:1096:4:54::31) 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 SG2PR02CA0067.apcprd02.prod.outlook.com (2603:1096:4:54::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4331.22 via Frontend Transport; Mon, 19 Jul 2021 07:18:39 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 0b4aec4c-8bc8-421d-2f59-08d94a8570d5 X-MS-TrafficTypeDiagnostic: DB8PR04MB7100: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:7691; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: F5m6JTsNg19vpfWa3Wc6FBgb4o8AYv3q3qw0bpWQQizofc620b+5fDs0sJ64Q71dbJ1VxUSyLuWnQ2yMkwi3/OznUwSprdN/r/6ZsZZkaAhSQOD9drP5SIw1uKjs9bWOCuzTI9l2J2l4nwwJU4kfcpTITm9QoDVSLwnz0mznz8EEnfrS6pgjlMADzsjjPfNM+rHj2Nkuf497040a86xegh3//xT2Rhc/fRFho2EVkwYVxyArJEjPg4E7Q10Tv8YG7O3PspzZf4onINx656tshZn1d7cD2lXzVTk2oHsuV63TKcSNX8zYGYyfIq/ZuhYv/xnGmeEAU+jCMwCSBN/ESkY/+8llsNbNFZaH70W/7Pz0irWrOJsHuC7eu+Yw6g2unraiHW76ALfB77L+o6iAoTyamkylK15Vc3PSqKwP6toTZPmhci+/WChD3gk7XLTh+D78PkAdqCS+bjH7c1MxWsj+JFYeXy1D47gwly+Q9v1jhtqnwGs0PFJrGVmyAPiUhRCLZPikegqfYUAr/B9WO1XXq5zG0Z/KkzEbEcTd4O4Fth6U+ZZ7/rL1hQIaHE66NvU1grpbVCeLDWsPLkAErqVaF7zdyjD0oST/e0PWHhdLT+/5q5skDYOJWI5NkE5qwGh7ULWMvY3GHH8sBg5HKDzSswdIaWHVMrJ+4BatdgiFyen+BloLlpCJtUjpPpSXQaXJdoJVs6oj9cu0xEhQ64LHLJS1a6WrKFekRDpxlytycx0iD2am+mHXmGbhyhHdW48QfoQacYA6hPhDdXnstY3NnEdhbFiCn29z1xZ45JbiKgFW8XMXOJhcf+cwLHdJ0ByBNOQPGbXBZpBVWMgqVg== 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)(366004)(316002)(52116002)(1076003)(5660300002)(956004)(2616005)(6512007)(4326008)(7416002)(66476007)(38350700002)(38100700002)(6666004)(26005)(966005)(8676002)(66556008)(8936002)(36756003)(6486002)(66946007)(83380400001)(508600001)(186003)(2906002)(86362001)(6506007); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: NFuvlpJL9H+shnfvi79ya/HelZGBAq1TDjTbK/rmK7MwQdpAUtZ+3sfHfBm68dhj22itbHM97tmuRO7IC16u+wsVBpL3fyYiXd1AvPg3OzxyQWtapFTWzf+rsEwfhVeEAmPtZgVFeR1WAZQS30xW6g88eS63ndx+k8xyTv8qgDtK0hUx99gP8JzCYsIPVHIb4CnSRmeJ2iEE/GD8WL2LRKO80pJqka1lzKBnc/r57/PcKG01HwGzj/6frSJoaHCfrDQYTuIkZZbTLGJcwhJWgF+bbIr9rBaAKO1/4WwHdN6aC9UCvpsfcUkpwYMNx1haAOrxqlKc9GyajPg5byr68X3c8lcsAp4qEbhwTdTGC0WGc3KE3DNHnPpocyV1B4HKyCtCqdTIv73gNEgPea05mxwjyWHMWnuW2IqVWXpjH9B527+ZBbSmU1VfuPIH/fzP9X6dbTj9DFoVISp29kP0VSfjhxHo0YU1J343a4RJLaQqu0blikFno5JoEwCVSdqBAwdvYmltPesXLLUMXuszZDIap6Erp+/QzvRuSfh+EgjCMglF0wob572tkY2qLq9WL0Y6amkg7VVFHzajpRywFrwia3L76yfZbCMlvUikBEU3MDS0HhAi6/vgnqTa9u9W/TLUCmUkZPyO/TcAsBxo+wdjVOkYqfjtScTjPpUeR//AKKG9reREUoy9F7iLAs6msVzaScqYdaBECSIR/1cuw/og07dNaBtdrRIDWGTzf1Ax5vKFo0AgwS6gBgt7jK84Q8se/pS4z7kNzXaZi7yFAD5lAq6Vg+kqncspMSSbkBJKYRsab/+easy3DsdxbGkIRP95kWbvUHF+rdoVa0QeJVX/ASF4BQ+kn40zlsDlopw2CFRQqqqnFmTDVkG1jMd9e0z+cHneSRuhR3y7ktVqi3eerzWrWXTqamdjBZpFGNTjTRF4jMyyuflZ/6S5rPzsetC+1V+hvh9/Go9BAyjd9FquBOUeLeLVr4mT62gy2D+apdbt1iwoMOTstDTY3hLQYn7BycFhCby1Ymf0DA3ayTwU0Qcv8xYfwoPpcJdo9uieBzMGfigCtP3n6HylsKIAtsQpENSiCMsrhSlFIgIj+nY/OhK8D4IdOaX0ZZG+adfIKbyHR61DC41rSPpNgm3s9hrp230ISDkoU/5gflcomMDmw8JIhySRbmfc/f7usESoUpyxljzXNYdfNRG+QEaMualrvHZTib02TIKr7QbyNSPuL1DtMgyDIC4yS8+ojkWaX0fcI6JLpkaZ3DzLlWrpIwMW9ARLhnQpAe5danEIHnMY1zcfO5DOXZOv62zPqIRwKyrZdUKcHO5SOoIh1Nrt X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0b4aec4c-8bc8-421d-2f59-08d94a8570d5 X-MS-Exchange-CrossTenant-AuthSource: DB8PR04MB6795.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jul 2021 07:18:43.5762 (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: 0uIWhThKf4dwbMFS3qnFkSyEn3r93g9kOU1gbLIM+IQ2meXzo9/biReSvsQ2ismEaT7XHOGS94cM9omwX3JhNA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB7100 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210719_001849_247698_967286C4 X-CRM114-Status: GOOD ( 17.41 ) 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 In order to automate the verification of DT nodes covert imx-dwmac to nxp,dwmac-imx.yaml, and pass below checking. $ make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- dt_binding_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/net/nxp,dwmac-imx.yaml $ make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- dtbs_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/net/nxp,dwmac-imx.yaml Signed-off-by: Joakim Zhang --- .../devicetree/bindings/net/imx-dwmac.txt | 56 ----------- .../bindings/net/nxp,dwmac-imx.yaml | 93 +++++++++++++++++++ 2 files changed, 93 insertions(+), 56 deletions(-) delete mode 100644 Documentation/devicetree/bindings/net/imx-dwmac.txt create mode 100644 Documentation/devicetree/bindings/net/nxp,dwmac-imx.yaml diff --git a/Documentation/devicetree/bindings/net/imx-dwmac.txt b/Documentation/devicetree/bindings/net/imx-dwmac.txt deleted file mode 100644 index 921d522fe8d7..000000000000 --- a/Documentation/devicetree/bindings/net/imx-dwmac.txt +++ /dev/null @@ -1,56 +0,0 @@ -IMX8 glue layer controller, NXP imx8 families support Synopsys MAC 5.10a IP. - -This file documents platform glue layer for IMX. -Please see stmmac.txt for the other unchanged properties. - -The device node has following properties. - -Required properties: -- compatible: Should be "nxp,imx8mp-dwmac-eqos" to select glue layer - and "snps,dwmac-5.10a" to select IP version. -- clocks: Must contain a phandle for each entry in clock-names. -- clock-names: Should be "stmmaceth" for the host clock. - Should be "pclk" for the MAC apb clock. - Should be "ptp_ref" for the MAC timer clock. - Should be "tx" for the MAC RGMII TX clock: - Should be "mem" for EQOS MEM clock. - - "mem" clock is required for imx8dxl platform. - - "mem" clock is not required for imx8mp platform. -- interrupt-names: Should contain a list of interrupt names corresponding to - the interrupts in the interrupts property, if available. - Should be "macirq" for the main MAC IRQ - Should be "eth_wake_irq" for the IT which wake up system -- intf_mode: Should be phandle/offset pair. The phandle to the syscon node which - encompases the GPR register, and the offset of the GPR register. - - required for imx8mp platform. - - is optional for imx8dxl platform. - -Optional properties: -- intf_mode: is optional for imx8dxl platform. -- snps,rmii_refclk_ext: to select RMII reference clock from external. - -Example: - eqos: ethernet@30bf0000 { - compatible = "nxp,imx8mp-dwmac-eqos", "snps,dwmac-5.10a"; - reg = <0x30bf0000 0x10000>; - interrupts = , - ; - interrupt-names = "eth_wake_irq", "macirq"; - clocks = <&clk IMX8MP_CLK_ENET_QOS_ROOT>, - <&clk IMX8MP_CLK_QOS_ENET_ROOT>, - <&clk IMX8MP_CLK_ENET_QOS_TIMER>, - <&clk IMX8MP_CLK_ENET_QOS>; - clock-names = "stmmaceth", "pclk", "ptp_ref", "tx"; - assigned-clocks = <&clk IMX8MP_CLK_ENET_AXI>, - <&clk IMX8MP_CLK_ENET_QOS_TIMER>, - <&clk IMX8MP_CLK_ENET_QOS>; - assigned-clock-parents = <&clk IMX8MP_SYS_PLL1_266M>, - <&clk IMX8MP_SYS_PLL2_100M>, - <&clk IMX8MP_SYS_PLL2_125M>; - assigned-clock-rates = <0>, <100000000>, <125000000>; - nvmem-cells = <ð_mac0>; - nvmem-cell-names = "mac-address"; - nvmem_macaddr_swap; - intf_mode = <&gpr 0x4>; - status = "disabled"; - }; diff --git a/Documentation/devicetree/bindings/net/nxp,dwmac-imx.yaml b/Documentation/devicetree/bindings/net/nxp,dwmac-imx.yaml new file mode 100644 index 000000000000..5629b2e4ccf8 --- /dev/null +++ b/Documentation/devicetree/bindings/net/nxp,dwmac-imx.yaml @@ -0,0 +1,93 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/nxp,dwmac-imx.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NXP i.MX8 DWMAC glue layer Device Tree Bindings + +maintainers: + - Joakim Zhang + +# We need a select here so we don't match all nodes with 'snps,dwmac' +select: + properties: + compatible: + contains: + enum: + - nxp,imx8mp-dwmac-eqos + - nxp,imx8dxl-dwmac-eqos + required: + - compatible + +allOf: + - $ref: "snps,dwmac.yaml#" + +properties: + compatible: + oneOf: + - items: + - enum: + - nxp,imx8mp-dwmac-eqos + - nxp,imx8dxl-dwmac-eqos + - const: snps,dwmac-5.10a + + clocks: + minItems: 3 + maxItems: 5 + items: + - description: MAC host clock + - description: MAC apb clock + - description: MAC timer clock + - description: MAC RGMII TX clock + - description: EQOS MEM clock + + clock-names: + minItems: 3 + maxItems: 5 + contains: + enum: + - stmmaceth + - pclk + - ptp_ref + - tx + - mem + + intf_mode: + $ref: /schemas/types.yaml#/definitions/phandle-array + description: + Should be phandle/offset pair. The phandle to the syscon node which + encompases the GPR register, and the offset of the GPR register. + + snps,rmii_refclk_ext: + $ref: /schemas/types.yaml#/definitions/flag + description: + To select RMII reference clock from external. + +required: + - compatible + - clocks + - clock-names + +unevaluatedProperties: false + +examples: + - | + #include + #include + #include + + eqos: ethernet@30bf0000 { + compatible = "nxp,imx8mp-dwmac-eqos","snps,dwmac-5.10a"; + reg = <0x30bf0000 0x10000>; + interrupts = , + ; + interrupt-names = "macirq", "eth_wake_irq"; + clocks = <&clk IMX8MP_CLK_ENET_QOS_ROOT>, + <&clk IMX8MP_CLK_QOS_ENET_ROOT>, + <&clk IMX8MP_CLK_ENET_QOS_TIMER>, + <&clk IMX8MP_CLK_ENET_QOS>; + clock-names = "stmmaceth", "pclk", "ptp_ref", "tx"; + phy-mode = "rgmii"; + status = "disabled"; + }; From patchwork Mon Jul 19 07:18:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joakim Zhang X-Patchwork-Id: 12384839 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=-18.2 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,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 A66ADC636C9 for ; Mon, 19 Jul 2021 07:22:19 +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 7402F61019 for ; Mon, 19 Jul 2021 07:22:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7402F61019 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@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=AK0v5EHwrUQrH6ON0q+TGRnDtJHlX/lNVw3Y+uEFmzY=; b=POcn/AgF6rGeBs aJxt7Q0U8nCf6KLTNrQ4Ik52xRFEu3o2Kwlm5uPO+XYS8jAO/PMtjqfRcWyLIvTp1SVHkgNSgM+xr kc5uYGYwc4Y4cJyoukIkiBkuL8YJQRdsQRSLag0+MxQzJm2VEMeCOCkpTpQvozfMYGLqq/p2Mtwnw T0BVO3tAGnPjbo7xjM2LdQxmdtQrTEmf/TWvVFSwpg/Iuz33SxCuGuZbK+MrpDOpwfn/37Ebb51Lu FzQl+RpR8n0IdWhvP1PYhaR3sXmo06HDPd2QNH4S5T9olvZL9kBkUIXTDOjo3/fjYVOpmmu99NFvs 7ZDOBeKuK7ED1oa3RnqA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m5NYe-008a0H-Tp; Mon, 19 Jul 2021 07:19:21 +0000 Received: from mail-eopbgr140052.outbound.protection.outlook.com ([40.107.14.52] helo=EUR01-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m5NYB-008ZtB-Iy for linux-arm-kernel@lists.infradead.org; Mon, 19 Jul 2021 07:18:52 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kz7nDZEaUln11iOAhdmx5jDgUFdvKA9ptI2cZghQdScwWx3grS+vHR7RGnUap22VvR1n56ZzQAld/VfVqQ8wC6b+of837ascQqkBKRRpJgn8W7dnL+a0Zim6XvfmJU8KzKv8Kk2RLoMkiWcuQBNRd5zE0xCF5HSm3HIAIiwlGO/lSCVpoxgKXTOtj4DJPmMPxfYFVh7QRhZ4Harca3kFK4+MZVrRGi6z1yZ//xQgYF/VPuu/DnbvxU8bx9o8eTBegoJgjAUuoLaxmy72bAkj63i6Geq4om7pnC7a7PNBkl4C+eGVaD8kfxPVuBm6n2+vsrPD0e3g7OInm7JLtzdkfA== 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=19rkpx+g7My9PF8wiXbOZ1KWbt5dYUhAthYEDjArJ7A=; b=LsxDApgXiPSXCdYO7KpgWFkKHZuuK4gxTNWM+DmkfPbyLZjYsX15mdU/Yj4fg9Rvqg1j1HCmy0YrdiE41RiV67A6TlIbBLEjPBf1y2JMSmvf4dlstAxZUoSSNoXDYyD2hhxKMGE30OTXCOqj0grvwAGoGvBYEUgL+iKa7YF2kQ8FFWTE2P8SbI0Mz9bgemmIOt+sfwSMa6ndr7jTyDlWGNKfReZ+QmCvJGo/SX/xkUbReEYoNXEoMF/HZNT6wblCYiw5Eh4sZ+kz2oIeYt2/LA7PpnDW+7AjdcT6C6iX8xRyXNa6CHenhWnus+M6m6soLyq/uQT5waV6KQQYj/9ypQ== 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=19rkpx+g7My9PF8wiXbOZ1KWbt5dYUhAthYEDjArJ7A=; b=kDzIl580sN8FkW1tUjvQ13eXfWZFMjwp5vkHssViIjhLz/0w0grFBN3HaFCdXC4ssIootQdrpLnS7dUCG/1oqtSgr7fx2Wtw18iCKlLhO4eIikgiX3F+vShwWQmaA/EDkBa/aajDzRS5vmrmSc9WLPGxlADD3Y+FwQANdFYvGLk= 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 DB8PR04MB7100.eurprd04.prod.outlook.com (2603:10a6:10:127::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4331.21; Mon, 19 Jul 2021 07:18:48 +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.4331.032; Mon, 19 Jul 2021 07:18:48 +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 Cc: kernel@pengutronix.de, linux-imx@nxp.com, peppe.cavallaro@st.com, joabreu@synopsys.com, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH net-next V1 3/3] arm64: dts: imx8mp: change interrupt order per dt-binding Date: Mon, 19 Jul 2021 15:18:21 +0800 Message-Id: <20210719071821.31583-4-qiangqing.zhang@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210719071821.31583-1-qiangqing.zhang@nxp.com> References: <20210719071821.31583-1-qiangqing.zhang@nxp.com> X-ClientProxiedBy: SG2PR02CA0067.apcprd02.prod.outlook.com (2603:1096:4:54::31) 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 SG2PR02CA0067.apcprd02.prod.outlook.com (2603:1096:4:54::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4331.22 via Frontend Transport; Mon, 19 Jul 2021 07:18:43 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 6cef6dea-82c8-4662-67b8-08d94a857377 X-MS-TrafficTypeDiagnostic: DB8PR04MB7100: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1824; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Jyqcb7LEOh+SNmLXJ8onoQ1Fwyw2V4bIV3zZlikighhWDea4H7JwyfvUGoHf+Cm+DnfLp6YfvFyp78zetB/8Tk7JVTxiJMGc82EK5JN36z20ARfhKI7OVrozkiv3kA0PA0ZUCyt6Kqj2TOtkzZ2jRw4zX1WbebhLDCbFXSo94EB97TbfTCYM/DBZLmXe609hlBhVoTRi2ebQ+2wSQLxySl6N699v4w9oYbq5/YqpZ3RcIfC4GCwCuxXKMWmStAfXOTsN32epSkevYz3O17cvccGdpM0lEKJOR7WWtBO1HWka3wTHXgiKfqZN6ZGqAzqXFVwQiV42JSR60cQztMsOaKnUIF95/amwhjqdUITCg3DYv1KFHU937HxVwMfxlsUUPzkFkP4x0Uj2IRrj0xUC2u5ugUnPagQGhaq33hnLHYMNKf+urJSGhmlYkkjEQ0eWoEgpHyD7y+xv7kR8pstmK9FauQ/7q7WiJ62TmexpZsGrDv7x1FFyk19K5smWlh/rWargNHjPMMcQStTBnKvzx73xECp/XVnVBkUN/2ni6ce6OITmNHjDkocQovhLXmLPWowmCblQSldsCFoNU803pXIHWp1ZyNcaCcHCu3AlxkGYQz/EEoXspTu4VQ5uMBNKBvEroAeHfvyjygLVN6Aq83jkmL3I8+9xS0fNBNF+rTtlvz2WgXIVQYnlQPmhUXZEg2J7GKI8Tedeh2bqKyji25nZpR3Ojz+IC1XjWNGrxcw= 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)(366004)(316002)(52116002)(1076003)(5660300002)(956004)(2616005)(6512007)(4326008)(7416002)(66476007)(38350700002)(38100700002)(6666004)(26005)(8676002)(66556008)(8936002)(36756003)(6486002)(66946007)(83380400001)(508600001)(186003)(2906002)(86362001)(6506007)(32563001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: ke2BLXXN5Q/B4+d0jnIcgH0KvRYIi5jMlYDUguG56DH2nQ95iuJcPCwI47AKWAFRinrG8YXf8PnZw3df8sWgjgVnwfTUbsOnadA4kXn0ZgxzXVITCzvLx9V9YfxhSjbFfZZtmiJ1JHZY4qPrt+fqeifbYEhyNden20MDce8kQyGmPVOB5BCU/lXtwqF9A14xckORRXkWhSgWCuCM+XKzJxLHbf4HdX+ZaZxusXpXODp5L6mhjPvbE5A14E/Cs0zcKBuoftLoTyKRUIQlW/0DtSZBEqQRhepSMCVa4nxnu/x1VwU3bsL94XmZ1o/ypUwu2kEWdISF94yjSartKp7+GShzB5C6qwlW04u0q7uOunEL7Jf500YLgYf8h0EOj9qMmMH+6t1Um7atkDLOzd321TZO30xISeytgDuYqgYlrRuoxbuUwPJ+5xESF/wo0CishmSWfBnHmwDF2aOGTiPP+qA7lOZXoIYva3WA9INPOWVTMY2NzcQzZIOZ0XCs0+f7LKFFQe7foscELTqhyK4blKBIWWzkQ/5b6GUpE+P31dxDyyduvQXn0g0xV9raZjZkQYIXhiEY5AjXUBR2lMPoxytbnzTTtul08wopWJoqhqkhJFKc7bBDu9NRq14Iz37NPZukJO5RG+hsBpwuJlb3Pr0p3zIDveg+hZBlGHrMBoyz+fvdy1JlYg6e7LWdEsSibTfA8kC24Yf1aLfv8Kz0azFcEYciovfXxKaWjNDoEeOb5nalhM1wvLc0Mf27A0VmMk29AAYxO5WVh8mgXCjuKQflITlgZojwnWwePZ68i5Z7HGYNl0Xf/WIrx+IQoLOrFQnDAo5mrHyJnZIWkIejgzS3CpN81rOGMNcesYUi4qWFOEN7CIEnHcilFhwyuRxQGG52VDl6JQKl0cx1+q1Pph97xOTBMJ68g0y2xaGMP39i96clIYYdPqY4V5q/nbGZi4AQhDvBR6ZzTagOOFH1lqbcjIRhZfMOdnScX3O0NMQVisOekRJ4mZV1BmyyVRnARBJUkvj4I6Zk7zR8SXYHLKXdo/ZuMdq/a2MtXoAJEGAoWnVFQmpt6cNaLv87+CMZcHWhOeGnJdpJTXVfmtgd3SayGWKCfx4tazIb1Xv3Bxhwd0qmKnweBKMhSHS+IBcqwolcQifdyMLjUZktn17h5i/kJ0UqX7yZzt11FCEeqJDcXhi8ogw0LUfSjR9Us5eTBIkbrw3DdfnutZ9UCbaLCaG4uj1cHpLfPiCXeGKoUvYxw5znkCQYKN4pTEjBNOdtJVHRHljRqY9Bbi3hk5SNxa1iko3EV8BwzdcgIvDHJMwRVfDOYIcMmF5RJwWcJT1x X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6cef6dea-82c8-4662-67b8-08d94a857377 X-MS-Exchange-CrossTenant-AuthSource: DB8PR04MB6795.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jul 2021 07:18:47.9569 (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: gb8evlCxOG4yGMxAQnZUwB9tI+hVx7DVB3QpbegatSboe7FEUdw5QFYskCENkzcmWJTyZH/4tJq6/uQ0L1oTDg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB7100 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210719_001851_658362_4C0F8E91 X-CRM114-Status: GOOD ( 10.03 ) 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 changs interrupt order which found by dtbs_check. $ make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- dtbs_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/net/nxp,dwmac-imx.yaml arch/arm64/boot/dts/freescale/imx8mp-evk.dt.yaml: ethernet@30bf0000: interrupt-names:0: 'macirq' was expected arch/arm64/boot/dts/freescale/imx8mp-evk.dt.yaml: ethernet@30bf0000: interrupt-names:1: 'eth_wake_irq' was expected According to Documentation/devicetree/bindings/net/snps,dwmac.yaml, we should list interrupt in it's order. Signed-off-by: Joakim Zhang --- arch/arm64/boot/dts/freescale/imx8mp.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi index 9f7c7f587d38..ca38d0d6c3c4 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi @@ -821,9 +821,9 @@ eqos: ethernet@30bf0000 { compatible = "nxp,imx8mp-dwmac-eqos", "snps,dwmac-5.10a"; reg = <0x30bf0000 0x10000>; - interrupts = , - ; - interrupt-names = "eth_wake_irq", "macirq"; + interrupts = , + ; + interrupt-names = "macirq", "eth_wake_irq"; clocks = <&clk IMX8MP_CLK_ENET_QOS_ROOT>, <&clk IMX8MP_CLK_QOS_ENET_ROOT>, <&clk IMX8MP_CLK_ENET_QOS_TIMER>,