OSDN Git Service

ice: add support for auxiliary input/output pins
authorMaciej Machnikowski <maciej.machnikowski@intel.com>
Wed, 16 Jun 2021 16:35:22 +0000 (09:35 -0700)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Fri, 25 Jun 2021 18:30:49 +0000 (11:30 -0700)
commit172db5f91d5f7b91670c68a7547798b0b5374158
tree3ad9bc0b4089449ec6bf886f595237e69c5b7425
parent3089cf6d3caa1eb344aac05c875f4aeaf891552d
ice: add support for auxiliary input/output pins

The E810 device supports programmable pins for enabling both input and
output events related to the PTP hardware clock. This includes both
output signals with programmable period, as well as timestamping of
events on input pins.

Add support for enabling these using the CONFIG_PTP_1588_CLOCK
interface.

This allows programming the software defined pins to take advantage of
the hardware clock features.

Signed-off-by: Maciej Machnikowski <maciej.machnikowski@intel.com>
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_hw_autogen.h
drivers/net/ethernet/intel/ice/ice_main.c
drivers/net/ethernet/intel/ice/ice_ptp.c
drivers/net/ethernet/intel/ice/ice_ptp.h