mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-23 21:19:04 -04:00
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>
This commit is contained in:
parent
78cdb07968
commit
1d2514818a
2 changed files with 16 additions and 6 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue