]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbc9476a9e74e5ad130c24586e1b34df6842b6894
tree7b30f621f6a22a45334606aea0365db4105f0bc0
parent895b6c2d1f164025ac50520e43f1b7565ff095e0
parentecff90622fe14cf0db9ba05b5becc38ec0de5407
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>