From patchwork Tue Sep 20 20:23:49 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Anderson X-Patchwork-Id: 12982577 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 BC46AC54EE9 for ; Tue, 20 Sep 2022 20:26:03 +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=c8QmcgRxv0I3sGp/zp845+fKnbWdpr/iecpD0onzPK4=; b=zX0kmL3Ln7I3Yj /qNgygObMYwaCkRJ5893uAcRfdDAqX4QLygIXAd1LWVStkyI+z4DoChfwalTFZi9qyK8Thf2BhvFG nsif9LhRu6fPDknLzoFziobwuBzr6JT3Pb9HMnamx9Uej65s73rLuXbsviYx/K500PhlCqjZz72Ln tPmoU3LvSrLiWx4VwLSoax2TJUCiyFYdOXs1QPgSaKzBJkLxxZ+7SiuWnnujL1hX6tnZqQx13uX2/ 25Me8NiMKwyPXO3d60ayi8+j7VAeB2HYd9XzsZs/mwHDgBs8sem8oIB55yOUc4XMWCs+ecvbRzjFz fvdvcZZV/eaaUttu2OVA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oajnK-006Fxu-Un; Tue, 20 Sep 2022 20:24:39 +0000 Received: from mail-db8eur05on2048.outbound.protection.outlook.com ([40.107.20.48] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oajn7-006FkY-EZ; Tue, 20 Sep 2022 20:24:26 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VoBD016Xu0thCtCrdVmmNI815+NDw/leEX/xhRyAxKAbUGgge9gYAJbktMY4ZHe/ADqYo1oFgTW/lmKoWQEt0uQnHSrcDHgsALUPq4OS9QHwbNsrv5nwC/OQHo9F5lVAYjsxU4lfCEwhsOQaIaQvxPyhNJc2PhJcaGoD1caednaLNc3XUhU0w7AcCXHvhufBcr0HdJhaHLbOEQlJZIhaKZEKPizOXlOoi71oKVrYQh7I49YCBsQ9cgEeLnXQPQhLapFkyjPXqfVkiKm3D564Afyi8M0fUbKiHrIlQdV+Bi4OR0l2Pe3hisAIqfqTYhZFjNr/cAGU30UXX0NNwArJfg== 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=evn3WeTmIRvwNry8piRdsza0wD35LCdeMNEPDP563h8=; b=cMxP0uj7I0ikS4gB7QkYtDupFUbTdKojrqXor7I3peoX7KNHeiw0PMY22SOCtaaaeFdWcAXkvk/5TKvV/iXPRzk6BRCcSx+BZSZKleu61hDQahsw2xs1XtQRTnTyUJaBYqpfmf5otYyuz6kDna/UoEwBiMoCx3JCG9kbtTGV9ybWy1+62BM37d2zOpDD1vr0X5WefZuwj+h+AFLwpU5ZifFkKqswbrkj9ROTuUxsnDtbIQr+Vc+ugc3URmHMTZcyT2rAR6tUgoBxzSAIJ5ai4JKZC1ENrS9AIKHbMSMAUlk0sPJAZgn1j50JNHIsH61MlmxlRYvmYsZ0QbbUVKkzCA== 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=evn3WeTmIRvwNry8piRdsza0wD35LCdeMNEPDP563h8=; b=EhotxXxAwrmjql6OwtIM8ofdgQY9a+J9HB8vHxBQlLWtrFc3A/xWKyL6CH4ZoXNwdHRownt9TqQS2aH/KK9uSD2YTiHXnZr+9fa+W7BhSz0M53ANpIc0Lr+0QMQ9iLhXx5ULzT6pFverTN2ea8S03eGjuFVnTuswZoEwiWKPPg0H4dly8I6HLaqDnNKM5slID+G0HoaiHUMV0o34fRAK4BLpy2UsjTgKKGa70pC3Wz57gMSw/lsgTnydHiki3gCKo+Yyf8M0fkLduvN4TvSr6rZbAcgUKrX4pF1Hoq7NmjFymIiw6kUc04Ctx0jrRB5Igqo2Rl2IboDOnBwuMi8XKA== 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 DU0PR03MB9566.eurprd03.prod.outlook.com (2603:10a6:10:41e::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5632.21; Tue, 20 Sep 2022 20:24:15 +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.5654.014; Tue, 20 Sep 2022 20:24:15 +0000 From: Sean Anderson To: Vinod Koul , Kishon Vijay Abraham I , linux-phy@lists.infradead.org Cc: linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, Madalin Bucur , Ioana Ciornei , Krzysztof Kozlowski , devicetree@vger.kernel.org, Camelia Alexandra Groza , Rob Herring , Sean Anderson , Rob Herring Subject: [PATCH v6 1/8] dt-bindings: phy: Add 2500BASE-X and 10GBASE-R Date: Tue, 20 Sep 2022 16:23:49 -0400 Message-Id: <20220920202356.1451033-2-sean.anderson@seco.com> X-Mailer: git-send-email 2.35.1.1320.gc452695387.dirty In-Reply-To: <20220920202356.1451033-1-sean.anderson@seco.com> References: <20220920202356.1451033-1-sean.anderson@seco.com> X-ClientProxiedBy: BL1P221CA0014.NAMP221.PROD.OUTLOOK.COM (2603:10b6:208:2c5::26) To DB7PR03MB4972.eurprd03.prod.outlook.com (2603:10a6:10:7d::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB7PR03MB4972:EE_|DU0PR03MB9566:EE_ X-MS-Office365-Filtering-Correlation-Id: 6a8419d6-51ff-4048-bc5c-08da9b461658 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 78WVUx2eSpmsHUdiKJS2c9KlQCLAuE1I7aQ4VZ3WzbGzYXyPmrKyrERh9pGmk3rqqIaurQ6eWjWObyTxib3FLCLB8d3g7IQJxiccRzB0gZqziFIuHW1nN0prBJCwyoq/FicclBvkySSLhg9P8z03ezyqPi4SHkC+g8NSfS4+5FfMXl3QzI5kuYkbs6uoy1vodF5fu/KYuz3FYx3Ot2ELItImGtYEMrSp5VjFjAxud7Ax7grTbwJBGcyAunvZmdF6u5j9mDp1B9jhLbPCD1yKcc8XIIMK9Gi4e7Fq4I0xx+GPPIFAnbtP6XVXIkaytUn2mAhbO+KclRoKlURkc+EM8uTZ0baIJ2tOJ2TGAJMcvaRLLkASqL9tP66rExT3MIEpO5dPaxefH8qybtSsE9AwJ6ixcuFPqJgHnEOcVvZfrjrsGC1aeGv9EPECcSgGmeIDhq/qeY3GzEyRuHRus5g1mNKj/EWtOwCaJLY32TreRgOPC7GyQENWmtWo7+M2nD+taewWzxkECKALtL6mD84awzDGtCeZXRBsXBVebrdkQYNM82t3qf0h9kUq2IY91j2OcOpVjQ40agsLoQnq60ooo+qL0uhwH99buP3OkWTm/5OsZZFd6YJM52kML+ml0vqGDpQWp682wP/cDJZ1bdaLXBR9MEtFQzQV6WKLMNOG/MZME+RdWCmyZUw0sj+1HOX2Er2EmYIjjt4hi9NhYkpcikOmfxPqA6CXBhCC3boEWv29m8orIE1HeV9j+zhzK7+5m5nmWUgvRQ0twTWS7W+baUi6Ntcyfvl7A4vIkok/s38= 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)(396003)(366004)(136003)(376002)(39850400004)(346002)(451199015)(41300700001)(38350700002)(7416002)(52116002)(6666004)(83380400001)(36756003)(6506007)(8936002)(5660300002)(110136005)(966005)(54906003)(44832011)(2906002)(86362001)(316002)(478600001)(6486002)(1076003)(38100700002)(186003)(66946007)(66556008)(66476007)(2616005)(26005)(6512007)(8676002)(4326008);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 3Vo47PgWF8igerGTq//Nan3FTmgnWL7OasFyfka2jo7Paq/On/YPXJFM4eYAIs+MvDTyjx4h2ee5fcCRWWPvoFHTDfbQZgIF8Ck0IgQ4TbhioQon+4+IjaYvwZBtw4ZRaGNHFL1No6h8FBBiVxQBrrOPbVw/LlHZ29n8IoGwfgYEt0sJzDpInMjLgcXOPLPziJBUWFfEi0ZzpalsNUMVTG/oPV7OGV5BCbpCrYkSWc6bi4bEQPzcILGDJN5zkDmk2MwnnRxZbElLfYOiR9bXRiOa4R3GRNKnf1bpkySzMa6oGO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YhAnvE86YgR281aiZS159rs11C+92q0V+ACiz6cmmZ0vsWX6TWktKAFXocyZC5kkuCN1PYvtQdWg4wUFwBn7vaxlMzzmf9ijONr3DWATo14+ZebNq8MSOZLT95vHAxk12JxutEMsgoVjACTNyn9hb9f9oCapriKKl3E2GTfdT5XbbEY2y6HeEespmkZ/aM9odQiwKv0kfypggd14N9k2R3JKFJ5PAMHUKCaOQK8DHw== X-OriginatorOrg: seco.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6a8419d6-51ff-4048-bc5c-08da9b461658 X-MS-Exchange-CrossTenant-AuthSource: DB7PR03MB4972.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Sep 2022 20:24:15.3620 (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: iWvksgXpw0tMf8iJ4m+w6Mw53T2CPTm6ybzTf7tae5fSjCZ7XqZmWVpH3Ofb6DL6RCMVvxHfyzf+wnHV/iAlZA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU0PR03MB9566 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220920_132425_517672_A27197E1 X-CRM114-Status: UNSURE ( 9.52 ) 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 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 */