[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190218133621.GC14879@lunn.ch>
Date: Mon, 18 Feb 2019 14:36:21 +0100
From: Andrew Lunn <andrew@...n.ch>
To: Vinod Koul <vkoul@...nel.org>
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 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?
Thanks
Andrew
Powered by blists - more mailing lists