mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 03:10:12 +00:00
![Andrew Lunn](/assets/img/avatar_default.png)
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>
9 lines
177 B
C
9 lines
177 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef __LINUX_MDIO_GPIO_H
|
|
#define __LINUX_MDIO_GPIO_H
|
|
|
|
#define MDIO_GPIO_MDC 0
|
|
#define MDIO_GPIO_MDIO 1
|
|
#define MDIO_GPIO_MDO 2
|
|
|
|
#endif
|