OSDN Git Service

ptp: ocp: Add support for selectable SMA directions.
authorJonathan Lemon <jonathan.lemon@gmail.com>
Thu, 10 Mar 2022 20:19:03 +0000 (12:19 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Mar 2022 11:54:45 +0000 (11:54 +0000)
commita509a7c61e3b7a16054dafdc5ae804e9a859a0a9
tree550823c20808c194cc23fd4a570ece0592463061
parentfb9eb027fbc90e21cbda18379d85f8603e1f28b9
ptp: ocp: Add support for selectable SMA directions.

Assuming the firmware allows it, the direction of each SMA connector
is no longer fixed.  Handle remapping directions for each pin.

Signed-off-by: Jonathan Lemon <jonathan.lemon@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ptp/ptp_ocp.c