Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp2142849rwb; Thu, 27 Jul 2023 02:47:17 -0700 (PDT) X-Google-Smtp-Source: APBJJlFrEH2sJYlWd34OA1DoKqztnlv8udf7IJZ70z7dDrmp9V0zeVN4bUThHCjynZZG7yAGe4Sf X-Received: by 2002:a05:6a00:14d4:b0:667:85e6:4d1 with SMTP id w20-20020a056a0014d400b0066785e604d1mr5993212pfu.33.1690451237579; Thu, 27 Jul 2023 02:47:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690451237; cv=none; d=google.com; s=arc-20160816; b=v1qsj6SkWwxuATooogtE/09QbLTNhcn/L1e70tFRT9/iD2TZ96uhPCWIU73zXRa8id Qh0imNwe6/bxgjkwFwTMfrzAXB43NW5omvE8Mmui6AdKnJE6SlBRHDAvFSsTyGrSiiEc KoW8hEtHpgRX836cmqijmAtC29p8urHxA3chIm7PdeztGOjvMOB1PuD+zgeGxU0CEA/y ExuO92H2W5n5/fSG43BPM3wIgf1nTdyUsEghryYrKxtNG1RJbLQ9UNlqDN30iVL/pSIG 0uHvozqOp6TAcZBmyR/Gv8ZowFXQSkGfpIcJLWA5J5miDUJ80qoz5zVVZBwyZ4AevhKS Jtdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=g4SvEKASYSP69eS/NXGdOyYLEmR+OJsjiSkjk31hOR4=; fh=KoXb9wEVZ9imR4yg/QJud2XYFxepnptUS7AmHjAPwyU=; b=c9RyTFXYmQ81cc6iC3kBiUUXhsbrdyZlN1DI7XGlS0tvzf5fr3fsXvTZ2BabTMoGjS Rut/F6UCkRctCFJcxJMfHdk9qCBunKZBakyvEXopTgeAoq1UVkmYjHebBNoDD7BOfxd8 fisyKEeQvp86WIGR6b5rLi9EqkzJIHthDoGCHq6iDy2GU+9viv2dhWWwKkMkWNxVUZzd hRFTm4T1MWMLpPTphSC3mP9cHG3WYvc9v/3YYx89n4nVrSNEZ8panFtDu5OedhoW9gK4 SLtj3JOx7j+RUemK90xQ7+tWxQFOpgbrh5qmtI5IGTxSkLOkHQ0lFvj7WJgTpBrHWx8h P9hA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@denx.de header.s=phobos-20191101 header.b=Lf0f28PT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=denx.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w15-20020a056a0014cf00b0068686864ee9si1186228pfu.213.2023.07.27.02.46.46; Thu, 27 Jul 2023 02:47:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@denx.de header.s=phobos-20191101 header.b=Lf0f28PT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=denx.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234603AbjG0Ibq (ORCPT + 99 others); Thu, 27 Jul 2023 04:31:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39868 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235139AbjG0I3m (ORCPT ); Thu, 27 Jul 2023 04:29:42 -0400 Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 259DB59D6; Thu, 27 Jul 2023 01:16:35 -0700 (PDT) Received: from localhost.localdomain (85-222-111-42.dynamic.chello.pl [85.222.111.42]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: lukma@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 46C1B868A1; Thu, 27 Jul 2023 10:07:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1690445242; bh=g4SvEKASYSP69eS/NXGdOyYLEmR+OJsjiSkjk31hOR4=; h=From:To:Cc:Subject:Date:From; b=Lf0f28PTfYd3fuQSolG1PQabMofo5ilpxJtcHUvLLTS32qb84pClsglqCMrJNI/pL AE+3oVtxdifGCKpVgt77rL/ZXHc9nOWK2kCUPnDMlZO6D2LzMSXE5ZbU9JY2scmPs9 hb3DYnsY3NhDDPryAPHsb4dEcMxBWWYlvpZSrQXj0GbgmQt5bUw4tpkPDxuGU8Fp1w D1cbr3gGkPIkgPgf06+BlUxdNlvMIhKP9SMeaRWL8FFUGto6+Z/ReweF55DKsilUK7 PDOiLZUjZsPB68XOtG5SFRXzAUvQbA2+ZHxTBDGZQOtKb5EIiUxRbMgX8JZOPHUfOA Y7jOkpU/RY3HQ== From: Lukasz Majewski To: Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Nicolas Ferre , Alexandre Belloni , Claudiu Beznea , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Lukasz Majewski Subject: [PATCH] ARM: dts: at91: ksz9477_evb: Add tx-internal-delay-ps property for port5 Date: Thu, 27 Jul 2023 10:06:56 +0200 Message-Id: <20230727080656.3828397-1-lukma@denx.de> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Without this change the KSZ9477 Evaluation board's Linux (v6.5-rc1) shows following device warning: 'ksz-switch spi1.0: Port 5 interpreting RGMII delay settings based on "phy-mode" property, please update device tree to specify "rx-internal-delay-ps" and "tx-internal-delay-ps"' This is not critical, as KSZ driver by itself assigns default value of tx delay to 2000 ps (as 'rgmii-txid' is set as PHY mode). However, to avoid extra warnings in logs - the missing 'tx-internal-delay-ps' has been specified with the default value of 2000 ps. Signed-off-by: Lukasz Majewski --- arch/arm/boot/dts/microchip/at91-sama5d3_ksz9477_evb.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/microchip/at91-sama5d3_ksz9477_evb.dts b/arch/arm/boot/dts/microchip/at91-sama5d3_ksz9477_evb.dts index 99cd6d15998b..b66570080894 100644 --- a/arch/arm/boot/dts/microchip/at91-sama5d3_ksz9477_evb.dts +++ b/arch/arm/boot/dts/microchip/at91-sama5d3_ksz9477_evb.dts @@ -152,6 +152,7 @@ label = "cpu"; ethernet = <&macb0>; phy-mode = "rgmii-txid"; + tx-internal-delay-ps = <2000>; fixed-link { speed = <1000>; -- 2.20.1