
On Fri, Feb 09, 2018 at 01:30:02AM +0000, Andre Przywara wrote:
Compared to the last post, this converts U-Boot's DTs over to use the new binding, so that the final patch can remove support for the old binding from U-Boot EMAC driver. The Linux DTs can be synced in later once we solved the size problem.
================================================ 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/7 updates the pinctrl parser used in the sun8i-emac driver, to cope with the new, generic Allwinner pinctrl bindings. Patch 3/7 extends the probe routine in the Ethernet driver to deal with both the old and the new bindings. Patches 4, 5 and 6 update U-Boot's DTs for boards using the A64, H3 and H5 SoC, respectively, to actually use the new binding in their EMAC nodes. This allows the final patch 7/7 to remove the support for the old binding in the EMAC driver, so we use the proper binding only.
Acked-by: Maxime Ripard maxime.ripard@bootlin.com
Maxime