From patchwork Tue Jun 23 13:48:34 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Murphy X-Patchwork-Id: 191485 Delivered-To: patch@linaro.org Received: by 2002:a92:1f07:0:0:0:0:0 with SMTP id i7csp1996482ile; Tue, 23 Jun 2020 06:49:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyfzQm+Za4oTU8PHAlPi1S5+MU9iR5uE45DmyvUifiZ85hHbUvUUxywLN69U3sW1fi6l8ja X-Received: by 2002:a50:8425:: with SMTP id 34mr22322926edp.314.1592920146902; Tue, 23 Jun 2020 06:49:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592920146; cv=none; d=google.com; s=arc-20160816; b=SuKJikbzjy0hJCtgnjMOinm+cFoNhsHujw38b/TsiTy6hNGtqzfpNOyqieExmClSty zUASjvYNjFynd+qQRGsTauEqo0BJJPO7x1jKPAyRp59PWDElkp0FhS2TfxeQP0HiNb9j tRjOOJzV/JtM6dODHP4EbIPPYnDruminnI2B8MHelTnAv/3RC36vbGrHS7uEK3Um68tM v9h3EYaE5dpB6JOFIPVuIBkRc4o5H1wz5STJ+NABZfoMWMHXnv34JgF6b2dClQyXqOsU CuxPDo8aw70FN2FgoK2anLY/ln9jiUTEINkscrAb8PSxVnJdAYaxUMHodTs5VuIDZp27 K/tg== 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=J3jF/26Q039xqcPuCluJH+aEZAiqmwB8eY/PzkrwAjlMdITXAEWNXChIp8JHEGZKD7 3Zjtu7yBQSjVXpz+vSBC6Iu4YtHVZUJ1X94y7OBohgasBitX3wkBxHGOGt0x9sEheuI/ qJ+9AqUaCCa5JHahldOwEYaKpZPIYECKWU/JoVYaGF3RtaT9jYuwAIBho9oq8QtQwcBv kzT7xb7SOLFd5V2Gtt5HYUQB4VDvM36hGv9KBzvHpvSsUrlyHalU5cc+qCbHGpKn+aat V+FiyU+q/IoO7GdOjSNyMerj9YKOE9t3S3SlDpAX+2v4Su85yXhwQ0NOTFckwz3kS8eI vb3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=O8VeP0Ym; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-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 wp10si10691361ejb.56.2020.06.23.06.49.06; Tue, 23 Jun 2020 06:49:06 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-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=O8VeP0Ym; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-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 S1732779AbgFWNtE (ORCPT + 6 others); Tue, 23 Jun 2020 09:49:04 -0400 Received: from lelv0143.ext.ti.com ([198.47.23.248]:50822 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732762AbgFWNtD (ORCPT ); Tue, 23 Jun 2020 09:49:03 -0400 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 05NDmwGV007435; Tue, 23 Jun 2020 08:48:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1592920138; bh=eShyx82GLaQ3xsgsj9ve463coidBb5dHGAfrzfcrN0w=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=O8VeP0YmziDfyrxX6UHKp7EaV83P/r5qBnx2chGfg7mfXnFtf4xzmIlcnw5geHw7x YDKWpbE6G6zoiu4XOrTpCWqN5LNm6fJPY9hkhVzS7HLvYiXAAF4V+PCLDj45kukfh9 oAmCIed28cE1PFo9jb4qYBFr0d44NWip6f1MFLw0= Received: from DLEE108.ent.ti.com (dlee108.ent.ti.com [157.170.170.38]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 05NDmwNM124054 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 23 Jun 2020 08:48:58 -0500 Received: from DLEE103.ent.ti.com (157.170.170.33) by DLEE108.ent.ti.com (157.170.170.38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Tue, 23 Jun 2020 08:48:57 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE103.ent.ti.com (157.170.170.33) 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; Tue, 23 Jun 2020 08:48:57 -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 05NDmvWw011965; Tue, 23 Jun 2020 08:48:57 -0500 From: Dan Murphy To: , , , , CC: , , , Dan Murphy Subject: [PATCH net-next v10 3/5] dt-bindings: net: Add RGMII internal delay for DP83869 Date: Tue, 23 Jun 2020 08:48:34 -0500 Message-ID: <20200623134836.21981-4-dmurphy@ti.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200623134836.21981-1-dmurphy@ti.com> References: <20200623134836.21981-1-dmurphy@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@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>; }; };