From: Shawn Guo <shawnguo-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
To: Michael Trimarchi
<michael-dyjBcgdgk7Pe9wHmmfpqLFaTQe2KTcn/@public.gmane.org>
Cc: Lucas Stach <l.stach-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>,
"devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
linux-arm-kernel
<linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org>,
kernel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org
Subject: Re: [PATCH V3] ARM: dts: imx6q-icore-rqs: Add Engicam IMX6 Q7 initial support
Date: Wed, 2 Dec 2015 10:09:30 +0800 [thread overview]
Message-ID: <20151202020930.GD692@tiger> (raw)
In-Reply-To: <CAOf5uw=q7fwh93w7LUQaAV3-+YLDwzL65wB1WB5L2BKUe+Vtpg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
On Wed, Nov 25, 2015 at 07:14:13PM +0100, Michael Trimarchi wrote:
> Hi Shawn
>
> On Wed, Nov 18, 2015 at 4:10 PM, Michael Trimarchi
> <michael-dyjBcgdgk7Pe9wHmmfpqLFaTQe2KTcn/@public.gmane.org> wrote:
> > www.engicam.com/en/products/embedded/som/standard/i-core-rqs-m6s-dl-d-q
> >
> > Signed-off-by: Michael Trimarchi <michael-dyjBcgdgk7Pe9wHmmfpqLFaTQe2KTcn/@public.gmane.org>
> > ---
> > I'm not quite sure how ethernet tuning parameter
> > are working in other setup and this seems the
> > correct way to use it
> >
>
> As you can see my way to connect the ethernet phy is different. I have
> seen that most of the boards put all the tuning under fec but unfortunately
> this does not work. I don't know if people check if their value are correctly
> written to the phy.
Hmm, I'm not sure what example you are looking at. But here is what I
see from arch/arm/boot/dts/imx6qdl-sabrelite.dtsi
&fec {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_enet>;
phy-mode = "rgmii";
phy-reset-gpios = <&gpio3 23 GPIO_ACTIVE_LOW>;
txen-skew-ps = <0>;
txc-skew-ps = <3000>;
rxdv-skew-ps = <0>;
rxc-skew-ps = <3000>;
rxd0-skew-ps = <0>;
rxd1-skew-ps = <0>;
rxd2-skew-ps = <0>;
rxd3-skew-ps = <0>;
txd0-skew-ps = <0>;
txd1-skew-ps = <0>;
txd2-skew-ps = <0>;
txd3-skew-ps = <0>;
interrupts-extended = <&gpio1 6 IRQ_TYPE_LEVEL_HIGH>,
<&intc 0 119 IRQ_TYPE_LEVEL_HIGH>;
status = "okay";
};
Shawn
>
> > +
> > +&fec {
> > + pinctrl-names = "default";
> > + pinctrl-0 = <&pinctrl_enet_3>;
> > + phy-handle = <ð_phy>;
> > + phy-mode = "rgmii";
> > + status = "okay";
> > + mdio {
> > + eth_phy: ethernet-phy {
> > + rxc-skew-ps = <1140>;
> > + txc-skew-ps = <1140>;
> > + txen-skew-ps = <600>;
> > + rxdv-skew-ps = <240>;
> > + rxd0-skew-ps = <420>;
> > + rxd1-skew-ps = <600>;
> > + rxd2-skew-ps = <420>;
> > + rxd3-skew-ps = <240>;
> > + txd0-skew-ps = <60>;
> > + txd1-skew-ps = <60>;
> > + txd2-skew-ps = <60>;
> > + txd3-skew-ps = <240>;
> > + };
> > + };
> > +};
> > +
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2015-12-02 2:09 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-15 10:54 [PATCH] ARM: dts: imx6q-icore-rqs: Add Engicam IMX6 Q7 initial support Michael Trimarchi
[not found] ` <1447584853-12560-1-git-send-email-michael-dyjBcgdgk7Pe9wHmmfpqLFaTQe2KTcn/@public.gmane.org>
2015-11-16 9:19 ` Lucas Stach
[not found] ` <1447665552.3144.6.camel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2015-11-16 11:29 ` Michael Trimarchi
2015-11-16 11:38 ` Lucas Stach
[not found] ` <1447673895.3144.16.camel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2015-11-16 11:41 ` Michael Trimarchi
2015-11-16 11:51 ` Lucas Stach
[not found] ` <1447674695.3144.21.camel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2015-11-16 11:54 ` Michael Trimarchi
2015-11-16 17:23 ` [PATCH V2] " Michael Trimarchi
2015-11-16 22:02 ` Michael Trimarchi
2015-11-17 9:31 ` Lucas Stach
[not found] ` <1447752697.3144.47.camel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2015-11-18 15:10 ` [PATCH V3] " Michael Trimarchi
2015-11-25 18:14 ` Michael Trimarchi
[not found] ` <CAOf5uw=q7fwh93w7LUQaAV3-+YLDwzL65wB1WB5L2BKUe+Vtpg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-12-02 2:09 ` Shawn Guo [this message]
2015-12-02 9:15 ` Michael Trimarchi
2015-12-11 8:36 ` Shawn Guo
2015-12-14 8:45 ` Michael Trimarchi
2015-12-16 18:12 ` Michael Trimarchi
2015-12-21 6:12 ` Shawn Guo
2015-12-23 2:27 ` Shawn Guo
2015-12-23 9:18 ` Michael Trimarchi
2015-12-24 9:06 ` [PATCH V4] " Michael Trimarchi
2015-12-24 9:13 ` Michael Trimarchi
2015-12-24 9:24 ` [PATCH V5] " Michael Trimarchi
2016-01-12 17:37 ` Michael Trimarchi
2016-01-28 2:04 ` Shawn Guo
2016-01-28 2:12 ` Michael Trimarchi
2016-01-29 8:01 ` [PATCH V6] " Michael Trimarchi
2016-02-01 11:07 ` Shawn Guo
2015-11-24 9:19 ` [PATCH] " Shawn Guo
2015-11-24 9:31 ` Lucas Stach
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20151202020930.GD692@tiger \
--to=shawnguo-dgejt+ai2ygdnm+yrofe0a@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=kernel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org \
--cc=l.stach-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org \
--cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=michael-dyjBcgdgk7Pe9wHmmfpqLFaTQe2KTcn/@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).