Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp186456pxb; Thu, 14 Jan 2021 03:21:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJwdp1EGcT1u42hujXhKiq02DB7HcIk8YBQZARxtBSFVFKyy14em4sOcLsLHFrQ/tx4vBM1A X-Received: by 2002:a17:906:b252:: with SMTP id ce18mr4884626ejb.5.1610623315676; Thu, 14 Jan 2021 03:21:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610623315; cv=none; d=google.com; s=arc-20160816; b=a3vKrKohfTwNNSTAvuw0ZqM1FCalJNcSwJZPCYL09Lcd+EJPrUVwGYHtM1ggIhhZrG 04Te8fm3u8SW2/qTapf1whkhigsL+Z8pqWgbHfHwYYYm9J+6I8Ld/CT+1eK7sCyFiAXR W1UhRPpM06Z9BaMyPgSHYRXgVSpxtboEmiJLl0ZWvopi/7/hu+fri6pc6HoqSEfj2NRT eNlhLgeu3z2tMQRe6qzrHEjyfPE+BNb+/qRxqVv/mIRIQnxJBQ3a6Km/ASbWgZLTRR38 AUszZoQQiWH00vbCXPDKjY534dosjU32Ysq8XQ5+lD0Ihgl3pDNvMMwJ7JABWtBAcjwN /jyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=VO4ZenMvK3aYCNkl8WMHPtkkCChW1K3P7xZ5GNsOVGw=; b=IVgTuxnHYP3HGJGumJh04XPuBdc93JxI2KbpUIoVR1ppcT5pVlsckAEFKfFAdeBbr/ Qo2LqtSy/JVLdUWlOtKMCFwiNuf3oIux0qz59X7BcY6xYDpB45hy4Kqx5Cpf79yGzY0d TFeDEmQyaGrbOB8kqHrcdb/WmD1MQP/BLGb3RKCZCeqsAUFmoCHSONCwuE0bhIz4hgoe MikpMxSlIqoC9BHdvnGQC+kAsDuwrbFOhnME3QAcg1XzWF5crO9VTvEjnoRqN7gZ6kaF /KMlTC4Roofwl/dFzKd2AYjSqfwb5xe23XIA7QMXWuQy71TVNYAyZ+alsA6XsXrvJ9/u U8Ww== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u3si2354913edy.299.2021.01.14.03.21.31; Thu, 14 Jan 2021 03:21:55 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727872AbhANLTW (ORCPT + 99 others); Thu, 14 Jan 2021 06:19:22 -0500 Received: from mslow2.mail.gandi.net ([217.70.178.242]:53162 "EHLO mslow2.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726262AbhANLTU (ORCPT ); Thu, 14 Jan 2021 06:19:20 -0500 Received: from relay9-d.mail.gandi.net (unknown [217.70.183.199]) by mslow2.mail.gandi.net (Postfix) with ESMTP id 148523B2D11; Thu, 14 Jan 2021 11:03:39 +0000 (UTC) X-Originating-IP: 86.202.109.140 Received: from localhost (lfbn-lyo-1-13-140.w86-202.abo.wanadoo.fr [86.202.109.140]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id 5EAE2FF802; Thu, 14 Jan 2021 11:02:15 +0000 (UTC) Date: Thu, 14 Jan 2021 12:02:14 +0100 From: Alexandre Belloni To: Steen Hegelund Cc: Kishon Vijay Abraham I , Vinod Koul , Rob Herring , Device Tree List , Lars Povlsen , Bjarni Jonasson , Microchip UNG Driver List , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Rob Herring , Andrew Lunn Subject: Re: [PATCH v12 1/4] dt-bindings: phy: Add sparx5-serdes bindings Message-ID: <20210114110214.GY3654@piout.net> References: <20210107091924.1569575-1-steen.hegelund@microchip.com> <20210107091924.1569575-2-steen.hegelund@microchip.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210107091924.1569575-2-steen.hegelund@microchip.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/01/2021 10:19:21+0100, Steen Hegelund wrote: > 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 Reviewed-by: Alexandre Belloni > --- > .../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 > -- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com