[PATCH v2 2/2] net: phy: micrel: sync init code for ksz80xx variants with the kernel driver
Trent Piepho
trent.piepho at igorinstitute.com
Wed Oct 13 03:25:17 PDT 2021
On Wed, Oct 13, 2021 at 2:43 AM Oleksij Rempel <o.rempel at pengutronix.de> wrote:
>
> Sync part of barebox micrel driver with the kernel v5.15-rc1.
> This change will affect most of by barebox supported 100Mbit/ksz80xx PHY
> variants and provide unified devicetree support for LED and clock configuration.
I already added LED mode OF support to this driver.
> drivers/net/phy/micrel.c | 249 +++++++++++++++++++++++++++++++++++----
> 1 file changed, 228 insertions(+), 21 deletions(-)
227 added lines is a lot to do basically nothing not already done.
> #define KSZ8051_RMII_50MHZ_CLK BIT(7)
> +#define KSZPHY_RMII_REF_CLK_SEL BIT(7)
These are the same bit in the same register!
More information about the barebox
mailing list