Hi, I came up with those three patches to prepare for the H616. Patch 1 simplifies the MMC driver, so the H616 support becomes a one-liner. Patch 2 cleans up the Ethernet driver, so we can support the same compatible strings and fallbacks as Linux. Patch 3 prepares the EMAC driver for the second EMAC (100MBit + internal PHY). We need more code to actually use that PHY, but it's a start to sort out the different syscon register offset.
Jernej, please feel free to include those in your H616 series, at least 1/3 and 2/3. Cheers, Andre Andre Przywara (3): mmc: sunxi: Refactor mod clock register offset net: sun8i-emac: Always clear syscon EPHY register net: sun8i-emac: Simplify EPHY offset calculation drivers/mmc/sunxi_mmc.c | 84 +++++++++++----------------------------- drivers/net/sun8i_emac.c | 43 ++++++++++---------- 2 files changed, 44 insertions(+), 83 deletions(-) -- 2.17.5 -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web, visit https://groups.google.com/d/msgid/linux-sunxi/20210111010306.6872-1-andre.przywara%40arm.com.
