]> git.sur5r.net Git - u-boot/commit
net: sun8i-emac: support new pinctrl DT bindings
authorAndre Przywara <andre.przywara@arm.com>
Wed, 4 Apr 2018 00:31:15 +0000 (01:31 +0100)
committerJagan Teki <jagan@amarulasolutions.com>
Wed, 4 Apr 2018 06:01:35 +0000 (11:31 +0530)
commitc03411730215dadec9e4c2edcb8119e85bc4a406
tree5db8e9f67ff3f95a7941b5849a3a01430c1a2753
parent381996c5edaf9d63fe93a12eb84aa260d1f9500f
net: sun8i-emac: support new pinctrl DT bindings

The Linux kernel driver for the Allwinner pin controller gained support
for generic properties, which are now also used in the DTs.
The sun8i-emac Ethernet driver for new Allwinner MACs reads the pins from
the DT, but so far only supported the old binding.
Update the parsing routine to cope with both the old and new bindings,
so that the newer DTs can be used with U-Boot and its Ethernet driver.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
drivers/net/sun8i_emac.c