From patchwork Thu Jun 18 21:10:09 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Murphy X-Patchwork-Id: 191150 Delivered-To: patch@linaro.org Received: by 2002:a92:cf06:0:0:0:0:0 with SMTP id c6csp1787211ilo; Thu, 18 Jun 2020 14:10:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJynmKqGc5CdmfHZObv+ZD59vx9mtPFAt8RJ0nSX6fIbm0RW4bMXH9ce588oEn9AK0Y4OI20 X-Received: by 2002:a17:906:e47:: with SMTP id q7mr580300eji.279.1592514642967; Thu, 18 Jun 2020 14:10:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592514642; cv=none; d=google.com; s=arc-20160816; b=0/VlQYgU4S/fqNlYbr3nGFHYqfbsG0u+shchYlFu90vAkKrsoGrUA0RT26SPZzi646 q/AlFUda8uqbwREubLPH06rR962744EFz/TSkMkdFGMuEBXjXR6NOE8cChwOsqssmtKP KnvxKk8rY8R3xT69cOkReLqb4IuovF0wshBVVkMQH8ThvV93Ga4F1o6oo9JzX5Mn0nMx 4J/Ar+Xr2DJOTocfRfqb3J289DpuZnQv++broDIRRzcFgdpCJZ1OoG2x6ZtS1lKIlpZl pCyIULck88F0UrH9Z2g/YyLsTbP810fTDA0dsvkLmWvyoKcXmxiJlxn5hB/fohwGxBFs 4Tog== 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=dOsbYd18d8OGfxZXfUun0U/TQfDfAEFKX9U2RpNI7Q8Zi7Od6Kpbc1b0OFZYYYhWzw GFlFbOS60k/l+NMgYDq4D95WKrkc693BY9WNKX5wESNj0wLPYod0+b+7AbUsztPPqK1X 2IISP/lBuylxaDVoT8oc0GghcznEze7qyS6mb3PJbTaBQcNK4PvRz/Y4Mo47xZ9nO/t7 780YZl+CPxmzy5JyosBYBT7IK1xWfnBcCPR8BKGVGo0Iav6z4h1KtrbGfVxQjGokIpcr lxxxa/Z6b0iON6JqfEEUDfgWiB2y0dlc0lSg67tDrjFh8roWxoVWxJgFS1iirFeya/vI G7yw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=sXY5TAz+; 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 u2si2758870edx.353.2020.06.18.14.10.42; Thu, 18 Jun 2020 14:10:42 -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=sXY5TAz+; 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 S1731119AbgFRVKm (ORCPT + 9 others); Thu, 18 Jun 2020 17:10:42 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:53348 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730989AbgFRVKi (ORCPT ); Thu, 18 Jun 2020 17:10:38 -0400 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 05ILAXJV068355; Thu, 18 Jun 2020 16:10:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1592514633; bh=eShyx82GLaQ3xsgsj9ve463coidBb5dHGAfrzfcrN0w=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=sXY5TAz+WB6YGm1xb8wVwCxA4cRSYw0sOGinb5VFzMQBRIzlCs72qWjH49Rj/9V/M LAUHY0Wk4Q+OTvgzGTVSs/RJmVSKrX9Fhck1f3mCdJad4vZfhNDmZd51ziAmE0H/nO hD/hWBJNUjGoLn3GPgz8rYytBpmwBylLMvoXxSlo= Received: from DFLE113.ent.ti.com (dfle113.ent.ti.com [10.64.6.34]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 05ILAX0U021855 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 18 Jun 2020 16:10:33 -0500 Received: from DFLE109.ent.ti.com (10.64.6.30) 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; Thu, 18 Jun 2020 16:10:33 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE109.ent.ti.com (10.64.6.30) 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; Thu, 18 Jun 2020 16:10:33 -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 05ILAX0T065829; Thu, 18 Jun 2020 16:10:33 -0500 From: Dan Murphy To: , , , , CC: , , , Dan Murphy Subject: [PATCH net-next v8 3/5] dt-bindings: net: Add RGMII internal delay for DP83869 Date: Thu, 18 Jun 2020 16:10:09 -0500 Message-ID: <20200618211011.28837-4-dmurphy@ti.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200618211011.28837-1-dmurphy@ti.com> References: <20200618211011.28837-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>; }; };