net: phy: mdio-gpio: Add #defines for the GPIO index's
authorAndrew Lunn <andrew@lunn.ch>
Wed, 18 Apr 2018 23:02:58 +0000 (01:02 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Apr 2018 19:59:11 +0000 (15:59 -0400)
commitfb78a95e22123da57cb79b98bdc62eb33965ca8a
tree19e4f0c9e0d647c5f19df7809114da463f552c62
parent4029ea3a8625bc699210623a106e887c2761fead
net: phy: mdio-gpio: Add #defines for the GPIO index's

The GPIOs are described in device tree using a list, without names.
Add defines to indicate what each index in the list means. These
defines should also be used by platform devices passing GPIOs via a
GPIO lookup table.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/mdio-gpio.c
include/linux/mdio-gpio.h [new file with mode: 0644]