
Le 29/10/2017 13:04, Tom Rini a écrit :
On Thu, Oct 26, 2017 at 03:39:17PM +0200, Neil Armstrong wrote:
On 22/10/2017 16:36, Simon Glass wrote:
On 18 October 2017 at 10:02, Neil Armstrong narmstrong@baylibre.com wrote:
The Amlogic Meson GXL/GXM families embeds an internal RMII Ethernet PHY.
The PHY acts as a generic PHY but needs a slight configuration right before it's configuration.
Signed-off-by: Neil Armstrong narmstrong@baylibre.com
drivers/net/phy/Kconfig | 3 +++ drivers/net/phy/Makefile | 1 + drivers/net/phy/meson-gxl.c | 57 +++++++++++++++++++++++++++++++++++++++++++++ drivers/net/phy/phy.c | 3 +++ include/phy.h | 1 + 5 files changed, 65 insertions(+) create mode 100644 drivers/net/phy/meson-gxl.c
We really should create a uclass for PHY drivers before adding any more of these.
Regards, Simon
Hi Simon,
Sure, this would indeed be necessary, but is it necessary to wait for the uclass to merge mode PHYs ?
Well, this isn't going in before the next release (along with all of the other amlogic stuff, which looks good otherwise btw). So, do you have time to take a pass at a uclass?
Hi Tom, Simon,
I can give a try, but with my limited uclass/dm knowledge, it will only be basic and will some review.
Should the plan be to introduce DM support for net PHY subsystem, then introduce this meson GXL phy as first implementation ?
Should I remove support for non-dm PHY drivers and probing when DM is enabled ?
Neil