From patchwork Mon Nov 28 05:49:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chester Lin X-Patchwork-Id: 13057047 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 89C7EC433FE for ; Mon, 28 Nov 2022 05:51:53 +0000 (UTC) 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=bUF60XYAjkKdGMc1wtjlLMLxSTBWwTXIxmhum8DVwgA=; b=rT2ngg1zJxs+Ol 6vbeRes3Gxyk/UiFtCKXzNHXKqfqDSOtpNnZWXjMjAzGMv93SCItNanmxS1znlgFDFJX5KOU2IMN2 ByF7mMickFK8Gj0BchQzYQImvMiLQrjTKzdZnTrqPvsTs3k8UhAwXVDu5twK1lfsu6O4Hqtw5UeOt StLHfhjZLhwgwaJl2vzbEqiC/+gIApJ+tJlHUxu6/NlxhCt5HI1KOcegno+iOiW+zQmXe/FiK5qes TK/KHfjM5c4d7GnEHXSQk/DIVznBn1YkLq0ug1QVY2p5LNrn/NMlVPC07K7BkknbzlrL0MiehPlQg a41FJHbRCp2ELHFDjlOQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ozX2T-00GU8z-EN; Mon, 28 Nov 2022 05:50:45 +0000 Received: from mail-db5eur01on0628.outbound.protection.outlook.com ([2a01:111:f400:fe02::628] helo=EUR01-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ozX1R-00GTd6-0U for linux-arm-kernel@lists.infradead.org; Mon, 28 Nov 2022 05:49:42 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=L2g4aOsGnZx/vPG9fhFfPwYa+llv5FxMEX6+D7WQrXrCLcJlmX0aQcyfILTwbxs4N8kSIbKJ+/BXjUAHly/q74TowndFoDa4JKOBQX5B8S9AHdiAvmHUWNKCubYxuDayrMPNhqPjLJ6cEsSd2iC8ichz3Ah5+AOEU7lKpmmCWCSE75giEq/cxjbyow4Jk7EXQ2x/3ieytKgtwi4LhQkhfN2mh6EYwq211KP4nP5tTE9pKzopW1wZuMZpHO+rzXN7FD8wf7WT8gtqKbBGJKO+NukLIvjOrsxFxCpjFpgnlCgjWa8RkqFF+NO2h4huFZoL32mwEXH51m11Dyo5/KXhnw== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=gdH3e61WUGMnQzTzPNjZyKhF29vyfTW1EjV9r8NZPco=; b=Urmdidk/DHORXCUFWgV9L62j6imO2vOF4MS0RT3y1gYiF3DMiw+bD2PE8W43A8IEWxIACL+4uOzNwi/K/R+lMjKqHllIogTnhB7mVZT8rjDtsrGKzwbp7t+bfrRtBjexkk7ezPjJtyYLA+OkoL9t7t5+8q4QGXOIrWKBI1dvwhKop/AZ9LWvu6TnloDbCXx4DU2KiDj5sYFhTbNhd4N22IxBuzQYEMMb4gNJntG1s87W5TV53QnR4yeED9b8T2V/XB/XMbcL7Lx+aW/kXgxuacNhVtD2CxOmd/941WDc60lq8n1X+lBOo3MplmIljdYe8iw3DnqiqCKRIqTctEyXyg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=gdH3e61WUGMnQzTzPNjZyKhF29vyfTW1EjV9r8NZPco=; b=rpjOJQDd3+zRddy9qFjcrqCBryhG9MSEXvwfQXAT6SDxSOYPKERKn9+ieJGIUqNiO2+gSzNpZqqZyCsc4pIcvxYtkwsJkgzv9BzHAdXWJgHwXLebIFRNtvWHCdlI6Gx56LXwLMwkI2YZaknniShnPCqlbujuXZ0GmCePGduVBayGbh/wHCL2kp01rGl1roVhqdMIb1uX3A7n8oskD3p6R/q2uJ1aap4uMCkOKAze+SBS7fT2ShHi8v8x9cAT0CMytAZo3s/fE2eJd0GIyUnAO8vRJUuIpRT8U0UwTqCQKvbwabKjEyCm8HjuWUN7hyiftCGlEOIVZuPJpZ5suk+UGQ== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com; Received: from VI1PR0402MB3439.eurprd04.prod.outlook.com (2603:10a6:803:4::13) by AS8PR04MB7655.eurprd04.prod.outlook.com (2603:10a6:20b:292::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5857.19; Mon, 28 Nov 2022 05:49:37 +0000 Received: from VI1PR0402MB3439.eurprd04.prod.outlook.com ([fe80::28d6:1b8:94d9:89f5]) by VI1PR0402MB3439.eurprd04.prod.outlook.com ([fe80::28d6:1b8:94d9:89f5%7]) with mapi id 15.20.5857.023; Mon, 28 Nov 2022 05:49:37 +0000 From: Chester Lin To: Alexandre Torgue , Giuseppe Cavallaro , Jose Abreu , Rob Herring , Krzysztof Kozlowski Cc: Chester Lin , netdev@vger.kernel.org, s32@nxp.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, =?utf-8?q?Andreas_F=C3=A4rber?= , Matthias Brugger , Jan Petrous Subject: [PATCH v2 1/5] dt-bindings: net: snps, dwmac: add NXP S32CC support Date: Mon, 28 Nov 2022 13:49:16 +0800 Message-Id: <20221128054920.2113-2-clin@suse.com> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20221128054920.2113-1-clin@suse.com> References: <20221128054920.2113-1-clin@suse.com> X-ClientProxiedBy: TYCP286CA0144.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:31b::8) To VI1PR0402MB3439.eurprd04.prod.outlook.com (2603:10a6:803:4::13) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VI1PR0402MB3439:EE_|AS8PR04MB7655:EE_ X-MS-Office365-Filtering-Correlation-Id: c6364fc4-c3ec-4107-033d-08dad104557e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: jpaavhAZnCEX8rB22Q7P+y01ZSZ1ReWBMfUfm+KWeTnK+QvHq3vd1V2JFmZNtrUJvEiG8rD9T6KXDhCT/P45oXYVAM46wwk4SFc17/8wvtvNj2i0CbvBp6kpcDFrjPZX4o+8VQgL3lYDpY4d61JkIi+wl/Vtkezl9mGEIWYF8GYVqHywOiiXgUZB8pm5S9YkSxNhpIR1rD9XYmBw4asn7+WhWnVPgRARPQprHIiPUZ/ZmdAsR+uNAnxRDovmeooHo82V1tvWMJpfvxgW8XEk64b+1xQudThXlVPYLN3mLte/HPT4HxApK3kTJS5Heuyixd+IDs11y8Pv/w4C68o9AJeiH82NfV8n1zifDh28LiOxuMD/GQKMgUOfoxipwSwdk4LCKEOwQwZWzZjh1pPexg6gkAVy5aFEP+0SQSBSvFdLhINUGiH75bU8eK7SPVs04FInzn5iw/Y1M7bs7DYd4k4yMt3oy+nVoQSf05pDvYpAU3BVG3QQ3bqPa3UmtTbKcyCI+SulO0gdwQah5ex/9yY4WgiXbPmThz7a+KwwU17dw91MkojUtwPjf1GqlF/kw5cCVw9Ca2xb8qFIrHkddIRQK4oqEa3vSbF3FfnvPhuTTfudJKkp2td1OgVjRtOMGHGfMf9eD5SlHeclOw78hg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VI1PR0402MB3439.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(39860400002)(366004)(346002)(136003)(396003)(376002)(451199015)(2616005)(6506007)(6512007)(36756003)(7416002)(1076003)(186003)(5660300002)(54906003)(86362001)(110136005)(66476007)(8676002)(4326008)(66946007)(66556008)(2906002)(41300700001)(38100700002)(316002)(83380400001)(8936002)(478600001)(6486002)(6666004);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 3LC8iTK388pTxMg3MQD5U0BslLZkZSQYJw5AkkUjLPJ5/cS3jCP2+HIKd1JwsYB6Alj0yOlzHU91DgLh3e7MVHBZgFgZe2IfbSGNVhjYMopgkw8dvd/22IJ6TmEgrka6bJW9iE0v5e7EgTrfu/kpt2gHaTQaSw+iq/5YdLpCArGqNHhM/60+zi8ded6z/gJAAQ8yFRIxIjLOhGzplsL9J2DYR3lf9qQPDZUzDQXsmwJDM4DwGOaocAuO/v/159umqw2pxiHtM48P0x0Wks1gLPQr09xlY0f78b9seR42qn2aHP/980zyRVN/rwMi5Hg5keNk8N+wXcxFpDqLp/mmirJMmUy3T5vNaP5AGLeGfbfMCwbkFVeVOmOxRo4l++xtc7mZjg97GUbZtMvsnlLYsk8nNCRJZ+WFpZmT2yXbJ3ooxgpxzQw/f4n6xdRRwtNKkz/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NnNvdg0rOYscjHrXvODGMqKBpZjogDguXO1ZkowyeQonxud8dFIwvGiNEKaseoFo1Td+RjbW0Vhi6hcaNhdMkNw0kL18GjtTZIrBRAmcERwtj2Nx8O9xkE2/wyv X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: c6364fc4-c3ec-4107-033d-08dad104557e X-MS-Exchange-CrossTenant-AuthSource: VI1PR0402MB3439.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Nov 2022 05:49:37.3554 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: f7a17af6-1c5c-4a36-aa8b-f5be247aa4ba X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: /M67qg2EQ/o/wmUMpda+/8+1NLdCqFt+cr0cTBaN4lmU6B93gi3nyD0reePsj35P X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB7655 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221127_214941_098642_57797BDA X-CRM114-Status: UNSURE ( 9.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 a new compatible string for NXP S32CC DWMAC glue driver. The maxItems of clock and clock-names need be increased because S32CC has up to 11 clocks for its DWMAC. Signed-off-by: Chester Lin --- No change in v2. Documentation/devicetree/bindings/net/snps,dwmac.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/net/snps,dwmac.yaml b/Documentation/devicetree/bindings/net/snps,dwmac.yaml index 13b984076af5..c174d173591e 100644 --- a/Documentation/devicetree/bindings/net/snps,dwmac.yaml +++ b/Documentation/devicetree/bindings/net/snps,dwmac.yaml @@ -65,6 +65,7 @@ properties: - ingenic,x2000-mac - loongson,ls2k-dwmac - loongson,ls7a-dwmac + - nxp,s32cc-dwmac - renesas,r9a06g032-gmac - renesas,rzn1-gmac - rockchip,px30-gmac @@ -110,7 +111,7 @@ properties: clocks: minItems: 1 - maxItems: 8 + maxItems: 11 additionalItems: true items: - description: GMAC main clock @@ -122,7 +123,7 @@ properties: clock-names: minItems: 1 - maxItems: 8 + maxItems: 11 additionalItems: true contains: enum: