From: Richard Leitner <richard.leitner@skidata.com>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Andy Duan <fugang.duan@nxp.com>,
"f.fainelli@gmail.com" <f.fainelli@gmail.com>,
"andrew@lunn.ch" <andrew@lunn.ch>,
Richard Leitner <dev@g0hl1n.net>,
"netdev@vger.kernel.org" <netdev@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"Sergei Shtylyov" <sergei.shtylyov@cogentembedded.com>,
Geert Uytterhoeven <geert+renesas@glider.be>
Subject: Re: [PATCH v2 3/3] net: ethernet: fec: fix refclk enable for SMSC LAN8710/20
Date: Mon, 20 Nov 2017 14:21:51 +0100 [thread overview]
Message-ID: <05754f2b-3765-bf90-40ff-a2e8337ddcce@skidata.com> (raw)
In-Reply-To: <CAMuHMdWK40m5zjFXrFJXMsfa+HqgHgJxFmXALn6nDTZzcKq28g@mail.gmail.com>
On 11/20/2017 02:13 PM, Geert Uytterhoeven wrote:
> Hi Richard,
>
> On Mon, Nov 20, 2017 at 1:55 PM, Richard Leitner
> <richard.leitner@skidata.com> wrote:
>> On 11/20/2017 11:35 AM, Andy Duan wrote:
>>> 3. add reset gpio descriptor for common phy device driver.
>>
>> ... if I understood it correctly the patch called "Teach phylib
>> hard-resetting devices" by Geert and Sergei is exactly doing this:
>> https://patchwork.ozlabs.org/cover/828503/
>> https://lkml.org/lkml/2017/10/20/166
>>
>> So I'll implement the phy_reset_after_clk_enable function atop of this
>> patch-set and add a note that my patch-series depends on it. Would that
>> be OK?
>
> I will update and respin that patch series after the merge window has closed.
Ok. Thank you for the quick response an this information.
For the Freescale Fast Ethernet Controller (FEC) there are currently (in
addition to the reset gpio) two additional optional dt properties for
the reset:
- phy-reset-duration : Reset duration in milliseconds.
- phy-reset-post-delay : Post reset delay in milliseconds.
IMHO it would make sense to include them also in the phylib
implementation. What do you think about it? Should I include it in my
patch-series?
kind regards;
Richard.L
>
> Gr{oetje,eeting}s,
>
> Geert
>
> --
> Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
>
> In personal conversations with technical people, I call myself a hacker. But
> when I'm talking to journalists I just say "programmer" or something like that.
> -- Linus Torvalds
>
next prev parent reply other threads:[~2017-11-20 13:22 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-20 8:34 [PATCH v2 0/3] " Richard Leitner
2017-11-20 8:34 ` [PATCH v2 1/3] net: ethernet: freescale: simplify fec_reset_phy Richard Leitner
2017-11-20 9:35 ` Andy Duan
2017-11-20 8:34 ` [PATCH v2 2/3] include: linux: phy: harmonize phy_id{,_mask} type Richard Leitner
2017-11-20 8:34 ` [PATCH v2 3/3] net: ethernet: fec: fix refclk enable for SMSC LAN8710/20 Richard Leitner
2017-11-20 9:47 ` Andy Duan
2017-11-20 9:57 ` Richard Leitner
2017-11-20 10:35 ` Andy Duan
2017-11-20 12:55 ` Richard Leitner
2017-11-20 13:13 ` Geert Uytterhoeven
2017-11-20 13:21 ` Richard Leitner [this message]
2017-11-20 13:40 ` Geert Uytterhoeven
2017-11-20 13:43 ` Andy Duan
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=05754f2b-3765-bf90-40ff-a2e8337ddcce@skidata.com \
--to=richard.leitner@skidata.com \
--cc=andrew@lunn.ch \
--cc=dev@g0hl1n.net \
--cc=f.fainelli@gmail.com \
--cc=fugang.duan@nxp.com \
--cc=geert+renesas@glider.be \
--cc=geert@linux-m68k.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=sergei.shtylyov@cogentembedded.com \
/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
all inboxes | Powered by JetHome®