diff options
author | John Efstathiades <john.efstathiades@pebblebay.com> | 2019-11-07 17:08:33 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-11-11 12:46:56 -0800 |
commit | 228200179213bfc9b4d6097e1c26de30bd18c1e6 (patch) | |
tree | 59d362f459b376fc9315f4f4bef87e5ea341919a /drivers/net/ethernet/ec_bhf.c | |
parent | 26285f1359695e94751e01a4755d322af0e74145 (diff) |
Support LAN743x PTP periodic output on any GPIO
The LAN743x Ethernet controller provides two independent PTP event
channels. Each one can be used to generate a periodic output from
the PTP clock. The output can be routed to any one of the available
GPIO pins on the device.
The PTP clock API can now be used to:
- select any LAN743x GPIO pin to function as a periodic output
- select either LAN743x PTP event channel to generate the output
The LAN7430 has 4 GPIO pins that are multiplexed with its internal
PHY LED control signals. A pin assigned to the LED control function
will be assigned to the GPIO function if selected for PTP periodic
output.
Signed-off-by: John Efstathiades <john.efstathiades@pebblebay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ec_bhf.c')
0 files changed, 0 insertions, 0 deletions