Merge branch 'lan966x-ptp-programmable-pins'
authorDavid S. Miller <davem@davemloft.net>
Wed, 27 Apr 2022 11:03:18 +0000 (12:03 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 Apr 2022 11:03:18 +0000 (12:03 +0100)
commit95ccb04192cd16aea1338ad5ad25e96c39cf8486
tree7b30f621f6a22a45334606aea0365db4105f0bc0
parent124de27101ffec33a1eb6ccf0eff89a1a9b999a8
parentf3d8e0a9c28ba0bb3716dd5e8697a075ea36fdd8
Merge branch 'lan966x-ptp-programmable-pins'

Horatiu Vultur says:

====================
net: lan966x: Add support for PTP programmable pins

Lan966x has 8 PTP programmable pins. The last pin is hardcoded to be used
by PHC0 and all the rest are shareable between the PHCs. The PTP pins can
implement both extts and perout functions.

v1->v2:
- use ptp_find_pin_unlocked instead of ptp_find_pin inside the irq handler.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>