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/linux/mdio-gpio.h | |
parent | 78cdb079685cd8365acaf9fce896137e7d60e1c1 (diff) | |
download | op-kernel-dev-1d2514818a2c3d94dd250e6027cb928a4e192548.zip op-kernel-dev-1d2514818a2c3d94dd250e6027cb928a4e192548.tar.gz |
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/linux/mdio-gpio.h')
-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 7c9fe3c..57e57fe6 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 */ |