[U-Boot] [PATCH v2 0/7] sunxi: sun8i-emac: Update DT bindings
Maxime Ripard
maxime.ripard at bootlin.com
Tue Feb 13 08:50:59 UTC 2018
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 at bootlin.com>
Maxime
--
Maxime Ripard, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
http://bootlin.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180213/bbd8e66f/attachment.sig>
More information about the U-Boot
mailing list