在 2017-06-30 00:23,David Miller 写道:
From: Corentin Labbe <clabbe.montjoie@xxxxxxxxx>
Date: Tue, 27 Jun 2017 11:28:01 +0200
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.
By using phy-mode = "internal" we permit to have an external PHY with
the same mode than the internal one.
Reported-by: André Przywara <andre.przywara@xxxxxxx>
Signed-off-by: Corentin Labbe <clabbe.montjoie@xxxxxxxxx>
Series applied.
I think there's still some problems around for this patchset...
The definition of "internal" is internal *proprietary* PHY, but the
internal PHY of Allwinner SoCs seem to be MII...
See [1].
[1]
http://lists.infradead.org/pipermail/linux-arm-kernel/2017-June/516159.html
Please provide a proper "[PATCH 0/n] " header posting next time.
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html