From patchwork Tue Oct 18 23: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: 13011178 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 CF6B8C4332F for ; Tue, 18 Oct 2022 23:13:12 +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=YdlLNhwf5ebsU+QgwXjPO/0YLMfFUMaXHC/bhGfouhc=; b=Xc09hkmeFkjU/V 4piquQRrIS1qpCh868fLh308T22a3KNcdqq9ZGlI7yso1wjdNwRYmhOJIzDv1ew34FeIIyWFtEnpL bgnK0sKzGdMLuZaJNWMB4uE9keF97/KWUfn7K8zagkQcztR35kevaZavGENIJAZb5+GuEoHg33MnC 4jun8+R2zivqNhzNvVL4IdPKL0zb7Rz0VxALbWV8uszQ+ewpxKUNR1N9N2Jmm0cPdEJxh9WK44Jb9 3b3qdC5mrdEbUSKl8W2Q4S2adzmnMztu1PAFB06r3+c1DFYIyEbYsZb8tlWnzwJHMBtzca8IyndMo N4jWQRp03mcpgzqBrV+Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1okvkD-00Aqsh-E2; Tue, 18 Oct 2022 23:11:33 +0000 Received: from mail-eopbgr80081.outbound.protection.outlook.com ([40.107.8.81] helo=EUR04-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1okvk8-00AqqD-KJ; Tue, 18 Oct 2022 23:11:31 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=I9p+LRSbGmOQ2q3RVlp+VLPvzsc7/6tgk/mRLQOKndyoxahpYl6TPS1nlmd4IddXpv9rMOqRD9ntOOZpFPnbS+P2zSbb5El53Emh1n6nbb0Sx/3WjzSHaOPBEigM4SbRvZlmuZ2m3PZub3vNTt+CH47NFNNmPW254kVH5Kvz9TX0jz6k3598FWDdfC2Q8V496IY4/0ylsHWzppBj5nj6M1p91L4XUuHnk6i5sEW7C2lsGOw9slLCLofSszKt7btbsOsL+8rhvAMqrFXvhi/wZyhjPpFIb+JxIrRDe2EgHw0uCCtBg9piP8cpsoLR6oHwZzidV27PMuVVU3XFYnooew== 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=Cqm1buUjXXpoPpHKK2gqMH1fL6YbpyTqvm2DhL7vQlv/sEgEG8RNzp6F+atCO1+XQYa/Q2ey/Ad78ajv/5ZylrriFB7xaiKCHxlXfQfNmrlXyMMAN/GBL0Jx+jpawwBRTTDpI4/3AJymAVZuqLLbTOMs2NTSz5X4Fr8O6yC9uxMoEKXeDbowAsWND9j/mor0tOox0OM6t9PSlPDLq5WFZv57Lgd3yd1b9uIx24+HGqD2yjMkmsFVYQLgaNrffEnm33wLwYH6tgMzIvuvEBr3MHPYBRvBqAaGRniNCQc61rPs+hzo6VVSRE/bm0Tb5gWnl4BXTq0GLksRHNxHubiplw== 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=RrTJ/LMiIIXZ+IWLc9b9tkeENHVoTVIMMVvlwgLyAfLgWxiO3SQ2LeHxAj89WcZlj8iRZxtOXhGBn5tpRWfoFhFmLwdNTo4WSqRDcn05dw6EucxyjLUgEKGrACuxSt1WuwZCbITuqRIpjdgtGVQVTkB5LwtTwi8okV+nNL+o5Zc69O2F52qDV/LfnABvyLUXKJZe7dlcUp7DluYCogYSaYtg6LKY1BAx+DUbJPFYCy2baDGF0znN42LzZvL/VAXP6Ji0CN0C07KiIT+O7DJCdEOfZxq0808XZU25LxeDdzPID3Nyr3DFFk1VOojdP5PWR4LyvI72EKMXx8bT/K1/YA== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=seco.com; Received: from DB7PR03MB4972.eurprd03.prod.outlook.com (2603:10a6:10:7d::22) by DBAPR03MB6421.eurprd03.prod.outlook.com (2603:10a6:10:198::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.26; Tue, 18 Oct 2022 23:11:25 +0000 Received: from DB7PR03MB4972.eurprd03.prod.outlook.com ([fe80::204a:de22:b651:f86d]) by DB7PR03MB4972.eurprd03.prod.outlook.com ([fe80::204a:de22:b651:f86d%6]) with mapi id 15.20.5723.034; Tue, 18 Oct 2022 23:11:25 +0000 From: Sean Anderson To: Vinod Koul , Kishon Vijay Abraham I , linux-phy@lists.infradead.org Cc: Camelia Alexandra Groza , Krzysztof Kozlowski , linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Madalin Bucur , Rob Herring , Ioana Ciornei , Sean Anderson , Rob Herring Subject: [PATCH v7 1/8] dt-bindings: phy: Add 2500BASE-X and 10GBASE-R Date: Tue, 18 Oct 2022 19:11:05 -0400 Message-Id: <20221018231112.2142074-2-sean.anderson@seco.com> X-Mailer: git-send-email 2.35.1.1320.gc452695387.dirty In-Reply-To: <20221018231112.2142074-1-sean.anderson@seco.com> References: <20221018231112.2142074-1-sean.anderson@seco.com> X-ClientProxiedBy: MN2PR18CA0007.namprd18.prod.outlook.com (2603:10b6:208:23c::12) To DB7PR03MB4972.eurprd03.prod.outlook.com (2603:10a6:10:7d::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB7PR03MB4972:EE_|DBAPR03MB6421:EE_ X-MS-Office365-Filtering-Correlation-Id: d34e35a8-d667-401e-5d6b-08dab15e1430 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: OjmlDQ6+w4DftxNRuD7V8q8n8b2Hi5TjLxubuC1777WlkXkxjEhwJ8Yosezzv9hXyHgOpeeCIM8PzBBzTlLJobZf/If/eIVT8YBldjoajWUxIfdZ+g+33SjETlylGBjNVMidd5rPcYQp9U1KWo5JRipS8kvE+kZR5CIA9NFfEDsYYZF4QIcvCspMuUZ9dcmzB3WG0kP+5X30vtJuCP2GSzstOpVHo/0kj2G0iseWpKAEbSP5/RUUzc01zDkDZVq0OK6lSt58W3qk7rUAMMNPRd9oKn9mJBjX6AD1VCrVGDM+7Wf2IdRZZszDHJEKT5RAnnfIrNPA7pxz6Y9f4V6rUVVJZ3QljAvSjtF6WKaYUmsQeGWfTCI3sgyldIjeVt7B8OupOclUS/LMVzMkFlYic17hhKmnbjivhQl4zCcIRP/mKyOE2D+MiBsbqP5ohZ5dQc+xvP2MfI2zJDuHEFVBKyL28skieLCoXJP4FxeyvQponR/5N5zTZUWRXpd2BTCO6S8fqrcoNGuJ0S8PGgOa9AF5Sj1O51a3sBFyjoWPUKMV3z3tZZHJKuvMHt00v5wvaZdAz8rTWvq313ptVZ2vZLePqD1w0mrJV+P11E1gA1QaQdadZWxyH8Qr9krqUUKhJYag7pixGhcAGebu41gCE8ejUVP3gdjZoNtEcr633SpAfB5vnfIZW1Et87D5cpubhFOOlyou0EkpjxgqlK4dhsNGdQyKtOZshaiSS4n1YZtZV/It2dSI9ECrSy9tT9fgYV6E3y+9sGV+KS1+JsJCcOVP7gvceROCoHniDCG1Pfc= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB7PR03MB4972.eurprd03.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(346002)(376002)(136003)(396003)(366004)(39840400004)(451199015)(6506007)(6512007)(110136005)(26005)(86362001)(66476007)(8676002)(38350700002)(7416002)(5660300002)(36756003)(44832011)(2906002)(8936002)(4326008)(66556008)(38100700002)(41300700001)(66946007)(83380400001)(316002)(1076003)(52116002)(6486002)(966005)(2616005)(186003)(478600001)(54906003)(6666004);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: TBW7yKmO7O8gOY3rF40dLM8MX9be05RMMX1tG7J0R9RkPo9NrwSyYrcHR1uoAEVhbbBAMjLjLtXnkd4WI4ePghtLK/SOLX1PoLzIJ1TMtfj+uToOnRp+UEdeHdHqw6TGfyPVm2XceStisGAwezvMH2Zmntx2eXlIIx4MaksvUbeSDaVhHbUHipf5a213ePPXi0ApcyutaiAIMBlXIzpwBeRaunc+Jg1mgSEkvi7LjZxPhRcXEPhx/QXI3cgogM2zmGQ8+W9Tqncs+D7wJmSBY4xk8ruF86gYP1UqacrK7YH9p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h0LwO3QQP+cwJlM+OvWi/ieIQweUt3hzsg8R+On24/3ZruyA4/IJfEopOSEk9GFEbMJa0a5PWcnmnA9CRRUgsYQ1J7fDvtbLuR8QI/yXHF1UoHkXZSZ+IulGpMEGS5T8tvnBByWgUIYqm7Wr1BT0wHEXUX+0BPwEE61n6AjXXLJGCeZP15boF4IZxRNRV6cYJVbuXpFS7uKzHPQrn6LtfUBQI2VXQbKzrXpVZG/Hsn4hEOa5JEEI66XQ== X-OriginatorOrg: seco.com X-MS-Exchange-CrossTenant-Network-Message-Id: d34e35a8-d667-401e-5d6b-08dab15e1430 X-MS-Exchange-CrossTenant-AuthSource: DB7PR03MB4972.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Oct 2022 23:11:25.1508 (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: Ry7bQ48rEApK4GIxEZpZ7CQIMq/mkvrzUxqlSTx6/dYboexEF5ApOhSZ0zOr0W/sm976moMTDAm5A9JwbC7Yvg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBAPR03MB6421 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221018_161129_049416_A9147A5B X-CRM114-Status: UNSURE ( 9.17 ) 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 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 */