[U-Boot] [PATCH 0/3] sunxi: sun8i-emac: Update DT bindings
Andre Przywara
andre.przywara at arm.com
Mon Jan 29 01:15:19 UTC 2018
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(-)
--
2.14.1
More information about the U-Boot
mailing list