Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp317497pxk; Thu, 1 Oct 2020 03:15:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyTkQNjeshgeOjgXll8DLhLEikFo+Dr48gh9btwEtaFPvhNMKzuB8FQMxyGFRd8U8LTmh8H X-Received: by 2002:a05:6402:22b7:: with SMTP id cx23mr7592702edb.246.1601547325703; Thu, 01 Oct 2020 03:15:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601547325; cv=none; d=google.com; s=arc-20160816; b=g4likonef2BtZxhdMdKBP6e6nCimZOZWV7ywwG7QWOUk4Iia4WS56DYPpjbCmGQzCz 4aM/9rESc1DbG7Nm6sg76T97wq0Nu4oJV0i2NwfM12NMVUQSMOU/gS3jW8yIPXy+HZ0O h96WFe9JNdqvCZ9b97Cy1MOu2rYyf8adp7CPBr9OAp1GzvYDNg9AX1SCwB92g5Oj+xBp YgjEA38AF3iWmTbKV01CEJWvTfkoBUIosyig9jONPiYiy/p8yMpbiR0ERTuVoDKA9BFq riwxzPqR6Pj1j+AzuubAKfS+HdrUR7j1utmmJEKAq5l/ixHP04DGfrIcpxy5MWJEOtvD IZlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from; bh=edjTrSVd7dNxk4nNjfZCkP36eMIWMoVEqHct4KwRWYE=; b=goRp1aykY/ij7yKmQ6m8fDVb4i4ysgxJktAQllZaq388o1zB+U4QCkaopY84K4w94T d7b67rQ+mioT7Lwcqi2s5KjPveuA02IAKURCl1kmwui7afyiI9Ru/v9XOMKT01Zq7cg1 YM5oDOxqv+kTRSEKO7hEZYMHSI6AwFE5ZemQD4OqqouKig47K71v78ApcPXxtTG8XX5R 5Vmp3qWC1fht/YR9YiHaAp1MLoBp6KnDkCRChPsB/sF59u4cvjMQ0tYeUgBOraKU6JXl n3Ce72ry5IqUmyTmc/WZtFutDTt0yurhFiDlCqa2XtccaHTGh9GTWjJZy0q/CcqE1VSS 167Q== 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 f23si2965083edm.413.2020.10.01.03.14.58; Thu, 01 Oct 2020 03:15:25 -0700 (PDT) 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 S1731920AbgJAKKy (ORCPT + 99 others); Thu, 1 Oct 2020 06:10:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46202 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731922AbgJAKKW (ORCPT ); Thu, 1 Oct 2020 06:10:22 -0400 Received: from albert.telenet-ops.be (albert.telenet-ops.be [IPv6:2a02:1800:110:4::f00:1a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 35416C061787 for ; Thu, 1 Oct 2020 03:10:21 -0700 (PDT) Received: from ramsan ([84.195.186.194]) by albert.telenet-ops.be with bizsmtp id aaAA230064C55Sk06aAABl; Thu, 01 Oct 2020 12:10:19 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan with esmtp (Exim 4.90_1) (envelope-from ) id 1kNvXN-0001MV-UK; Thu, 01 Oct 2020 12:10:09 +0200 Received: from geert by rox.of.borg with local (Exim 4.90_1) (envelope-from ) id 1kNvXN-0003kY-U9; Thu, 01 Oct 2020 12:10:09 +0200 From: Geert Uytterhoeven To: "David S . Miller" , Jakub Kicinski Cc: Rob Herring , Sergei Shtylyov , Florian Fainelli , Andrew Lunn , Oleksij Rempel , Philippe Schenker , Heiner Kallweit , Dan Murphy , Kazuya Mizuguchi , Wolfram Sang , Magnus Damm , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH net-next v4 resend 1/5] dt-bindings: net: ethernet-controller: Add internal delay properties Date: Thu, 1 Oct 2020 12:10:04 +0200 Message-Id: <20201001101008.14365-2-geert+renesas@glider.be> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201001101008.14365-1-geert+renesas@glider.be> References: <20201001101008.14365-1-geert+renesas@glider.be> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Internal Receive and Transmit Clock Delays are a common setting for RGMII capable devices. While these delays are typically applied by the PHY, some MACs support configuring internal clock delay settings, too. Hence add standardized properties to configure this. This is the MAC counterpart of commit 9150069bf5fc0e86 ("dt-bindings: net: Add tx and rx internal delays"), which applies to the PHY. Signed-off-by: Geert Uytterhoeven Reviewed-by: Rob Herring Reviewed-by: Florian Fainelli --- v4: - Add Reviewed-by, v3: - Add Reviewed-by, v2: - New. --- .../bindings/net/ethernet-controller.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Documentation/devicetree/bindings/net/ethernet-controller.yaml b/Documentation/devicetree/bindings/net/ethernet-controller.yaml index 1c4474036d46a9dc..e9bb386066540676 100644 --- a/Documentation/devicetree/bindings/net/ethernet-controller.yaml +++ b/Documentation/devicetree/bindings/net/ethernet-controller.yaml @@ -119,6 +119,13 @@ properties: and is useful for determining certain configuration settings such as flow control thresholds. + rx-internal-delay-ps: + $ref: /schemas/types.yaml#/definitions/uint32 + description: | + RGMII Receive Clock Delay defined in pico seconds. + This is used for controllers that have configurable RX internal delays. + If this property is present then the MAC applies the RX delay. + sfp: $ref: /schemas/types.yaml#definitions/phandle description: @@ -130,6 +137,13 @@ properties: The size of the controller\'s transmit fifo in bytes. This is used for components that can have configurable fifo sizes. + tx-internal-delay-ps: + $ref: /schemas/types.yaml#/definitions/uint32 + description: | + RGMII Transmit Clock Delay defined in pico seconds. + This is used for controllers that have configurable TX internal delays. + If this property is present then the MAC applies the TX delay. + managed: description: Specifies the PHY management type. If auto is set and fixed-link -- 2.17.1