[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140321222320.14370739@e6520eb>
Date: Fri, 21 Mar 2014 22:23:20 +0100
From: Eric Bénard <eric@...rea.com>
To: Hubert Chaumette <hchaumette@...neo-embedded.com>
Cc: linux-arm-kernel@...ts.infradead.org, linux@....linux.org.uk,
shawn.guo@...aro.org, linux-kernel@...r.kernel.org,
kernel@...gutronix.de
Subject: Re: [PATCH] ARM: i.MX6: update KSZ9031 phy fixup
Hi Hubert,
Le Fri, 21 Mar 2014 18:08:07 +0100,
Hubert Chaumette <hchaumette@...neo-embedded.com> a écrit :
>
> Update KSZ9031RN phy fixup for Congatec conga-QEVAL and conga-QMX6 combo :
> set RGMII GTX_CLK and RX_CLK pad skew to +0.96ns.
>
> Signed-off-by: Hubert Chaumette <hchaumette@...neo-embedded.com>
> ---
> arch/arm/mach-imx/mach-imx6q.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/arch/arm/mach-imx/mach-imx6q.c b/arch/arm/mach-imx/mach-imx6q.c
> index 76e5db4..db307c2 100644
> --- a/arch/arm/mach-imx/mach-imx6q.c
> +++ b/arch/arm/mach-imx/mach-imx6q.c
> @@ -77,6 +77,9 @@ static int ksz9031rn_phy_fixup(struct phy_device *dev)
> mmd_write_reg(dev, 2, 5, 0);
> mmd_write_reg(dev, 2, 8, 0x003ff);
>
> + /* For Congatec conga-QMX6 board */
> + mmd_write_reg(dev, 0x02, 0x06, 0xffff);
> +
> return 0;
> }
>
that's board specific (the needed delay depends on the routing delay on
the PCB), so this should not go in a generic file.
Eric
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists