Re: [PATCH 1/3] net: sun8i_emac: Use consistent clock bitfield definitions

2020-06-01 Thread Jagan Teki
On Fri, May 8, 2020 at 4:40 AM Samuel Holland wrote: > > While the R40 uses a different register for EMAC clock configuration > than other chips, the register has a very similar layout. Reuse the > existing bitfield definitions in this file, since they match. > > This allows the driver to compile

[PATCH 1/3] net: sun8i_emac: Use consistent clock bitfield definitions

2020-05-07 Thread Samuel Holland
While the R40 uses a different register for EMAC clock configuration than other chips, the register has a very similar layout. Reuse the existing bitfield definitions in this file, since they match. This allows the driver to compile on the H6 platform, where the CCM_GMAC_CTRL definitions are not