Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp1406740pxu; Sat, 24 Oct 2020 09:40:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyt9WiJTAeZknHHh15Xp5zEOirDElNm2CYc3RB0Xwj+YnvyKcgzY52XU/d07Bzg3nyvI/Yz X-Received: by 2002:aa7:ccc8:: with SMTP id y8mr8055506edt.325.1603557603935; Sat, 24 Oct 2020 09:40:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603557603; cv=none; d=google.com; s=arc-20160816; b=qkbvhbad8nvtdPy3F8Q+WpqV5FNcBpX/bP9OuP0/8iJD0lgAoztaZpt4+RQ/uKt6hT TrcUlPJ2spVKc0WydxKM2WaZxVUdn7WPIEDPFR5uA9pCDvnicAH8+dglXYhRE7ZV7xTb rGhRSF+7YhnmYfW4Iz5TrgEsT8Zbn6qLMGcg/11bAMdDvOTs6Rr3Yun/WcoDWs+JDIfA 2lP6fxQBYIJ3dkYkaWOFc5t+O5M4I/k2YqYohXO5GUiqMuyVav3Qq2DJgNf/gXz4qgmH s4J5jexyFZqkLlUe2zwXKg3LcUkOeFdpHDe5zxWDfzSIsfEBI+MJAE2mE0j9EihbWJRb abmw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=oHTVyTQhwZyDxRAWggkoj0Pt3Rx6xhfodJgI6hFpbu0=; b=YDt9XG3YNxh7NQVErjBrggNCsAVBwN1vE96FNM5tU0Qo3ab8uEDGzAffF+gMifRk1R 9TvBY2X1Y1hl9n7kuLx9Ni1GcUg95uEJ+qyEveUi52rMn4nuX9Sjkwej0lZ6IsC10nAZ LsJs2SrkGHh2Jgrryf+YlVsfB+/lWTuTSldMKftXGioN72kvcI0XlI7iFClqinz/Oh9J WBIzGBVYzTMRTLakaGB067uwDF9pEBFhd1jJnsFEA7dhM4d0VGFc2+oN8oGZNYoF1DZ/ KIW7/dRTuqLr/Id543h9uk0Q5TveTO3Xejod+HmZ6FFFIrZ2/DWGxdMA51T4YpzhCOTc bz7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=gqmYOsSX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q4si394702eji.52.2020.10.24.09.39.42; Sat, 24 Oct 2020 09:40:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=@kernel.org header.s=default header.b=gqmYOsSX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762234AbgJXQ0C (ORCPT + 99 others); Sat, 24 Oct 2020 12:26:02 -0400 Received: from mail.kernel.org ([198.145.29.99]:45566 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760989AbgJXQZ7 (ORCPT ); Sat, 24 Oct 2020 12:25:59 -0400 Received: from wens.tw (mirror2.csie.ntu.edu.tw [140.112.30.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 8D65F2226B; Sat, 24 Oct 2020 16:25:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603556758; bh=KIwAKXdLj3a5BWgXyWItu2feZ52vZSa+S5FxpjArwBw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gqmYOsSXtL9SDrwjJwxsH2Gf0DAsJ7Ce/ZlLTEV0l8/qMBxFEBz9Bs8k4aScrhFlK kt7EI8SObDN+JWYtILaYHqFN3PC28PfK3S/4roc2FMeIfAgh9DICAlN7d/4+g7WdRU T3yUuWETvcPMMHlBAZz7y0dINK4F4sBA9ZacYHLg= Received: by wens.tw (Postfix, from userid 1000) id C3A9D5FEF3; Sun, 25 Oct 2020 00:25:46 +0800 (CST) From: Chen-Yu Tsai To: Maxime Ripard , Jernej Skrabec Cc: linux-sunxi@googlegroups.com, Chen-Yu Tsai , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 05/10] ARM: dts: sun8i: h3: orangepi-plus2e: Enable RGMII RX/TX delay on Ethernet PHY Date: Sun, 25 Oct 2020 00:25:10 +0800 Message-Id: <20201024162515.30032-5-wens@kernel.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201024162515.30032-1-wens@kernel.org> References: <20201024162515.30032-1-wens@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Chen-Yu Tsai The Ethernet PHY on the Orange Pi Plus 2E has the RX and TX delays enabled on the PHY, using pull-ups on the RXDLY and TXDLY pins. Fix the phy-mode description to correct reflect this so that the implementation doesn't reconfigure the delays incorrectly. This happened with commit bbc4d71d6354 ("net: phy: realtek: fix rtl8211e rx/tx delay config"). Fixes: 4904337fe34f ("ARM: dts: sunxi: Restore EMAC changes (boards)") Fixes: 7a78ef92cdc5 ("ARM: sun8i: h3: Enable EMAC with external PHY on Orange Pi Plus 2E") Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun8i-h3-orangepi-plus2e.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/sun8i-h3-orangepi-plus2e.dts b/arch/arm/boot/dts/sun8i-h3-orangepi-plus2e.dts index 6dbf7b2e0c13..b6ca45d18e51 100644 --- a/arch/arm/boot/dts/sun8i-h3-orangepi-plus2e.dts +++ b/arch/arm/boot/dts/sun8i-h3-orangepi-plus2e.dts @@ -67,7 +67,7 @@ &emac { pinctrl-0 = <&emac_rgmii_pins>; phy-supply = <®_gmac_3v3>; phy-handle = <&ext_rgmii_phy>; - phy-mode = "rgmii"; + phy-mode = "rgmii-id"; status = "okay"; }; -- 2.28.0