]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit07a0d86ee24c08f45410c0780d69246dfe2b68e0
tree3ad9bc0b4089449ec6bf886f595237e69c5b7425
parent4aa652c69acb575e6a0b7b84e2c493411f394d85
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