From: Andrew Lunn <andrew@lunn.ch>
To: Aaro Koskinen <aaro.koskinen@iki.fi>
Cc: David Miller <davem@davemloft.net>,
netdev@vger.kernel.org, Florian Fainelli <f.fainelli@gmail.com>,
David Daney <ddaney@caviumnetworks.com>
Subject: Re: [PATCH] of: of_mdio: Add marvell,88e1145 to whitelist of PHY compatibilities.
Date: Wed, 3 Feb 2016 21:08:57 +0100 [thread overview]
Message-ID: <20160203200857.GA10262@lunn.ch> (raw)
In-Reply-To: <1454528129-6144-1-git-send-email-aaro.koskinen@iki.fi>
On Wed, Feb 03, 2016 at 09:35:29PM +0200, Aaro Koskinen wrote:
> Commit ae461131960b ("of: of_mdio: Add a whitelist of PHY
> compatibilities.") missed one compatible string used in in-tree DTBs:
> in OCTEON, for selected boards, the kernel DTB pruning code will overwrite
> the DTB compatible string with "marvell,88e1145", which is missing
> from the whitelist. Add it.
Does this overwriting means this compatibility is not visible in the
current DTS files? Or did i miss it?
At least for the Marvell SoCs i intend to submit a patch removing
these compatible strings from the DTS files. Will you do the same for
the OCTEON boards?
> The patch fixes broken networking on EdgeRouter Lite.
>
> Fixes: ae461131960b ("of: of_mdio: Add a whitelist of PHY compatibilities.")
> Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Thanks
Andrew
> ---
> drivers/of/of_mdio.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/of/of_mdio.c b/drivers/of/of_mdio.c
> index 5648317..39c4be4 100644
> --- a/drivers/of/of_mdio.c
> +++ b/drivers/of/of_mdio.c
> @@ -154,6 +154,7 @@ static const struct of_device_id whitelist_phys[] = {
> { .compatible = "marvell,88E1111", },
> { .compatible = "marvell,88e1116", },
> { .compatible = "marvell,88e1118", },
> + { .compatible = "marvell,88e1145", },
> { .compatible = "marvell,88e1149r", },
> { .compatible = "marvell,88e1310", },
> { .compatible = "marvell,88E1510", },
> --
> 2.4.0
>
next prev parent reply other threads:[~2016-02-03 20:09 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-03 19:35 [PATCH] of: of_mdio: Add marvell,88e1145 to whitelist of PHY compatibilities Aaro Koskinen
2016-02-03 20:08 ` Andrew Lunn [this message]
2016-02-03 20:14 ` David Daney
2016-02-03 20:28 ` Andrew Lunn
2016-02-03 21:21 ` Aaro Koskinen
2016-02-03 20:50 ` Aaro Koskinen
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=20160203200857.GA10262@lunn.ch \
--to=andrew@lunn.ch \
--cc=aaro.koskinen@iki.fi \
--cc=davem@davemloft.net \
--cc=ddaney@caviumnetworks.com \
--cc=f.fainelli@gmail.com \
--cc=netdev@vger.kernel.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).