summaryrefslogtreecommitdiff
path: root/include/linux/mdio.h
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2019-04-18 00:59:21 +0300
committerDavid S. Miller <davem@davemloft.net>2019-04-19 03:41:51 +0300
commit71dd6c0dff51b5f1fef2e9dfa6f6a948aac975f3 (patch)
tree8e6ec717ab9a043688ddab421f2518cd0095f246 /include/linux/mdio.h
parentb54dd90cab00f5b64ed8ce533991c20bf781a3cd (diff)
downloadlinux-71dd6c0dff51b5f1fef2e9dfa6f6a948aac975f3.tar.xz
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.h1
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;
};