diff options
author | Moritz Fischer | 2019-02-07 18:52:10 +0100 |
---|---|---|
committer | David S. Miller | 2019-02-08 03:11:58 +0100 |
commit | 71bd106d2567675668e253cba3960e3c4bf2e80e (patch) | |
tree | e8f34fc458693dd53076ee2993ddb0402966ef0e /drivers/net/phy/phy-c45.c | |
parent | Merge branch 'Add-comphy-support-for-Armada-38x' (diff) | |
download | kernel-qcow2-linux-71bd106d2567675668e253cba3960e3c4bf2e80e.tar.gz kernel-qcow2-linux-71bd106d2567675668e253cba3960e3c4bf2e80e.tar.xz kernel-qcow2-linux-71bd106d2567675668e253cba3960e3c4bf2e80e.zip |
net: fixed-phy: Add fixed_phy_register_with_gpiod() API
Add fixed_phy_register_with_gpiod() API. It lets users create a
fixed_phy instance that uses a GPIO descriptor which was obtained
externally e.g. through platform data.
This enables platform devices (non-DT based) to use GPIOs for link
status.
Signed-off-by: Moritz Fischer <mdf@kernel.org>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/phy-c45.c')
0 files changed, 0 insertions, 0 deletions