[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAGb2v6766-8Cn0ZESo9Z0zU4yWR7Tt3+u0gdcd0LccYqLWW+3Q@mail.gmail.com>
Date: Wed, 2 Aug 2017 11:46:57 +0800
From: Chen-Yu Tsai <wens@...e.org>
To: "David.Wu" <david.wu@...k-chips.com>
Cc: Florian Fainelli <f.fainelli@...il.com>,
Andrew Lunn <andrew@...n.ch>,
Mark Rutland <mark.rutland@....com>,
Tao Huang <huangtao@...k-chips.com>, hwg@...k-chips.com,
Heiko Stübner <heiko@...ech.de>,
Arnd Bergmann <arnd@...db.de>,
devicetree <devicetree@...r.kernel.org>,
Catalin Marinas <catalin.marinas@....com>,
Will Deacon <will.deacon@....com>,
Russell King <linux@...linux.org.uk>,
linux-kernel <linux-kernel@...r.kernel.org>,
"open list:ARM/Rockchip SoC..." <linux-rockchip@...ts.infradead.org>,
Rob Herring <robh+dt@...nel.org>,
netdev <netdev@...r.kernel.org>, Olof Johansson <olof@...om.net>,
Giuseppe Cavallaro <peppe.cavallaro@...com>,
David Miller <davem@...emloft.net>,
linux-arm-kernel <linux-arm-kernel@...ts.infradead.org>,
alexandre.torgue@...com
Subject: Re: [PATCH v2 05/11] net: stmmac: dwmac-rk: Add internal phy support
Hi David, Florian, Andrew
(resent in plain text)
On Fri, Jul 28, 2017 at 2:56 PM, David.Wu <david.wu@...k-chips.com> wrote:
>
> Hi Florian,
>
> 在 2017/7/28 0:54, Florian Fainelli 写道:
>>
>> - if you need knowledge about this PHY connection type prior to binding
>> the PHY device and its driver (that is, before of_phy_connect()) we
>> could add a boolean property e.g: "phy-is-internal" that allows us to
>> know that, or we can have a new phy-mode value, e.g: "internal-rmii"
>> which describes that, either way would probably be fine, but the former
>> scales better
>>
>
> Using "phy-is-internal" is very helpful, but it is easy to confuse with
> the real internal PHY, may we use the other words like phy is inlined.
If "internal" is confusing, would "phy-is-integrated" in the MAC node work?
Either way we would like to have a definitive solution to this. Our
dwmac-sun8i driver is already in v4.13-rc1, with a somewhat flaky
method of knowing whether the internal PHY is used (phy-mode = "mii").
We really want a fix for this release, otherwise we would be force
to revert either the internal PHY part or the whole driver.
ChenYu
>
>> Then again, using phy-mode = "internal" even though this is Reduced MII
>> is not big of a deal IMHO as long as there is no loss of information and
>> that internal de-facto means internal reduced MII for instance.
>> --
>
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel@...ts.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Powered by blists - more mailing lists