From patchwork Wed Jun 24 12:16:01 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Murphy X-Patchwork-Id: 191645 Delivered-To: patch@linaro.org Received: by 2002:a92:1f07:0:0:0:0:0 with SMTP id i7csp532560ile; Wed, 24 Jun 2020 05:16:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxnNPTisbB2uo4W+mDExaJUfqJiTvF5KcfJbha2xRLd9hO3L9YeqLF6CkClZBX5g9cmICqC X-Received: by 2002:a05:6402:2207:: with SMTP id cq7mr27362176edb.186.1593000990017; Wed, 24 Jun 2020 05:16:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593000990; cv=none; d=google.com; s=arc-20160816; b=CZrBwOA272QljszrIjuwpDpJ6gAOH6XyRmQESg1VO9UdEUxi5tx9azH8tC3obKlS6X L4t3hj056De3lOu1aKK7h3NY1K797FFNiEh/U6dvgAJ+IAHhMqdMSOlsIWUZ0JM8EkNE mt78ZcDWKzNkjsngbdz5UXJqyjAr2B9/uSLjcbn2WUH6bPDwO9lNxdLOU7mLYxLSU0i2 8i1eysxL3gHzkC0KdDOCCJsmcuhUSP/PbQijb0gxGJgdD1jvSoXjxUO9OxowW1Uq6wcR 2VGOzRwWOYGjW9zMEydAb0t+9T8vFYBzsRCufklQi5JIiH2cySFlU3QQJkwj8xVV4Tpz NcWA== 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=NjHRGQyuPawgk7rsFcYQJon3wpp+3lTd1hxMTCsjXxs=; b=Vo9xNGnWPaP/js3WsXH91RFUOcSUBtp67Xwal0Z5xNrkUYryvIlpzaM14BbNZbeonD r1N2mIbjcevJoVziOAh5kLeq1KBfQKHZVkLH//J6z7WTMseMcnk9UGlQ+cHFXwnlYzCo VVq5NRMx99uauC39+Q3NZyXTtePCduGy+fWe93cmgAMeF7bniDW11SG8d+33xHWTtDhV RsYZ2GurdZA5eqZ2fhtRM0bPv7lmY7SFzWL3HQ/8QgnnpxEMD8MVRWD+Oc6P87TFPDD+ 2YCEs8FPLJtEYVg4ecYMIlDmZzhMpD8wKHsmTOitrKPmK231yE063K5FY58qfvRdg6ad C9ug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=wZgsYrDc; 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 m17si13317464eds.189.2020.06.24.05.16.29; Wed, 24 Jun 2020 05:16:30 -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=wZgsYrDc; 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 S2390530AbgFXMQ0 (ORCPT + 9 others); Wed, 24 Jun 2020 08:16:26 -0400 Received: from lelv0143.ext.ti.com ([198.47.23.248]:43924 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388296AbgFXMQY (ORCPT ); Wed, 24 Jun 2020 08:16:24 -0400 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 05OCGHJp100308; Wed, 24 Jun 2020 07:16:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1593000977; bh=NjHRGQyuPawgk7rsFcYQJon3wpp+3lTd1hxMTCsjXxs=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=wZgsYrDcKEZoSfSUBSRF419WH3vJmF0UI9QZga2YeKfYOL2GQ+yaiP7mqGE5nJzXF 6hPdj2abt244nq2GjcZ3Y3ob+CljFCT7zsUCA4uSJQGCSA2IKPaFLgtXh8lNNekwvg DS2hi68ywqKKV+1tbo4BLRxPQecDXEjHNjp9xFWE= Received: from DFLE112.ent.ti.com (dfle112.ent.ti.com [10.64.6.33]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 05OCGHXY069349 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 24 Jun 2020 07:16:17 -0500 Received: from DFLE101.ent.ti.com (10.64.6.22) by DFLE112.ent.ti.com (10.64.6.33) 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:17 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE101.ent.ti.com (10.64.6.22) 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:17 -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 05OCGHqW056663; Wed, 24 Jun 2020 07:16:17 -0500 From: Dan Murphy To: , , , , CC: , , , Dan Murphy Subject: [PATCH net-next v11 1/5] dt-bindings: net: Add tx and rx internal delays Date: Wed, 24 Jun 2020 07:16:01 -0500 Message-ID: <20200624121605.18259-2-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 tx-internal-delays and rx-internal-delays are a common setting for RGMII capable devices. These properties are used when the phy-mode or phy-controller is set to rgmii-id, rgmii-rxid or rgmii-txid. These modes indicate to the controller that the PHY will add the internal delay for the connection. Signed-off-by: Dan Murphy --- .../devicetree/bindings/net/ethernet-phy.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) -- 2.26.2 diff --git a/Documentation/devicetree/bindings/net/ethernet-phy.yaml b/Documentation/devicetree/bindings/net/ethernet-phy.yaml index 9b1f1147ca36..a9e547ac7905 100644 --- a/Documentation/devicetree/bindings/net/ethernet-phy.yaml +++ b/Documentation/devicetree/bindings/net/ethernet-phy.yaml @@ -162,6 +162,18 @@ properties: description: Specifies a reference to a node representing a SFP cage. + rx-internal-delay-ps: + description: | + RGMII Receive PHY Clock Delay defined in pico seconds. This is used for + PHY's that have configurable RX internal delays. If this property is + present then the PHY applies the RX delay. + + tx-internal-delay-ps: + description: | + RGMII Transmit PHY Clock Delay defined in pico seconds. This is used for + PHY's that have configurable TX internal delays. If this property is + present then the PHY applies the TX delay. + required: - reg