From patchwork Thu Oct 27 19:11:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Anderson X-Patchwork-Id: 13022592 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 2070FFA3740 for ; Thu, 27 Oct 2022 19:11:51 +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=W09BBUPyVCn2avhawP134YpnzQ15AgZu+7mn9XmiHd4=; b=RL5kd6Kqv/xmAs /JOhvn/NavhJcx06VBPIVVE7h4sGOC2S+AGsAQelJaYuu98Rv4EK12SdIbQNi/6WIBjHRS080zY3o /JH+T+dcmHfJfy0GSzBp1BZ8/f8H3CaR02dQAMmN/LVLvp1wokcgYV+AaDsgIhY6i8BpdQ8TuSsaG aDXunK9ZSKyAWJ1u2xG2x6QWN79FRyg/FN1aG0HcadOQlU/41EYpuk3ARXyyXMBI5FQsWXVfj1tSi Snn5OgEwyTZ9bh9C/+OJvPgjI1lJiiddfJ9r5oO8iHoIhhtr2xQavR4k1ULmEwGqvcjTCBuKBOWLb QfnSXarSff/u7U9lUvzQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oo8IA-00EbEw-Fz; Thu, 27 Oct 2022 19:11:50 +0000 Received: from mail-eopbgr80055.outbound.protection.outlook.com ([40.107.8.55] helo=EUR04-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oo8Hy-00Eb7q-10; Thu, 27 Oct 2022 19:11:39 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=A5STmtmow3E/XeGnt505Y6Kocks0q0JmtKNk5UqyGZpl1rDB0q6f0g2i754RBttJV+8sLfGqmf7elogESpUYsumCWljk/tCSctPdt50u3sZu5rOQScCyoktYfDCGGn8WpGv9UJuEwuIjSn28EPemd0Mp6Fz4r+vggCNSou71+I+l+8jIlWoxReCoF36VXXhnkfaLWKaVCyQ3WXx8T61/OpqmTu4kZo5Asx6mi9kez6jq96nonnlV6W011HOs+oHUo/3Tp3T74MZ6zLcG+/wrim4U2nt/ut+vgR9ioxuZ8z9KnlbMp3xCAv+pdn4FPb1fKcRN8B06exavxnvuEW821Q== 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=AV4YSLSWUEa6icuS3ElbSt+yZKjwyRoBMk3Gdh1j9EM=; b=WC2URtugTHuqQ7+vfMzO8dVDcUNGSeG+dBa4y39lG8OT8plNBT03YyrkmVszk3s3ag67NePBlJR/AiufLvZ1nMZKBB5eZjZCe5x4ZF/7a7grzVhM9FYf1q0juC5vdhxH77RCC9oXtn5DluR8bBauDQel/k8fAcB+64/n+L7avWVOh1UjLDFO1jxZUy3zZa3u4SyCxC693GeNDuh3kfHRKq+RtXLIVcQtKrboy6gA+I6kwlxlDLfOFGQSwPCqnUnYIVUaR9OdvmpD8uolhVcFzoELEV/Ou+P2F2GDzD+rovqNvJJ8vrmM414zqEOCeAxDgiFucKE629f+bGOl2G/e3w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=seco.com; dmarc=pass action=none header.from=seco.com; dkim=pass header.d=seco.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seco.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=AV4YSLSWUEa6icuS3ElbSt+yZKjwyRoBMk3Gdh1j9EM=; b=qId7AJsOlcOpyuRrEb2HKVxcXiylmLxG1ekD5UEhOd1AMLKlhMeIEHiZs8pQuTEhzCoBFYcnhCuBtukew66iVVQy4Y/07yB/dA/Cba3M/SJaAbKAVaY5CCtu2YFu0unVsKi2wml9o+xvLCblUnT9Ig+VqivRz+EiSSrOs1NqC37qfr2QU3GAgZ068ihHS1B4VKjKWzGDKvsAnjAlDCYFV9QSohWx+TLXw/dfCsfLwxVI+ek0Ktxe8p3kPOFl0NkXrPN03nG1+52g7mVWAknRR+OhCvzlHdi/+wZ3KAgSPxl9b7bEoIgWYimPolQXsZ73jaTiOkQDZLfloHTpCqGVRg== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=seco.com; Received: from VI1PR03MB4973.eurprd03.prod.outlook.com (2603:10a6:803:c5::12) by AS2PR03MB9648.eurprd03.prod.outlook.com (2603:10a6:20b:5e8::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.21; Thu, 27 Oct 2022 19:11:29 +0000 Received: from VI1PR03MB4973.eurprd03.prod.outlook.com ([fe80::3d5c:1e59:4df8:975d]) by VI1PR03MB4973.eurprd03.prod.outlook.com ([fe80::3d5c:1e59:4df8:975d%6]) with mapi id 15.20.5769.014; Thu, 27 Oct 2022 19:11:29 +0000 From: Sean Anderson To: Vinod Koul , Kishon Vijay Abraham I , linux-phy@lists.infradead.org Cc: Rob Herring , Bagas Sanjaya , devicetree@vger.kernel.org, Krzysztof Kozlowski , linuxppc-dev@lists.ozlabs.org, Ioana Ciornei , linux-arm-kernel@lists.infradead.org, Camelia Alexandra Groza , Madalin Bucur , Sean Anderson , Rob Herring Subject: [PATCH v8 1/9] dt-bindings: phy: Add 2500BASE-X and 10GBASE-R Date: Thu, 27 Oct 2022 15:11:05 -0400 Message-Id: <20221027191113.403712-2-sean.anderson@seco.com> X-Mailer: git-send-email 2.35.1.1320.gc452695387.dirty In-Reply-To: <20221027191113.403712-1-sean.anderson@seco.com> References: <20221027191113.403712-1-sean.anderson@seco.com> X-ClientProxiedBy: BL1PR13CA0218.namprd13.prod.outlook.com (2603:10b6:208:2bf::13) To VI1PR03MB4973.eurprd03.prod.outlook.com (2603:10a6:803:c5::12) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VI1PR03MB4973:EE_|AS2PR03MB9648:EE_ X-MS-Office365-Filtering-Correlation-Id: bc388cbd-a1a1-4553-837d-08dab84f0d3c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Zt96spsbhWvuC511s33mWUCC/deGTx02VJP8BJGFSwFVlnTH4XoyZ5Xm4plmNtMvzm2yCgYXwahEJ/jF/HL2xEWNwjEWJoPvJS17NT7wzqHUSphNTCQI5iDsFJ3MARL7X5ioir91EBMcshAa0e1NfnHVz2gO7joBxKIl6yd0DxvtoPa/FS5mEL0IphMMkj+hGl7c+SOvYrcaeZyBPCSMc50jjLt8V30DeOz5zyFFXiEfuiAuTyFZThQVEgVtwqp/tUL3dYzmC3VJCIsdlnDqrAiJW7ZMFLA1FscTt7nH2GpqBqtFpEakkRoeZ+EraoPb/pvZkXPAUe8EK3N6/pT7SBQtE3zA8d/8uw/33bw9Imujxf+/X5IXAMqgJROzQOW19Xcb200EhC8Bm6rZjdehitOxFCFzeEmmzlDMYRZVHssXofC9zXLve0mJN6CqdF5c8zJ1WKe9Q3VzSolXkJU4C6uN37Fs8bo5GUxQEkz34B5L+7q8slX7+OQH9rZOCczuLDa7iHjBoo+Gnts+1MYVKf91QKKxB7+Y5At9a91oXGbQL5TvQt4zfvR9Q2JYul5uZHUmLYZtQGgzkjjJ0AwIUvhqLkFze5ZVlk/nmLw8/tsL1H9b8PXAvgcIrXBsWtVGKsyc0K6h05BzRtRx+0etVXOG4BRr0dCXooXK/xAEnyonMM1kCZ4cuOs+APtNXUX95MJNlA83um0Lq38KEHeI15ESy5yM3BfWeBBqOmTtec0I3bQF0/r5kku5fXPDPsDJb1FqAKsiI9nEWmdYaBKfBcLWN+VZl1I6FV3i7QVGplE= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VI1PR03MB4973.eurprd03.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(39850400004)(366004)(396003)(376002)(346002)(136003)(451199015)(110136005)(478600001)(5660300002)(966005)(54906003)(83380400001)(38100700002)(6486002)(7416002)(2906002)(44832011)(36756003)(66556008)(66946007)(8676002)(41300700001)(66476007)(316002)(4326008)(8936002)(6512007)(1076003)(186003)(2616005)(6666004)(86362001)(38350700002)(26005)(52116002)(6506007);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: aMdzyeZYBlltU63Ktq1GjWB1WO/7bI+lkaJN9cDILDDKqkFZwkbzj73CKXvqxCXYFZ733sX2ClXKr8dtjxU8JdZqBcULxybVcFRrN+kwUf/If7ZHM9BMaUFHtwLR/BBGHhXJgoAiQP/mjCJ8in6sc6oWereoJEbjkdYBDubwK9jznuCT9eiUgxwbDJ8ptcm4xA5QvQrEqkEcC+BxgpIEDJIhi5mM/fWgkGm+W7lXGalm2g/vDnXj0jjcMnAvZWwj0xiHiYQ+zrhb054GuE6K7P21yt8/nfG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8Y5WvG01ZCKQVIu4dtz8WEqQtZr0964M71ZcyDqmc8edgiBsu5+zGGrSNoCYxWufescsJ0/h0mTpzhKlyuRsN4aobZKq9E8mxz4sAIAwx4A3ahU76DNMOWPuemWtESjj7hEm/8nOCI3kGGvNyLQTHhm/vPMDng5aN+bk5kWVfuJF/uukHgVFYdglXvz2eL/74lArvB7XUErBlwtkySVEsc/NINBJ0AxaCzRmWbLcaW0QXOjUQ1y3peoGGfHyijZUuNQkZQ== X-OriginatorOrg: seco.com X-MS-Exchange-CrossTenant-Network-Message-Id: bc388cbd-a1a1-4553-837d-08dab84f0d3c X-MS-Exchange-CrossTenant-AuthSource: VI1PR03MB4973.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Oct 2022 19:11:29.2218 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: bebe97c3-6438-442e-ade3-ff17aa50e733 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: FTJXx/ap9zPycayBSsdpMwOP5tLuZ9OVykRIkzuI5scnKIhEe7iS4+34cvgdEq3qwyJMi6xcK+OPP9IRhiD14w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS2PR03MB9648 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221027_121138_112421_2AF373E8 X-CRM114-Status: UNSURE ( 8.58 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org This adds some modes necessary for Lynx 10G support. 2500BASE-X, also known as 2.5G SGMII, is 1000BASE-X/SGMII overclocked to 3.125 GHz, with autonegotiation disabled. 10GBASE-R, also known as XFI, is the protocol spoken between the PMA and PMD ethernet layers for 10GBASE-T and 10GBASE-S/L/E. It is typically used to communicate directly with SFP+ modules, or with 10GBASE-T phys. Signed-off-by: Sean Anderson Acked-by: Rob Herring --- PR increasing phy-type maximum [1]. If this commit could be applied sooner rather than later, I'd appreciate it. This should help avoid another respin if someone else adds another phy type. [1] https://github.com/devicetree-org/dt-schema/pull/85 (no changes since v6) Changes in v6: - Bump PHY_TYPE_2500BASEX to 13, since PHY_TYPE_USXGMII was added in the meantime Changes in v4: - New include/dt-bindings/phy/phy.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/dt-bindings/phy/phy.h b/include/dt-bindings/phy/phy.h index 6b901b342348..5b2b674d8d25 100644 --- a/include/dt-bindings/phy/phy.h +++ b/include/dt-bindings/phy/phy.h @@ -23,5 +23,7 @@ #define PHY_TYPE_DPHY 10 #define PHY_TYPE_CPHY 11 #define PHY_TYPE_USXGMII 12 +#define PHY_TYPE_2500BASEX 13 +#define PHY_TYPE_10GBASER 14 #endif /* _DT_BINDINGS_PHY */