commit | 71bd106d2567675668e253cba3960e3c4bf2e80e | [log] [tgz] |
---|---|---|
author | Moritz Fischer <mdf@kernel.org> | Thu Feb 07 09:52:10 2019 -0800 |
committer | David S. Miller <davem@davemloft.net> | Thu Feb 07 18:11:58 2019 -0800 |
tree | e8f34fc458693dd53076ee2993ddb0402966ef0e | |
parent | a4751093a26c6bbdff86c113e7f76cf4eaf22210 [diff] |
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>