diff options
author | Guenter Roeck <linux@roeck-us.net> | 2014-04-15 19:16:41 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-04-16 15:09:51 -0400 |
commit | 1d2514818a2c3d94dd250e6027cb928a4e192548 (patch) | |
tree | c4ff94f2b9df1d5b96c5c46b2bc4d02b1167ed04 /include | |
parent | 78cdb079685cd8365acaf9fce896137e7d60e1c1 (diff) | |
download | linux-1d2514818a2c3d94dd250e6027cb928a4e192548.tar.gz linux-1d2514818a2c3d94dd250e6027cb928a4e192548.tar.bz2 linux-1d2514818a2c3d94dd250e6027cb928a4e192548.zip |
net: mdio-gpio: Add support for active low gpio pins
Some systems using mdio-gpio may use active-low gpio pins
(eg with inverters or FETs connected to all or some of the
gpio pins).
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mdio-gpio.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/mdio-gpio.h b/include/linux/mdio-gpio.h index 7c9fe3c2be73..57e57fe6055c 100644 --- a/include/linux/mdio-gpio.h +++ b/include/linux/mdio-gpio.h @@ -18,6 +18,9 @@ struct mdio_gpio_platform_data { unsigned int mdc; unsigned int mdio; + bool mdc_active_low; + bool mdio_active_low; + unsigned int phy_mask; int irqs[PHY_MAX_ADDR]; /* reset callback */ |