From patchwork Fri Sep 2 21:37:14 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Anderson X-Patchwork-Id: 12964701 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 8EB8CC6FA82 for ; Fri, 2 Sep 2022 21:39:10 +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=XS9Uh+uuThFeDPltLv4Ju4xyAkzl+CMxNlga9kiJsMY=; b=lKXYbeN4OYaRsy Fr6maYKu/XvhdhuVb6HDDb75Yv+drYAmp50EV1A0pQDt7Gtuyz3ZW0ArRQUr3Ue15CMjVJzD35OBo rENCU62cSU/OpcSsE+ciuHDvoPqwDycRfMvD10DhmzRs+nyl0HGYd/oT237NdRl9FS9m9PhXrqSNt 5Qpej8tnmIn8ebcNB5AIprGP60g8DrjZ0dP7RBfwgyFzEBQAvc0PpztrdZIIOz/NBwql9FkmnZnIn 0qlbnF/Nu/YGZJfDVkhg0xG7CBNpECc+rUGQQsUtmznQSK09EjV3UMnuNNHVyYQzLzyrzPzWPc/rO iVXNN4F75J1fJHtaxsZw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oUEMG-00BMRA-6e; Fri, 02 Sep 2022 21:37:48 +0000 Received: from mail-vi1eur05on2043.outbound.protection.outlook.com ([40.107.21.43] helo=EUR05-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oUEMC-00BMKq-Fh; Fri, 02 Sep 2022 21:37:45 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=exv0zuI38oO+g3PENNzXXzjSsl50+DHGmiruMZYUh0wlrhZbpXNm+3HH+XmX/DO0pa9GHwYSM3dmOzQ46a+dCh81svgdLddabO0zZrMkSrzrJIiivQ4EOkrArDYnI3BeN70KlquMqutM2LzhwjB2/YABmAAzX53NllCIvZZvdBcLmvnkfXUwiGJh7GssB0X9AgP2fJq4HMqxcowmeXOXDb+CNIjZo5uCOxE/W6BHV52l/Zof+JUAaDeZBRzfJjNehrQEnAy+ru2iEowmp1cWQ6F9KIHLy4PfLIWlg3OAk2Pz0hYuybCxY7bgnaj/B69uV0jqu7HmQv6LZX+NLGR6Hw== 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=8GZcGIhDdkue469oDp6McdJPI57IxoOPqAIhHDkU0XU=; b=lcr1e1o5qcvktcbDCgRIV3SZBISsPUJKfJDGocwUpEHHAae42dtHWKiKG9v6ZHTzmZ/yDF3efiGW36T78aDQYJtDU/83/r/TrrbhPmbRIY7LMOCGhdVfe4mZfa0moiQNXl7ZYtdKKeO0vP6FM4ptvD7rrOOAgSS3PmsYd5NJdTFkT6zrQePte/MwvKBGTSN9o9EOZ/O/kGAQgPtI4oti/OgHpvIgyrEx59LbulkkHEjUdy3yesSWISQYsmxlCM7DkMDsBvpj3x8p/Bfcpxy56HEqfDJBzI9mWNQ6vKCLpElT6txLN32KIId33xGya9vhoPLNEcq9ukyCwP70CM0ZnA== 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=8GZcGIhDdkue469oDp6McdJPI57IxoOPqAIhHDkU0XU=; b=PwapkxMOijWJ/jFIA8zpqpwPhO+AA8e7XlpuLOGUy5O9wd58R9gC5f5GTQ+d9CQ8Z8A0Umgn2JG1UOz+zLTTkV3e82SlISgqEqhkhpiioxrfOgVmYB8EsIKL7anWIYkfC7deVPiEwm0EtEI0fdwPOA+JHjFA6K/5658eOCVE1iB+3kmzAYFQJlJTxinYDfJcB5JrtIEUlqxVjMAulqtBK1++avAcemBX08O/ZuBsdGc+fitL5eb3PZ2jOU9Mw6ntZnJGsg6KF96GoY/weisyD+PV4pa/8VRxdP4QjAxjVmJ88UA6Cb3SZjC13lRctCCGE5NDMTgGLNqKwp2RBUOELg== 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 PAXPR03MB7886.eurprd03.prod.outlook.com (2603:10a6:102:215::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5588.15; Fri, 2 Sep 2022 21:37:40 +0000 Received: from DB7PR03MB4972.eurprd03.prod.outlook.com ([fe80::ecaa:a5a9:f0d5:27a2]) by DB7PR03MB4972.eurprd03.prod.outlook.com ([fe80::ecaa:a5a9:f0d5:27a2%4]) with mapi id 15.20.5566.019; Fri, 2 Sep 2022 21:37:40 +0000 From: Sean Anderson To: Vinod Koul , Kishon Vijay Abraham I , linux-phy@lists.infradead.org Cc: devicetree@vger.kernel.org, Ioana Ciornei , linux-arm-kernel@lists.infradead.org, Krzysztof Kozlowski , Madalin Bucur , Camelia Alexandra Groza , linuxppc-dev@lists.ozlabs.org, Rob Herring , Sean Anderson Subject: [PATCH v5 1/8] dt-bindings: phy: Add 2500BASE-X and 10GBASE-R Date: Fri, 2 Sep 2022 17:37:14 -0400 Message-Id: <20220902213721.946138-2-sean.anderson@seco.com> X-Mailer: git-send-email 2.35.1.1320.gc452695387.dirty In-Reply-To: <20220902213721.946138-1-sean.anderson@seco.com> References: <20220902213721.946138-1-sean.anderson@seco.com> X-ClientProxiedBy: MN2PR08CA0008.namprd08.prod.outlook.com (2603:10b6:208:239::13) To DB7PR03MB4972.eurprd03.prod.outlook.com (2603:10a6:10:7d::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 818ce82c-d8d0-4a28-a8e5-08da8d2b5c51 X-MS-TrafficTypeDiagnostic: PAXPR03MB7886:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: n0gerMDWMEmiy0jqhl6uwM+42UsUSPjhBONNHbleHdBvkztMvHIu72NheamGqF4fwPFF1ZzuOMdouqK0A5UmBSq7V2CrPTnnvdBSzMSX0DOVyWvrJkzCPlnu2o2PqahZPIAkV3UBnLZp0e6zH7zXqS9SZ+o6omLaBY51+N7Jx2A/bfo+CWYnKvQHL8UIfPTtjpY5I3bkAmJdeZqAPhs6bmNFEvLUOXybC5rQd2e9S7nXxecUgfQEtYYrM/Bjz6DzZDJmeIHZHH2hOxd1H2zPvHq233tyMA1OD+CFOdHHiRDLufpEQfQZUMCPKQLvRDBL1t1TgIEEbLoGR6GsqYsJCGVVGRj0+UZCSwFAe4JQMlQiu7+D5iTO0l7V0wX5eSaVvlnuq2VKtO2/lwWrvn6a4O5Fzqgv2MMzheyiyTb1swdDh5+m3JzkMt5bIxA3IdMsobYEifBNXS3wBgmIoJO2gj8yobpsp9T2ksWuFlqMRIXbiAI14IgFppdAWVdh+OKJf/JaAEiNasCQCyGf7JzuqN2Aqr5oB4Pkez9ZpgrEOUOlpXcBYwXzlpJIZn/iEvV4B4udcfO11CHR14BU7SQIptRIWGLEI0VZWk7rO0qGKyzY22WPeR/IHzvnqkXcREap2ykA3Oj/m6/TDoXuiRTy4V0Mk3Xt4bOEX9K8LNY4wQb3x0xplxF2EBZ2D4izHOxlykKyBSxS9AXIfsGd+Sf0ftSAeVPOuPka6BqSNPgsA14EvGMaHDeL5an3MUCRk5KIxwYR65jVVh5j6uIWq/R5mQ== 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:(13230016)(136003)(346002)(396003)(366004)(376002)(39850400004)(110136005)(54906003)(38100700002)(316002)(36756003)(186003)(1076003)(38350700002)(2616005)(86362001)(6486002)(8676002)(4326008)(66946007)(66556008)(83380400001)(66476007)(2906002)(52116002)(6506007)(6512007)(26005)(8936002)(5660300002)(107886003)(478600001)(6666004)(7416002)(41300700001)(44832011)(4744005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: lYcRI3In95HKWOeYTCTlxGvEemyeHtblttY81QvpEkGaTojXdjxDSmDjlhrJ/RGwgIVYlOhha9CT6EECv9kMBzdWkTjpZJvgvjB65OslCZ5I/HF/pRuzvHrEIEG7/f3t+CIv9Hf4/hChZJvHZFpeQb+QyDFPKFFi8qfSTlTPQfgm5qQr2e1x3FVNuUwsov05TYlI2TCoRTGZXLhvyeCqJQyTjtfw7nQLik/ArYzn6pcowi7XKTGixWWBKGavFCgPyBb6ldRfu7o75jg4v8z3tqVSNZd0RiKQKPvINC2Tdpl3/GkZ5bTlE3k0luSzG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thiTgyEPU2wMB8eFoMSqsqEapJ0cr0nse0667B8hO5kS6d5a4xBtRXB3PO5hjpYDgPeJGqiBZ2qId1K6Jl9RpPQMvw2Fyt+XilV6jx5CbKfV/+1ZOrhk5qqMOD2FGczc8zGTW//sU9UvFTAG6aJkx7H5ANsuVt+ToPScuhGVyV28246tixryuDRIn5zLVVaFjWP0mUCj6sTbns1laVN+0s8KzEJphViE01kN9HQ== X-OriginatorOrg: seco.com X-MS-Exchange-CrossTenant-Network-Message-Id: 818ce82c-d8d0-4a28-a8e5-08da8d2b5c51 X-MS-Exchange-CrossTenant-AuthSource: DB7PR03MB4972.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Sep 2022 21:37:40.0655 (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: mNuq4Do1WeWW1blLbqxxeXhB5lA1gmgCjTrddQvQB+Ah2fGRqXo2gYKWgrl463lbbQTWPX9z0dEf9EPj+DbOXw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR03MB7886 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220902_143744_555379_E161236E X-CRM114-Status: UNSURE ( 8.96 ) 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 --- (no changes since v4) 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 f48c9acf251e..ca2e3d52523d 100644 --- a/include/dt-bindings/phy/phy.h +++ b/include/dt-bindings/phy/phy.h @@ -22,5 +22,7 @@ #define PHY_TYPE_QSGMII 9 #define PHY_TYPE_DPHY 10 #define PHY_TYPE_CPHY 11 +#define PHY_TYPE_2500BASEX 12 +#define PHY_TYPE_10GBASER 13 #endif /* _DT_BINDINGS_PHY */