Re: [PATCH v2 2/2] net: phy: micrel: sync init code for ksz80xx variants with the kernel driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Oct 13, 2021 at 2:43 AM Oleksij Rempel <o.rempel@xxxxxxxxxxxxxx> 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!

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux