From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vinod Koul Subject: Re: [PATCH] net: dsa: qca8k: Enable delay for RGMII_ID mode Date: Tue, 19 Feb 2019 10:30:16 +0530 Message-ID: <20190219050016.GS21884@vkoul-mobl> References: <20190218130352.9373-1-vkoul@kernel.org> <20190218133621.GC14879@lunn.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20190218133621.GC14879@lunn.ch> Sender: netdev-owner@vger.kernel.org To: Andrew Lunn Cc: David S Miller , linux-arm-msm@vger.kernel.org, Bjorn Andersson , netdev@vger.kernel.org, Niklas Cassel , Florian Fainelli , Michal =?utf-8?B?Vm9rw6HEjQ==?= List-Id: linux-arm-msm@vger.kernel.org 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