Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3492060pxf; Mon, 29 Mar 2021 03:54:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJynpC65cSi/nj1V9RMGdhdl/LSR7ukKwG5UsRdMeOei6sdSrC8D0OZWljiWajCt8ztTovGH X-Received: by 2002:aa7:c6d2:: with SMTP id b18mr27728173eds.183.1617015252611; Mon, 29 Mar 2021 03:54:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617015252; cv=none; d=google.com; s=arc-20160816; b=WUMvEqygUNGHrHqOdBDiT7RyMXsXj45du1AROAoDzW6Z46QV+WncAKGBYZyP1CFw+7 X98f7IDcxqBjkJ8nUA6ogbKCCFwCf/eH0Us6sThvGb3xR1Kg2juwoFDhZyWN1/bZwiWK pVWaqZkbaokTayEe28rt2qXCl6wZP7ff/YC2ptYrt3lnCpknRy31ZHWprpwpEAdopv56 aZppGmaP20nFc2qyBwKkb4dPDUp18gvEovXJ/sOPlZodgJDC9hWDY0DEFjgQxLRsJFHa 7FNXkeVCGLOr8R/6n9IEaO3Zbzx13Qqu8kwZ7aix2RuuMgSVlK8xiSUCX86GpMUxMJzI 63Yw== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=DsJl+pbpV2FleAZ4caGeme+q/RUDgGvmJh18dmvCkQs=; b=c5rAM2THc1IAw4mfTOfCOhLW+u2lq20aMCxFNwmz0tR45a9xpltWHLIEiAM9Dltbzw 02e6uIUn0qKpA45ByF6SJ3VKcd5XsbkbBrXsFutN2rop4XN+OMyZDVL2IoTGoBf6tGBl MC6EUX0+NZpj0NZvnyBPWDaqUfMMsuLBZMFdtjjv5XlvmaUA1O+Ph0WhlD8lU5rOgK8F YBiiL23rciQpKX+CpFe7sCxl7bAb4/MDUcmytorcWpQ2IgdpNkiHkmLn1yr/XaGFCyvp NHUrOqBsd74/M0tOI75XOUbX30lC17EkC8fXbr05pksnLIQaKPGJL8iaDvWXZeCRROXh vnmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=KTaIf61V; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g16si12475083ejm.310.2021.03.29.03.53.50; Mon, 29 Mar 2021 03:54:12 -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=@linuxfoundation.org header.s=korg header.b=KTaIf61V; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232503AbhC2InP (ORCPT + 99 others); Mon, 29 Mar 2021 04:43:15 -0400 Received: from mail.kernel.org ([198.145.29.99]:41812 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233553AbhC2IZJ (ORCPT ); Mon, 29 Mar 2021 04:25:09 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 07D38619EA; Mon, 29 Mar 2021 08:24:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1617006290; bh=7pWrXxggC99dNjxIDeJ+cig5EnZew3swofDFMdjklzc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KTaIf61VjOWQ+y5nIiVLj8UEhzzmQKTwSuD4KYmfnHXcHik7Mwu9zdsxOBT0DjyhA T9wUC9ZjVpKLCxWhEkqdoi91Hf8OixUS+r9OmwrSFMa9RYKRnMXo1TONchkJz9a/Tc keiB5z+4C6E2+Qmzc5Ak0kVBmBxzBgNURKjvPOW4= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Florian Fainelli , "David S. Miller" , Sasha Levin Subject: [PATCH 5.10 188/221] net: phy: broadcom: Fix RGMII delays for BCM50160 and BCM50610M Date: Mon, 29 Mar 2021 09:58:39 +0200 Message-Id: <20210329075635.397570189@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210329075629.172032742@linuxfoundation.org> References: <20210329075629.172032742@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Florian Fainelli [ Upstream commit b1dd9bf688b0dcc5a34dca660de46c7570bd9243 ] The PHY driver entry for BCM50160 and BCM50610M calls bcm54xx_config_init() but does not call bcm54xx_config_clock_delay() in order to configuration appropriate clock delays on the PHY, fix that. Fixes: 733336262b28 ("net: phy: Allow BCM5481x PHYs to setup internal TX/RX clock delay") Signed-off-by: Florian Fainelli Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- drivers/net/phy/broadcom.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/net/phy/broadcom.c b/drivers/net/phy/broadcom.c index 6f6e64f81924..dbed15dc0fe7 100644 --- a/drivers/net/phy/broadcom.c +++ b/drivers/net/phy/broadcom.c @@ -340,6 +340,10 @@ static int bcm54xx_config_init(struct phy_device *phydev) bcm54xx_adjust_rxrefclk(phydev); switch (BRCM_PHY_MODEL(phydev)) { + case PHY_ID_BCM50610: + case PHY_ID_BCM50610M: + err = bcm54xx_config_clock_delay(phydev); + break; case PHY_ID_BCM54210E: err = bcm54210e_config_init(phydev); break; -- 2.30.1