Skip to content

sunxi: Refactoring in prepration for H616

Andre Przywara u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3mmc: sunxi: Refactor mod clock register offsetdrivers/mmc/sunxi_mmc.c+23 -611 reply
2/3net: sun8i-emac: Always clear syscon EPHY registerdrivers/net/sun8i_emac.c+13 -180 replies
3/3net: sun8i-emac: Simplify EPHY offset calculationdrivers/net/sun8i_emac.c+8 -40 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchJaehoon Chung
1/3R-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] sunxi: Refactoring in prepration for H616

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(-)
Signature · 1 line
2.17.5