]> git.baikalelectronics.ru Git - uboot.git/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)
commitcac693a92249d205dd2bff5a3e2fc52faf85abed
tree5db8e9f67ff3f95a7941b5849a3a01430c1a2753
parent40888c0af9e84fcbeb5d9b864cbe822551e6ea89
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