From patchwork Wed Jun 17 18:20:16 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Murphy X-Patchwork-Id: 190884 Delivered-To: patch@linaro.org Received: by 2002:a92:cf06:0:0:0:0:0 with SMTP id c6csp688295ilo; Wed, 17 Jun 2020 11:20:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzXtg0JpxHM5IiIT4OikS/yCX8uRDS05WtmjvslVdYWjGy45VSzs/+CzvYxgu/TrCldZomE X-Received: by 2002:a17:906:ae14:: with SMTP id le20mr382825ejb.307.1592418047514; Wed, 17 Jun 2020 11:20:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592418047; cv=none; d=google.com; s=arc-20160816; b=ujcB/UTbHaw4F0UhBpojHgm5CJxav/+AdkjCo9/PvsseR4hDod6xyNEVjbVBjkKkxr pNwZMI3u8/CQzKWOL0+gi6/lKReU3y8hdtr4fGlDbRZ2QYadUEEWDPVMDPhQiYJO88QP uSMXecAeWGkFHT61sp/bIUeA0SoRIsi3onQ4TtnJnQ6InQtiLV9RTzCDW5+H4XdLwNHp ivrscK2gEeLVEyqP7HXCWBItZtbQxNYpfIgYVSZLIuSzCvvn+r7HpWweON/eAIjPc7r/ Fy4QM+MVQTghUEA8RzuDNYFbUfEvjEeu79Ln7S3jyoBQbQ7MiSopVMg4gE6b3JDiwvK8 UdKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=eShyx82GLaQ3xsgsj9ve463coidBb5dHGAfrzfcrN0w=; b=nXnfhwjFBw2wGOsn78vgN4Qm7Wbh6O+RrEelyXNqNhBkP3nFZJVR7ucDGojwZsmaui jpvTGI+8D+gSk3mbiG/TMsOfaF1SgWD1pMsvAgkl7Cj8m9wwZAlugZDbDOWU6urMwmJi rqJzWlStSjSRp8XKbzWUIya3STHY8WT4R6IiAQLL+ZEHv0YqxHUL3e1gYxkomvqFue+l HWytUPi6ECyQVG2hrS6fGYSEPXshcWZJTJ0NDXmz6mXeRROvh3ihF2xhm0rzn1KGTNHg 9jg6CryBJyw+2xGcAIGZ+RbX6tandO3vBgSBNMiYI9nmVsK3VIiK6AK6/1g36S683Qz0 3YAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=CuhflzfH; spf=pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gl21si362791ejb.739.2020.06.17.11.20.47; Wed, 17 Jun 2020 11:20:47 -0700 (PDT) Received-SPF: pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=CuhflzfH; spf=pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727797AbgFQSUq (ORCPT + 9 others); Wed, 17 Jun 2020 14:20:46 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:58076 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727783AbgFQSUn (ORCPT ); Wed, 17 Jun 2020 14:20:43 -0400 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 05HIKbrb039695; Wed, 17 Jun 2020 13:20:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1592418037; bh=eShyx82GLaQ3xsgsj9ve463coidBb5dHGAfrzfcrN0w=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=CuhflzfH3KGtts3hBJp6xAbsM+VP1UrLxbm3Q575CuspRCdiTJtUcIC+4bcdsFqkH n5ECLwVgizVW2CDGO/6Wl4ZIA24JFwf6IQ9XkxMFjZ0I6xiL7YtAMcDgiHo4GfjqrH qVyCSjFRsKBJJDgvMMVwC0TSukJZACDDPzRWwwro= Received: from DFLE113.ent.ti.com (dfle113.ent.ti.com [10.64.6.34]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 05HIKab0115987 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 17 Jun 2020 13:20:37 -0500 Received: from DFLE108.ent.ti.com (10.64.6.29) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Wed, 17 Jun 2020 13:20:36 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE108.ent.ti.com (10.64.6.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3 via Frontend Transport; Wed, 17 Jun 2020 13:20:36 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 05HIKaUC129480; Wed, 17 Jun 2020 13:20:36 -0500 From: Dan Murphy To: , , , , CC: , , , Dan Murphy Subject: [PATCH net-next v7 3/6] dt-bindings: net: Add RGMII internal delay for DP83869 Date: Wed, 17 Jun 2020 13:20:16 -0500 Message-ID: <20200617182019.6790-4-dmurphy@ti.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200617182019.6790-1-dmurphy@ti.com> References: <20200617182019.6790-1-dmurphy@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Add the internal delay values into the header and update the binding with the internal delay properties. Signed-off-by: Dan Murphy --- .../devicetree/bindings/net/ti,dp83869.yaml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) -- 2.26.2 diff --git a/Documentation/devicetree/bindings/net/ti,dp83869.yaml b/Documentation/devicetree/bindings/net/ti,dp83869.yaml index 5b69ef03bbf7..71e90a3e4652 100644 --- a/Documentation/devicetree/bindings/net/ti,dp83869.yaml +++ b/Documentation/devicetree/bindings/net/ti,dp83869.yaml @@ -8,7 +8,7 @@ $schema: "http://devicetree.org/meta-schemas/core.yaml#" title: TI DP83869 ethernet PHY allOf: - - $ref: "ethernet-controller.yaml#" + - $ref: "ethernet-phy.yaml#" maintainers: - Dan Murphy @@ -64,6 +64,18 @@ properties: Operational mode for the PHY. If this is not set then the operational mode is set by the straps. see dt-bindings/net/ti-dp83869.h for values + rx-internal-delay-ps: + description: Delay is in pico seconds + enum: [ 250, 500, 750, 1000, 1250, 1500, 1750, 2000, 2250, 2500, 2750, 3000, + 3250, 3500, 3750, 4000 ] + default: 2000 + + tx-internal-delay-ps: + description: Delay is in pico seconds + enum: [ 250, 500, 750, 1000, 1250, 1500, 1750, 2000, 2250, 2500, 2750, 3000, + 3250, 3500, 3750, 4000 ] + default: 2000 + required: - reg @@ -80,5 +92,7 @@ examples: ti,op-mode = ; ti,max-output-impedance = "true"; ti,clk-output-sel = ; + rx-internal-delay-ps = <2000>; + tx-internal-delay-ps = <2000>; }; };