sunxi: sun8i-emac: Update DT bindings
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | sunxi: gpio: add missing compatible stringsdrivers/ | +4 | 0 replies | |
| 2/3 | net: sun8i-emac: support new pinctrl DT bindingsdrivers/ | +39 | 0 replies | |
| 3/3 | net: sun8i-emac: add support for new EMAC DT bindingdrivers/ | +48 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [U-Boot] [PATCH 0/3] sunxi: sun8i-emac: Update DT bindings
The existing sun8i-emac driver in U-Boot uses some preliminary bindings, which matched our own DTs. Now that the Linux kernel got a driver, lets update our probe code to handle those Linux DTs as well.
The first patch adds the missing compatible strings for the pinctrl drivers, which is needed for using the sunxi_name_to_gpio() lookup function. Patch 2/3 updates the pinctrl parser used in the sun8i-emac driver, to cope with the new, generic Allwinner pinctrl bindings.
The final patch extends the probe routine in the Ethernet driver to deal with both the old and the new bindings.
This series allows to copy in the DTs from the latest kernel. Unfortunately right now updating the DTs for the H5 and A64 breaks the build, as the resulting binary (which embeds the DT) gets to large and triggers our new image size check. As the H5 and H3 share most of the DT, we can't just update the H3 DTs either. Hopefully we find some neat trick to work around that.
Cheers,
Andre.
Andre Przywara (3):
sunxi: gpio: add missing compatible strings
net: sun8i-emac: support new pinctrl DT bindings
net: sun8i-emac: add support for new EMAC DT binding
drivers/gpio/sunxi_gpio.c | 4 ++ drivers/net/sun8i_emac.c | 107 +++++++++++++++++++++++++++++++++++++--------- 2 files changed, 91 insertions(+), 20 deletions(-)
Signature · 1 line
2.14.1