mirror of
https://github.com/torvalds/linux
synced 2024-10-01 17:00:41 +00:00
net: lan966x: Change the PTP pin used to read/write the PHC.
To read/write a value to a PHC, it is required to use a PTP pin. Currently it is used pin 5, but change to pin 7 as is the last pin. All the other pins will have different functions. Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
c1a519919d
commit
77f2accb50
|
@ -16,7 +16,7 @@
|
||||||
*/
|
*/
|
||||||
#define LAN966X_1PPB_FORMAT 3480517749LL
|
#define LAN966X_1PPB_FORMAT 3480517749LL
|
||||||
|
|
||||||
#define TOD_ACC_PIN 0x5
|
#define TOD_ACC_PIN 0x7
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
PTP_PIN_ACTION_IDLE = 0,
|
PTP_PIN_ACTION_IDLE = 0,
|
||||||
|
|
Loading…
Reference in a new issue