diff options
author | David Bauer <mail@david-bauer.net> | 2019-04-17 23:59:21 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-04-18 17:41:51 -0700 |
commit | 71dd6c0dff51b5f1fef2e9dfa6f6a948aac975f3 (patch) | |
tree | 8e6ec717ab9a043688ddab421f2518cd0095f246 /include/linux/mdio.h | |
parent | b54dd90cab00f5b64ed8ce533991c20bf781a3cd (diff) |
net: phy: add support for reset-controller
This commit adds support for PHY reset pins handled by a reset controller.
Signed-off-by: David Bauer <mail@david-bauer.net>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/mdio.h')
-rw-r--r-- | include/linux/mdio.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mdio.h b/include/linux/mdio.h index 3e99ae3ed87f..6eaf71500ef6 100644 --- a/include/linux/mdio.h +++ b/include/linux/mdio.h @@ -40,6 +40,7 @@ struct mdio_device { int addr; int flags; struct gpio_desc *reset; + struct reset_control *reset_ctrl; unsigned int reset_assert_delay; unsigned int reset_deassert_delay; }; |