Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp168097pxu; Thu, 7 Jan 2021 01:23:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJyhxqLLBGVXXpumOeTZE3CWQjaasA4Iz9CGvEVW2b/Etm+D6mauFkG850tVZlU3wOjrUIPe X-Received: by 2002:aa7:d5d2:: with SMTP id d18mr1063066eds.126.1610011438729; Thu, 07 Jan 2021 01:23:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610011438; cv=none; d=google.com; s=arc-20160816; b=gr/N+VTGj2ZmB3nqcSO42lrAoyNUaIBFfIGDROEI4LNVE47a2hMcJBiW4z/CaTdCxk r822bc2cgTy9N+4VhrYekMlUltm5We2kLTYsYrZC0DKiq6bsOULAPQ5tUZk5WuScliQu NVuus9vogDgqFJrPgIbRZ7TmMl5o3N33JFv1bfuq1jvmsRKBLeo3V5UXMsN0bhdrF/b1 EHPtXpxDyp3/m/QR0fi9ATHe0U3fakbzn4/u1yr910jtIkrEZTyfA9F2vW48TUAYzbWx 0xtbw++ySkgJG0qvPXzOJvl3hItj9R1wIMqMJi/pMTg4HCzqnhsoN+BaNZZFgxMPE2gD gctQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :ironport-sdr:dkim-signature; bh=uj6tF6ebtrhaANdANfNm09iR+CTlZ/Tyhz6LDVy8CKk=; b=B8m/aWl5QNbsL6EYKdd/zbApXLg2Uw990tEnlqCXtenmdTgsFT+SBJw8OQuH9hBMHG 8xyIfNeHNoyMUoGJ2/S+fpHJA6wy4OvMDHoXVen6NKDuyfhzrXiu4cAbnCtWbqQb9DUy gXGxFQlpd7Frxy90opInM+il1rFI8OuXY43Juf22tmpt29hXmHtQOsLlR5rLjVLbVqrI bwHRUR0OFhC/f2qyE11skW3M/fBaq8RGD/DHSyggUFDaf1eu1+7rmWK9eEeVSP1VG+CM NNJ+LoQlJ49hMzqjAXYNkW8LjgaoZMQdwjO3uoUkCUODNQpyFkbsGPkS3le8oB3BeSwR oCow== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b=0NOUSwgw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a6si1996338ejs.282.2021.01.07.01.23.35; Thu, 07 Jan 2021 01:23:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b=0NOUSwgw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727464AbhAGJUw (ORCPT + 99 others); Thu, 7 Jan 2021 04:20:52 -0500 Received: from esa.microchip.iphmx.com ([68.232.153.233]:55668 "EHLO esa.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726326AbhAGJUu (ORCPT ); Thu, 7 Jan 2021 04:20:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1610011251; x=1641547251; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=gp0CFQRZ5FxZ0LK9GyNyeJ3bFuor8ddJpyhyjnRbeTY=; b=0NOUSwgw9Nfqalpveo9mwYAAQsC5A80y98syvC4Kgg5ihjY2+Uok+sLS LrzFAZo/oL07IGbbvSlsLiSLfqQhzxFjIxwrJ6HvNTzrqxHatpicqQR5o ZM44AcrobvBHUqZ//aybnawUQYqEu8G4AgXlIxQIdw4JMBoCwTFXZYn17 KkAGTgpeU6t2pB70Onf2E/VC/SLepd+IOI5LbhsRMlizmZOaKL+FC16Oq uz1mK9B6SxDVXBMt/eRmPW/hk0WeRs6B1YA6B/V4FxqEk6fhiJqQtYN+i b96QLvMAiWtlO8TChhYYparHEqlvnUHNW/nO2JybLVYVmugv8mevafrqE A==; IronPort-SDR: 7JX5pJ5anfoSpwEmOB0NPZT1LfeL8mChBcw9kDB7EUV3GZ5JzH2QkkvnE9BzIHXX7l0si97xju GNWBOA8YYPw4TyDpTg3v6/Zag2r1uKvpGNiuOUqughO9VgemUUkZ4lx2h8OGRMRHfO5Z9C+IPg 1MRPnVlY0ljDN55mzNR28WVAtXKk6l0ja1GR0kSg24XOKePxzqrK2wUMLVPhO/CFyRXU/C1QXU wcWF3ffIovQvNtMmNsH1MO+EpFbAZFnCFqvGZ4Nxjo6e9DWgSQbC/S+bxOk/fcz50LR9PcHVDC oYc= X-IronPort-AV: E=Sophos;i="5.79,329,1602572400"; d="scan'208";a="104566787" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa5.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 07 Jan 2021 02:19:35 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1979.3; Thu, 7 Jan 2021 02:19:33 -0700 Received: from mchp-dev-shegelun.microchip.com (10.10.115.15) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.1979.3 via Frontend Transport; Thu, 7 Jan 2021 02:19:31 -0700 From: Steen Hegelund To: Kishon Vijay Abraham I , Vinod Koul , "Rob Herring" , Device Tree List CC: Steen Hegelund , Alexandre Belloni , Lars Povlsen , Bjarni Jonasson , Microchip UNG Driver List , , , Rob Herring , Andrew Lunn Subject: [PATCH v12 1/4] dt-bindings: phy: Add sparx5-serdes bindings Date: Thu, 7 Jan 2021 10:19:21 +0100 Message-ID: <20210107091924.1569575-2-steen.hegelund@microchip.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210107091924.1569575-1-steen.hegelund@microchip.com> References: <20210107091924.1569575-1-steen.hegelund@microchip.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Document the Sparx5 ethernet serdes phy driver bindings. Signed-off-by: Lars Povlsen Signed-off-by: Steen Hegelund Reviewed-by: Rob Herring Reviewed-by: Andrew Lunn --- .../bindings/phy/microchip,sparx5-serdes.yaml | 100 ++++++++++++++++++ 1 file changed, 100 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/microchip,sparx5-serdes.yaml diff --git a/Documentation/devicetree/bindings/phy/microchip,sparx5-serdes.yaml b/Documentation/devicetree/bindings/phy/microchip,sparx5-serdes.yaml new file mode 100644 index 000000000000..bdbdb3bbddbe --- /dev/null +++ b/Documentation/devicetree/bindings/phy/microchip,sparx5-serdes.yaml @@ -0,0 +1,100 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/microchip,sparx5-serdes.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Microchip Sparx5 Serdes controller + +maintainers: + - Steen Hegelund + +description: | + The Sparx5 SERDES interfaces share the same basic functionality, but + support different operating modes and line rates. + + The following list lists the SERDES features: + + * RX Adaptive Decision Feedback Equalizer (DFE) + * Programmable continuous time linear equalizer (CTLE) + * Rx variable gain control + * Rx built-in fault detector (loss-of-lock/loss-of-signal) + * Adjustable tx de-emphasis (FFE) + * Tx output amplitude control + * Supports rx eye monitor + * Multiple loopback modes + * Prbs generator and checker + * Polarity inversion control + + SERDES6G: + + The SERDES6G is a high-speed SERDES interface, which can operate at + the following data rates: + + * 100 Mbps (100BASE-FX) + * 1.25 Gbps (SGMII/1000BASE-X/1000BASE-KX) + * 3.125 Gbps (2.5GBASE-X/2.5GBASE-KX) + * 5.15625 Gbps (5GBASE-KR/5G-USXGMII) + + SERDES10G + + The SERDES10G is a high-speed SERDES interface, which can operate at + the following data rates: + + * 100 Mbps (100BASE-FX) + * 1.25 Gbps (SGMII/1000BASE-X/1000BASE-KX) + * 3.125 Gbps (2.5GBASE-X/2.5GBASE-KX) + * 5 Gbps (QSGMII/USGMII) + * 5.15625 Gbps (5GBASE-KR/5G-USXGMII) + * 10 Gbps (10G-USGMII) + * 10.3125 Gbps (10GBASE-R/10GBASE-KR/USXGMII) + + SERDES25G + + The SERDES25G is a high-speed SERDES interface, which can operate at + the following data rates: + + * 1.25 Gbps (SGMII/1000BASE-X/1000BASE-KX) + * 3.125 Gbps (2.5GBASE-X/2.5GBASE-KX) + * 5 Gbps (QSGMII/USGMII) + * 5.15625 Gbps (5GBASE-KR/5G-USXGMII) + * 10 Gbps (10G-USGMII) + * 10.3125 Gbps (10GBASE-R/10GBASE-KR/USXGMII) + * 25.78125 Gbps (25GBASE-KR/25GBASE-CR/25GBASE-SR/25GBASE-LR/25GBASE-ER) + +properties: + $nodename: + pattern: "^serdes@[0-9a-f]+$" + + compatible: + const: microchip,sparx5-serdes + + reg: + minItems: 1 + + '#phy-cells': + const: 1 + description: | + - The main serdes input port + + clocks: + maxItems: 1 + +required: + - compatible + - reg + - '#phy-cells' + - clocks + +additionalProperties: false + +examples: + - | + serdes: serdes@10808000 { + compatible = "microchip,sparx5-serdes"; + #phy-cells = <1>; + clocks = <&sys_clk>; + reg = <0x10808000 0x5d0000>; + }; + +... -- 2.29.2