Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1024599rwb; Wed, 16 Nov 2022 10:51:16 -0800 (PST) X-Google-Smtp-Source: AA0mqf41GSiktjBznyMNEgVpCis4rPEm8DohHv45Yj5k01WOMGJJN9Pvz+QvlOAqaCv3Yi74ly7r X-Received: by 2002:a17:906:b56:b0:7ad:95d2:9df2 with SMTP id v22-20020a1709060b5600b007ad95d29df2mr18369433ejg.607.1668624676233; Wed, 16 Nov 2022 10:51:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668624676; cv=none; d=google.com; s=arc-20160816; b=Yph5iJqSaLnIw+4o+GpYEaeEzj18w4nzXcMQrUwtxpk0uJDBw5t2NeyDAVZ1+ydMf/ HzjNHyBgeoHdIyv43N7VKew5X01iaHEyKZbRZXoY4J9Hklx/wZ9GHPuEJ73ZlMLIQjb2 9MNXpw1v0oVq87Vl6eNCl5WPDX0worcreVOHY5ilHWy0cKDWQn07Likey6o6hH92P6gy WLfa6d/bj8vDZO7YEVDghUZqJrMaAO1Nasz3CHNhr+67CHyxuqyUxbSe5pVD7bR53vjk guCQASsb4Rkidqh/EN0LRBkwVe55pMbRHR5WFNbilyUvM/7/n8eE92rXeMenKI00a6yC jfTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=Z2yhRXVWHTwKqB0FAJ5JUXE/Hz7ioVpMavCshhyMXsA=; b=plPtgFq6Lq4svO//KM64NFF2dY18fagAFgEK1/MfMFLF6TOt3bLp6/KajdCa1vL1Nw 8+Z4aZWHF0C+B6+ATVBLZD2jbOrlRNan8PgKvBDmSYEFkhwr9DoCPSW9Ab5kYi/9ukMj vdXC7C1iZk+4aUpu0K2JHAJupnaajrTfL28l/RpFuRKL19XUyunDX1C2kZepQ+ptDy4q 1beY7dR8fqcxAq5mBUC+CBoDmRBGHX5Zw1I2Ob5bsvxkv7pdl6oY1GxlAePw4v57BEGb /ChY8e1NjlfvbrbbKt+/n8xcbt+4DylGxhQOkMe102A9rAf8EbI8uqY5eokA5Xyk7K4u Y1qg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=RPE8BLJE; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h3-20020a1709060f4300b007ae43ee86aesi10293539ejj.69.2022.11.16.10.50.53; Wed, 16 Nov 2022 10:51:16 -0800 (PST) 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=@gmail.com header.s=20210112 header.b=RPE8BLJE; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234150AbiKPSL3 (ORCPT + 90 others); Wed, 16 Nov 2022 13:11:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50772 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234028AbiKPSL0 (ORCPT ); Wed, 16 Nov 2022 13:11:26 -0500 Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 24ACB6176A; Wed, 16 Nov 2022 10:11:24 -0800 (PST) Received: by mail-ed1-x535.google.com with SMTP id s5so11583157edc.12; Wed, 16 Nov 2022 10:11:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Z2yhRXVWHTwKqB0FAJ5JUXE/Hz7ioVpMavCshhyMXsA=; b=RPE8BLJERTy3CP/G8HJ1kDaEpVIZsegVbKYnKx/AsCuLJM4ebPoHnNLJdGYsLQGA5j HiQ1nbJMi6MP66u3GGqNocQJFZV42ApmRmmXLV5DlO5eRvjykAWwU7OZDzdORScHJMuy 0QBgsp73dq2+23N0GSicJ7YrVPGatFPWaSs6+4nMO0tdY0RICfRt4B4gJZPEN8l400ty FGBphV6hwkp2pmtZyUcdj5qu+NDPEDhgAJQgUwcy7qXY3PRwZ9mQu/Xbbh7SYDMRHLjl PsCqL6kUbodcXQpdoJmlD2YPZTKCO6gVkVtQGSoT7/4cNlg377eVFay+bUuWqdi9YDKv Mf9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Z2yhRXVWHTwKqB0FAJ5JUXE/Hz7ioVpMavCshhyMXsA=; b=dwhcihbE4eqjRnTY0u+OsAKaZFTKUYo8ybANvyI/K0zw1BLlu/OFThaJZwBUJYAKL4 ksxoZ49Kox3Gmu1CYYutZM4objBKLIOSle+EWlndabXO5MtMWytzvgxYd5QZwF8eODlS LeeI1zhn3p6rVX/RSK/c6SkLU+ypdqvYzKtFboeduxZbXLlMD8eFD8LqbNfM1woannav W8WDbVMGLchVFEg6R4U6Tn5/a6sZh4dSJPYcQC6QlxsGXBpPC1X5l9fu235//QvBN8Ey gkWvQdul1WPvFUTDc5FeSevhE8IzAcprBOmsS/ZZTig+onkWdH1RE8vR/AKPXNbfvhQy ErwQ== X-Gm-Message-State: ANoB5plIyzbQVjsVVKivOVZJCU8g/dMtbNg/FZmJS8X8TdH2StbLC5N3 iGEXB6Hd7spkQN0dYlbpN/it9sc0lrPtCrMKrXk= X-Received: by 2002:a05:6402:f19:b0:461:a1c1:b667 with SMTP id i25-20020a0564020f1900b00461a1c1b667mr20586171eda.191.1668622283369; Wed, 16 Nov 2022 10:11:23 -0800 (PST) MIME-Version: 1.0 References: <20221111094238.1640-1-linux.amoon@gmail.com> In-Reply-To: From: Anand Moon Date: Wed, 16 Nov 2022 23:41:07 +0530 Message-ID: Subject: Re: [linux-next-v1 1/3] arm64: dts: rockchip: Fix gmac phy mode to rgmii on Rock 3A sbc To: Peter Geis Cc: Rob Herring , Krzysztof Kozlowski , Heiko Stuebner , Chukun Pan , Michael Riesch , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS 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 Hi Petter / Michael. Thanks for your review comments. On Fri, 11 Nov 2022 at 18:26, Peter Geis wrote: > > On Fri, Nov 11, 2022 at 4:43 AM Anand Moon wrote: > > > > On rk356x ethernet phy support reduced media independent interface (RMII) > > and reduced gigabit media independent interface (RGMII). > > So set the phy mode to rgmii. > > The RTL8211 supports rgmii-id just fine, you only need to go to rgmii > on these boards if you need to tune the delays manually. Ok rgmii supports internal rx and tx clock delay whereas rgmii-id does not supports internal clock delay. > > > > > Signed-off-by: Anand Moon > > --- > > arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts b/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts > > index ea74ba32fbbd..72e410e3aca8 100644 > > --- a/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts > > +++ b/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts > > @@ -253,7 +253,7 @@ &gmac1 { > > assigned-clock-rates = <0>, <125000000>; > > clock_in_out = "output"; > > phy-handle = <&rgmii_phy1>; > > - phy-mode = "rgmii-id"; > > + phy-mode = "rgmii"; > > You should be setting the delay tuning in this patch as well. I will try to fix this in the next version. > > > pinctrl-names = "default"; > > pinctrl-0 = <&gmac1m1_miim > > &gmac1m1_tx_bus2 > > -- > > 2.38.1 Thanks -Anand