Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1717573
| From | Florian Fainelli <f.fainelli@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v3 2/4] net: stmmac: dwmac-sun8i: choose internal PHY via phy-is-integrated |
| Date | 2017-08-22 18:50 +0200 |
| Message-ID | <uhkxk-4Zc-15@gated-at.bofh.it> (permalink) |
| References | <ufOzw-3Ek-3@gated-at.bofh.it> <ufOzw-3Ek-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 08/18/2017 05:21 AM, Corentin Labbe wrote: > The current way to find if the phy is internal is to compare DT phy-mode > and emac_variant/internal_phy. > But it will negate a possible future SoC where an external PHY use the > same phy mode than the internal one. > > This patch adds a new way to find if the PHY is internal, via > the phy-is-integrated property. > > Since the internal_phy variable does not need anymore to contain the xMII mode > used by the internal PHY, it is still used for knowing the presence of an > internal PHY, so it is modified to a boolean soc_has_internal_phy. > > Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> -- Florian
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH v3 2/4] net: stmmac: dwmac-sun8i: choose internal PHY via phy-is-integrated Corentin Labbe <clabbe.montjoie@gmail.com> - 2017-08-18 14:30 +0200 Re: [PATCH v3 2/4] net: stmmac: dwmac-sun8i: choose internal PHY via phy-is-integrated Chen-Yu Tsai <wens@csie.org> - 2017-08-18 19:00 +0200 Re: [PATCH v3 2/4] net: stmmac: dwmac-sun8i: choose internal PHY via phy-is-integrated Florian Fainelli <f.fainelli@gmail.com> - 2017-08-22 18:50 +0200
csiph-web