From patchwork Wed Jun 24 12:16:03 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Murphy X-Patchwork-Id: 191647 Delivered-To: patch@linaro.org Received: by 2002:a92:1f07:0:0:0:0:0 with SMTP id i7csp532846ile; Wed, 24 Jun 2020 05:16:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyfBk8887JOr28P7H7w41bScPTKLlTqwO60M1pEw5sjUuFMRxDYGEGi7W8snESYavjimhCO X-Received: by 2002:a17:906:488b:: with SMTP id v11mr15981623ejq.173.1593001009712; Wed, 24 Jun 2020 05:16:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593001009; cv=none; d=google.com; s=arc-20160816; b=o4/0l8KXcMJjgAUd8jUkl47OawN9V3nfiCaoI+jUyatLt3GTGBs4NS++SCuFQ79jNV 73FsC58Ci19seRlllTaV2p7RDKxsnpN9g1+fFVKvzmjIdJylIJW/ZtKXVDkLk37O/Cs8 Y1Qp+NcwYaThtG2iGWsRI/QRkFN2sPwNJqU1PQIAUoOQQvz3ERQypeRGN04XT/9SIlbp p3utmjxrkAP753+aakuIlzyFv+anlYfFnqVXK94hV7ELGpLWJEaER3Ldd2nzDj5aaXYr +tpsTOzYAsVfmXsuv1d974l9FoflEvbevVapnjtpCkSK3Cc6o6KzMZOa7An4zq5fLbxr FuIA== 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=IqDPNATb8mP8/CCr4C4173BfBC7DH1Kcd+qSzxE0Qti/X7YvOAFXD4/PmH2PAGTysa NqkuJsmrenUOM+c//Hr3eqetf1m25V4jpG9oXiPdL2DP7JhblwcQHEuuImLv/8Eoah5z oLbm0JeCD8jCR885DKYGqLEE77t3aNh/YsTb5XwYJHNxvTwRzQmltRS+qsSeAlYM+HPE HLu3fiNnJ+mAAJ5ZzZ0XgX7uMGZWkPFuvCSp6NH4beAbJ963pJ3t3lztwUMNYbMCHzzl +kulQzmJ0aZxs9az2Jgzvw4KWQlbhApQlmZK+HLHAjN8vrgAqae82jMYx7wuL2N3VoPO B8kg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=NN1xC0Ws; 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 v16si7902562edr.93.2020.06.24.05.16.49; Wed, 24 Jun 2020 05:16:49 -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=NN1xC0Ws; 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 S2403866AbgFXMQn (ORCPT + 9 others); Wed, 24 Jun 2020 08:16:43 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:46674 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2403829AbgFXMQg (ORCPT ); Wed, 24 Jun 2020 08:16:36 -0400 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 05OCGSKK035729; Wed, 24 Jun 2020 07:16:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1593000988; bh=eShyx82GLaQ3xsgsj9ve463coidBb5dHGAfrzfcrN0w=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=NN1xC0Ws5TO+UCo3mBnFyImKBMIHqx6bdPf6wFHGKK81ugPEGrTN+BKzWbN3xpLXO nWKZiqWQ/wT3O06z0cYEkEQ5YOhr9OoSwfatAiVzMAvqIsL2n/2uD73yJJ1sTkwvf/ bJa5zuRas02dzKeXjTxsI6c6LCjEY4RDrFt/CixQ= Received: from DLEE112.ent.ti.com (dlee112.ent.ti.com [157.170.170.23]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 05OCGS7t021194 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 24 Jun 2020 07:16:28 -0500 Received: from DLEE102.ent.ti.com (157.170.170.32) by DLEE112.ent.ti.com (157.170.170.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Wed, 24 Jun 2020 07:16:28 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE102.ent.ti.com (157.170.170.32) 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, 24 Jun 2020 07:16:28 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 05OCGR6F056875; Wed, 24 Jun 2020 07:16:27 -0500 From: Dan Murphy To: , , , , CC: , , , Dan Murphy Subject: [PATCH net-next v11 3/5] dt-bindings: net: Add RGMII internal delay for DP83869 Date: Wed, 24 Jun 2020 07:16:03 -0500 Message-ID: <20200624121605.18259-4-dmurphy@ti.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200624121605.18259-1-dmurphy@ti.com> References: <20200624121605.18259-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>; }; };