Re: [PATCH v2 net-next] net: dsa: mv88e6xxx: scratch registers and external MDIO pins

2018-02-22 Thread David Miller
From: Andrew Lunn Date: Thu, 22 Feb 2018 01:51:49 +0100 > MV88E6352 and later switches support GPIO control through the "Scratch > & Misc" global2 register. Two of the pins controlled this way on the > mv88e6390 family are the external MDIO pins. They can either by used > as part of the MII inter

[PATCH v2 net-next] net: dsa: mv88e6xxx: scratch registers and external MDIO pins

2018-02-21 Thread Andrew Lunn
MV88E6352 and later switches support GPIO control through the "Scratch & Misc" global2 register. Two of the pins controlled this way on the mv88e6390 family are the external MDIO pins. They can either by used as part of the MII interface for port 0, GPIOs, or MDIO. Add a function to configure them