From patchwork Thu Feb 28 22:29:23 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Leonidas P. Papadakos" X-Patchwork-Id: 10834085 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 33B56139A for ; Thu, 28 Feb 2019 22:29:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 210DB2F6D8 for ; Thu, 28 Feb 2019 22:29:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1277D2F6DF; Thu, 28 Feb 2019 22:29:46 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B2FB12F6D8 for ; Thu, 28 Feb 2019 22:29:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=zqO668aPH2mCoGog5yFnGfBQlMxSAdaVlViB7pdK1vU=; b=slf9fZ/UiysStV TW4Frmp8W1Ytq0hdDcr0wISRRItzjF+q8JEjsXLs/KO6WZNf0rTOeWu2rFUrI+1Y4pWStQK92O/lZ lC2rU6Bm2BOdIWwZhqdq7Kyigr5nUWKXrd2qDwV1hyskbAs+BcjoklwJPGqbkwYnMXGOoJi/SL86B ZPkJD4m+q0RPcd1FpKsKeDQwRaPvqt+01YxAlkLZHDIcC0lOVWJV2MPTeH83LSp8XlZTw7mapYoty UEh0N3AjqmsEFtl9R/cR4lQRvVhR5zeUYZsgfxja2aU9lRkKM3UNXNDbfJUmz+9ItB/1vVXGA8lAu F0ZutGlmVsqA6Pse36sw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gzUBS-0003q6-Ls; Thu, 28 Feb 2019 22:29:42 +0000 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gzUBP-0003pi-NG for linux-rockchip@lists.infradead.org; Thu, 28 Feb 2019 22:29:41 +0000 Received: by mail-wr1-x441.google.com with SMTP id r5so23734631wrg.9 for ; Thu, 28 Feb 2019 14:29:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=SboRZFFsB81MFvUenfN1Z9W79H6FPby6iaTrDUZZ2OE=; b=nfKDj7YmDKDe0FJMBfFP4vOYg1tJvG7ehs9QcMF/4j6JkgzuNHXLqKlBkF/hFE+yTk yTIArRSfugRneeAMxNIyM/mtjkg5NoKyn6RVp3ttJojH7DlJ1rf1ymXtTE7rzag2iw8d Dzrf6gTZ3QRJmYOJqBAgbuzg7PWZyP8VVYhZaS+H9T5sFi42upAT5I9pPvQPKFY5wCBG qF7ZIhvSOcnRu87TBy44bPFZ2VN8RDMNEkgXs70x9JBRuGJdsLeP1fUqigUhSeqEXvj4 TiFbwi9py0bB4XKMrXfu/7HrsDcxC/P9v7r1ml5NLKxHC0P6AvCMlQ7RSs0334BXRQdV Uz3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=SboRZFFsB81MFvUenfN1Z9W79H6FPby6iaTrDUZZ2OE=; b=ucBXzecmGvlowL5s2DXygGFq1ApJqxOwzpxw7wZkUqWs98K87tMX8fQrM80DN/nvIL +EDqLFZWtcR9rIPsgpnsDvCI9rjjVQVvNVqltjPX4tGv/MHIBNsKVqFD85A6bUdH5sjb xouUSeiO13bz4RWQ1jPxjnmEePJZZ0t4+IebV/NSwPqy/oyrTgkLJ90GvmVFr1YsN6HT zyER7Ahri/9rlc/vz8tJIWafiBAa7QhomCCqM0nVeVXHicdXIYJg2OOygyc/4pFSg1Jk fhgmi+3M1Hz61/cRcIihBjlY2DgTAE0yD7391Cdc0gR2VTmog7jZPyFiOClL9+KSIpt4 H0Pw== X-Gm-Message-State: APjAAAVXgKJUFq2lZkThYnfmkpEI2XgejUa2jHrWFGTSo4iR8gbNjntY 8IvPgBhcUuxD81DhI8lSdBA= X-Google-Smtp-Source: APXvYqzyvF8apSApiu5IywEpVtAqcGgCddaPkJBiNQ4W9Fpr3zKA99qNswqt0km0vgPYszYZhZUM8Q== X-Received: by 2002:adf:9c85:: with SMTP id d5mr1145326wre.68.1551392977853; Thu, 28 Feb 2019 14:29:37 -0800 (PST) Received: from localhost.localdomain ([2a02:85f:151f:4500:d0f1:6c0c:33f3:2af2]) by smtp.gmail.com with ESMTPSA id m16sm19716020wro.78.2019.02.28.14.29.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 28 Feb 2019 14:29:37 -0800 (PST) From: "Leonidas P. Papadakos" To: Levin Du Subject: [PATCH] arm64: dts: rockchip: fix rk3328-roc-cc gmac2io tx/rx_delay Date: Fri, 1 Mar 2019 00:29:23 +0200 Message-Id: <20190228222923.30418-1-papadakospan@gmail.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190228_142939_782108_4784DE2A X-CRM114-Status: GOOD ( 11.90 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-rockchip@lists.infradead.org, Heiko Stuebner , "Leonidas P. Papadakos" Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The rk3328-roc-cc board exhibits tx stability issues with large packets, as does the rock64 board, which was fixed with this patch https://patchwork.kernel.org/patch/10178969/ A similar patch was merged for the rk3328-roc-cc here https://patchwork.kernel.org/patch/10804863/ but it doesn't include the tx/rx_delay tweaks, and I find that they help with an issue where large transfers would bring the ethernet link down, causing a link reset regularly. Signed-off-by: Leonidas P. Papadakos --- arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts b/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts index 33c44e857..0e34354b2 100644 --- a/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts +++ b/arch/arm64/boot/dts/rockchip/rk3328-roc-cc.dts @@ -108,8 +108,8 @@ snps,reset-gpio = <&gpio1 RK_PC2 GPIO_ACTIVE_LOW>; snps,reset-active-low; snps,reset-delays-us = <0 10000 50000>; - tx_delay = <0x25>; - rx_delay = <0x11>; + tx_delay = <0x24>; + rx_delay = <0x18>; status = "okay"; };