[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190219050016.GS21884@vkoul-mobl>
Date:   Tue, 19 Feb 2019 10:30:16 +0530
From:   Vinod Koul <vkoul@...nel.org>
To:     Andrew Lunn <andrew@...n.ch>
Cc:     David S Miller <davem@...emloft.net>,
        linux-arm-msm@...r.kernel.org,
        Bjorn Andersson <bjorn.andersson@...aro.org>,
        netdev@...r.kernel.org, Niklas Cassel <niklas.cassel@...aro.org>,
        Florian Fainelli <f.fainelli@...il.com>,
        Michal Vokáč <michal.vokac@...ft.com>
Subject: Re: [PATCH] net: dsa: qca8k: Enable delay for RGMII_ID mode
On 18-02-19, 14:36, Andrew Lunn wrote:
> On Mon, Feb 18, 2019 at 06:33:51PM +0530, Vinod Koul wrote:
> > +	case PHY_INTERFACE_MODE_RGMII_ID:
> > +		/* RGMII_ID needs internal delay. This is enabled through
> > +		 * PORT5_PAD_CTRL for all ports, rather than individual port
> > +		 * registers
> > +		 */
> > +		qca8k_write(priv, reg,
> > +			    QCA8K_PORT_PAD_RGMII_EN |
> > +			    QCA8K_PORT_PAD_RGMII_TX_DELAY(3) |
> > +			    QCA8K_PORT_PAD_RGMII_RX_DELAY(3));
> 
> Hi Vinod
> 
> Could you add some #defines for the delay values?
Sure will update the patch
-- 
~Vinod
Powered by blists - more mailing lists
 
