From patchwork Thu Aug 18 11:54:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vladimir Oltean X-Patchwork-Id: 12946938 X-Patchwork-Delegate: geert@linux-m68k.org 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 65467C00140 for ; Thu, 18 Aug 2022 11:56:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244480AbiHRL4G (ORCPT ); Thu, 18 Aug 2022 07:56:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44810 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244572AbiHRLzm (ORCPT ); Thu, 18 Aug 2022 07:55:42 -0400 Received: from EUR03-DBA-obe.outbound.protection.outlook.com (mail-dbaeur03on2042.outbound.protection.outlook.com [40.107.104.42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 12568AED8A; Thu, 18 Aug 2022 04:55:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Qcgu2bvnq6l5gV4vB2Tf7QDkoxdJaiX+TayhCwEzJy9YVw3viA7+p/Fu0+fW2k7/hFyt6ZSdyXn6I9fb1WuUTlAS5nC6TGKyjFQLV6f2x+vlbdyo55Qoq6TjCVGC3Ct1fqtULCct/VMfTHdrS/3j6RSs0ITLgtQ7aESMzP169B5gPnkai586ZxGi3K6I0lkz0x0/oDukkJ1IAmCDkMSXlfvPNeHVmT+D5QGUfZzM3CmeUNTZGgLk/gjLEU3zfKHuRog47NyN6tyo1GUWNbQxWfPjg+M8Ek2XdDmI52Ga25tFsaP0ps+yF1sIE5IagMJjXOjo+coO0oCjHWCaqFoV5Q== 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=1M1jniN5EjulC3/8H6f6y1oglPzgTJzDEhEsaUSQo4E=; b=BMvxwGTvrfvVkxGFRqK/lh5ZLFkw77tR8K+qzBhcaOoOU+uJ4Nc/G4iEAVX/+XGfCB3rU+9JTHtza8dU8ET6vLFEuKZf8ms0WxNRAUjv1BfI9neqk29FJwgEFtzjKIhdhEjjxZJNdwN+LcqXlpoo9ZYnG3YHDlJMv6b8JjnzwSOQeFP0DUKfrMa+NWQlbq/5Z9NArxB18LRsShhSkY/xvu68q/DV/dDEkfVpYAVFbo3bDLkwoc7DON/ADC4ooBeajBlkO8Vx1eX4Wm3XSFUSe4TUW5Km3zd44EXh73ivqGiE3796Reruv4//OBAITH4RT1oBkWZeGJzHYZIO2H+0kQ== 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=1M1jniN5EjulC3/8H6f6y1oglPzgTJzDEhEsaUSQo4E=; b=eEqv4tcduceKnUJwy74bRc+fUm1JgUXN8RyJyFWxLjuJpInKjQFaPrL6VApHcYygTDxjJKojEujJyLDPnFuiI8RO2KFpiOJZpUkwg3qVMXmS0j4Wd4Gdz8cNEBaKA64V4ldsrldmFfWeGeR8psMaq9hO2JX1A/wZtkOErdIeEmU= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from VI1PR04MB5136.eurprd04.prod.outlook.com (2603:10a6:803:55::19) by AM6PR04MB4085.eurprd04.prod.outlook.com (2603:10a6:209:47::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5525.11; Thu, 18 Aug 2022 11:55:27 +0000 Received: from VI1PR04MB5136.eurprd04.prod.outlook.com ([fe80::71b7:8ed1:e4e0:3857]) by VI1PR04MB5136.eurprd04.prod.outlook.com ([fe80::71b7:8ed1:e4e0:3857%4]) with mapi id 15.20.5525.011; Thu, 18 Aug 2022 11:55:27 +0000 From: Vladimir Oltean To: netdev@vger.kernel.org Cc: devicetree@vger.kernel.org, "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Andrew Lunn , Vivien Didelot , Florian Fainelli , Vladimir Oltean , Rob Herring , Krzysztof Kozlowski , Oleksij Rempel , Christian Marangi , John Crispin , Kurt Kanzenbach , Mans Rullgard , Arun Ramadoss , Woojung Huh , UNGLinuxDriver@microchip.com, Claudiu Manoil , Alexandre Belloni , George McCollister , DENG Qingfang , Sean Wang , Landen Chao , Matthias Brugger , Hauke Mehrtens , Martin Blumenstingl , Aleksander Jan Bajkowski , =?utf-8?q?Alvin_=C5=A0ipraga?= , Luiz Angelo Daros de Luca , Linus Walleij , Pawel Dembicki , =?utf-8?b?Q2zDqW1lbnQgTMOpZ2Vy?= , Geert Uytterhoeven , Russell King , =?utf-8?q?Marek_Beh=C3=BAn?= , Marcin Wojtas , Marek Vasut , linux-renesas-soc@vger.kernel.org, Rasmus Villemoes , Rob Herring Subject: [PATCH v4 net-next 01/10] dt-bindings: net: dsa: xrs700x: add missing CPU port phy-mode to example Date: Thu, 18 Aug 2022 14:54:51 +0300 Message-Id: <20220818115500.2592578-2-vladimir.oltean@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220818115500.2592578-1-vladimir.oltean@nxp.com> References: <20220818115500.2592578-1-vladimir.oltean@nxp.com> X-ClientProxiedBy: AM0PR10CA0040.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:150::20) To VI1PR04MB5136.eurprd04.prod.outlook.com (2603:10a6:803:55::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 2fdff0f8-a0a8-4e46-aa4c-08da81108aad X-MS-TrafficTypeDiagnostic: AM6PR04MB4085:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: pA+tAXrvyJDb06JVFkpsq1Hveg6mnqxwmrnDi7UPGHXwlP8aEw4vLTmgsWUTsgshi3JAGXBnieMXRbvB4MKnu6I9Fhv3DAsXfs34HCl+g0UUFhKmbNyabq0wS7gqm0/k2yESFlGe7Q+iMZSH7BLfZXQEutaVrnNIE3XL2yAt8haxuim3AiItBOYo6zU6l4u5yqzVWZWVMUbU//KtmNh6c5ardvr56JlDvBcMm8VvR/gpn5BuUyOfn3NrcBpDWagmwqzFyUoz03cr+vDCP7n9OdL4NOGY+EwJHj8Fq5Q6URg3dyZHDLnQiMX5L7BK00A6tjYl9+oOSvTsT0gMv34r0sOVZ0qEEBYQWysw3wknvlWA4cO+8uOsWhkRoDk4QBz9E6tEy2+RpvV/TceqsCfQmkjvwDaeHDmjQvTuJyN6pKm1MT9gYgoHBjMn9Qlorw9fJOhSQCSrMeGyBje/48VjRurzrbXqAkZTLebpYZHkk7R3Tfa6ypJaOTBD+3B+3NGDw0eY41gHFPBAUNVefSRxuzhcEqMbIQe5t7IhOhKtU5R2JkbeOmUNDKkbDCa4V6xr/85oYTENm/NuHeE6+FBoHj/NXouDdSSIJ5t6bnHZLTCbdTXM7u/VYROZ//tOUFx7Ir1NGuDSUQLolTc3cFDekfxxYLThRSlmq3XJJvxa1uE4uS4Y7BXkxcQtY+GklTb9/iGJSUSy3OuDZv+VlFGfuYTVwBQe349XspSYGBrfNozd44xA0Qf1q27lZhYOeLlPassiCJV6Lr6qtbHLWtz4XA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VI1PR04MB5136.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(4636009)(376002)(39860400002)(136003)(366004)(346002)(396003)(86362001)(26005)(6506007)(2616005)(478600001)(6666004)(6512007)(186003)(6486002)(52116002)(41300700001)(1076003)(7406005)(6916009)(2906002)(8676002)(66556008)(66476007)(54906003)(44832011)(38100700002)(4744005)(38350700002)(5660300002)(8936002)(7416002)(36756003)(4326008)(66946007)(316002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: D/F8pkZwE9wYvv63uTYSJ2BfP05ODrGnfDX/iahnyyMsl3cbKcCkfjOp2Pwb6u6eWqLgoKmnm8dAkgZn3J61I/vQs0Dwg9/rQfVC8/TcPo6NZ8ae6lajQk+KGWGMoo56eKvauZLAe5eqtZKXo01mfYhGawhal72xV2sN5OcCvatkrbnf4I5QMv9EXQFkf1PoM/3HTd8ZZsK6Zm0KnERDwgoHf1cYtfJn+yvUmUTI6u+4XzejRHpG4M7AvRHEBMr+De0A7w57lTVmaHoHDM/ey9ih3rJgXG0Cr5u9oCCdSpmNClQdsasjYf1JRZlau9jHmD5e1Fh1K8X/nlDmP36NCUkq7Gl+QTFzJx61tmuJuDRdsjWj2N1OkSA2fX/ovmtk7qtZ4XpgBfN57lTdopwe86U57TczyidMq+IcpxbyIy6vfFwde7qmGjCevu/1pBLvZ+bZvH+sbKlf9DRkaNAg8wfO18oLRnOv0s45FWT9q5Ml8pESTXx/0KTh7URIMNfX33qyeUGxunDgMsJTKMrbOD8DuaxZvIQ1psTXVucSEAmrQPo2kcihwrTDMLhXjo22be2KxZ2/m7riyIZJsBdf1wJvjt+VUMJI4jnrq1BEL1KhVb3N7LmqRzYKKqsXPY110I7c7FlMOcOs6L7Og7GRBCGr/MYgI1LBdkyu95/sbRRxVh2ff3S+seTcXsMNblkorIp00aT9JbHmOA4n0jbLg96VmexbdWEBLgIVAtWxRnlV2n1bLykYPLSSr/uc8g30fUajhIRHSSbksd29/WqxIWuxK19zNxIm5+Tvydt1PF0DOA4V8AlR+W3+btoX2HacTrZacZz6sfV8opy3HNvFcr5wwmuZrfyYQEjnOGoEUsWFL2EctJ5z/qgXFHIjWIjw/uy2ADSDgKRplKFIYXbQms7mIP7mOGEsqND+aIdvSlxuPFNH5kITKK2+RffT1PzFeqiYIt4kuOiRLlkfJ0oeJXkN+sac32HclgOCtYW7xURWWbhnrrm0wbMvSzdOwORHfiST39CSitWRm5M3ryyJhh6/326tpHPIYikHM/DB6XvEAFjR2YPE7ih2D6Uv7uszLMF6j/qFUGcGTxMIMrPF1/PV6hSyuudq0cb/F+C/x+OHADTT+z0d3OBgboS+REt3yTmWqlNTxq1T15HxWhxtwFq7W9Fw4O65ldCT+/nje9AdWmSRfve1npBv8US9kKaERXuDgihN+ydloSyQZiICThjvDCXJxTp9giRxZvRfOWcu2JvQVQq9KSdo8H+heLcyD9TvInBSy3LrDhG/EivJ70TijlxJoSRFsnOmPfvTmtMzG6Kr8s2xuaT5XpapupnyJH8j+Ik1y1egBLr6I+gLpSK+Zdf1QCd9cshgBzxAFfkK+urLMf8/UxEf1jwXJnNGGD3siRhPQPuZPjKaZaBHxCPSEqO+JISE4jcoU1YiMXv/PHFL6K8gDpPUwyqwMLwLyL8oKItm6EHw+fnau7TMblKwr6x8SNewqvBamtUlkyBZny9/KdTp3UT1eNcF3vyzsPddHNI2kEsIGgZFud2AxEeO6yhlfsvCfCphZoItJzFNrNARvGFImTnDkF64ZWdPJhQ09ggZc8QqyjoqNQq6Sg== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2fdff0f8-a0a8-4e46-aa4c-08da81108aad X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB5136.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Aug 2022 11:55:27.4162 (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: 1c34tPxTzfyLUkv732GogtT55mLhRL+/6/jMgykIYD2oBF26x8292Mo6CTrxVmnbYjJ/wUojRlqV1YerTSSBsw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR04MB4085 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org Judging by xrs700x_phylink_get_caps(), I deduce that this switch supports the RGMII modes on port 3, so state this phy-mode in the example, such that users are encouraged to not rely on avoiding phylink for this port. Signed-off-by: Vladimir Oltean Acked-by: Rob Herring --- v2->v3: patch is new v3->v4: none Documentation/devicetree/bindings/net/dsa/arrow,xrs700x.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/net/dsa/arrow,xrs700x.yaml b/Documentation/devicetree/bindings/net/dsa/arrow,xrs700x.yaml index 3f01b65f3b22..eb01a8f37ce4 100644 --- a/Documentation/devicetree/bindings/net/dsa/arrow,xrs700x.yaml +++ b/Documentation/devicetree/bindings/net/dsa/arrow,xrs700x.yaml @@ -63,6 +63,8 @@ examples: reg = <3>; label = "cpu"; ethernet = <&fec1>; + phy-mode = "rgmii-id"; + fixed-link { speed = <1000>; full-duplex;