From mboxrd@z Thu Jan 1 00:00:00 1970 From: Timur Tabi Subject: Re: [PATCH 1/2] net: phy: at803x: Fix RGMII RX and TX clock delays setup Date: Wed, 19 Jul 2017 12:49:50 -0500 Message-ID: References: <33ed5f4f-9939-dc00-b973-db39c16f2393@sigmadesigns.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Transfer-Encoding: 7bit Cc: netdev , Linux ARM , "David S. Miller" , Thibaud Cornic , Mason To: Marc Gonzalez , Florian Fainelli , Andrew Lunn , Mans Rullgard , Martin Blumenstingl , Grygorii Strashko , Fabio Estevam , Zefir Kurtisi , Daniel Mack Return-path: Received: from smtp.codeaurora.org ([198.145.29.96]:35476 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754469AbdGSRt4 (ORCPT ); Wed, 19 Jul 2017 13:49:56 -0400 In-Reply-To: <33ed5f4f-9939-dc00-b973-db39c16f2393@sigmadesigns.com> Content-Language: en-US Sender: netdev-owner@vger.kernel.org List-ID: On 07/19/2017 10:31 AM, Marc Gonzalez wrote: > The current code supports enabling RGMII RX and TX clock delays. > The unstated assumption is that these settings are disabled by > default at reset, which is not the case. > > RX clock delay is enabled at reset. And TX clock delay "survives" > across SW resets. Thus, if the bootloader enables TX clock delay, > it will remain enabled at reset in Linux. > > Provide disable functions to configure the RGMII clock delays > exactly as specified in the fwspec. I only use SGMII mode, and I tested and can confirm that this patch does not break SGMII, so: Acked-by: Timur Tabi -- Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm Technologies, Inc. Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.