]> 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)
commit10f0d015e3a5ceb087834437f32a43f415b5b530
tree3ad9bc0b4089449ec6bf886f595237e69c5b7425
parent8dcdbd376951e5d93e2bb22a124a7a51c560059a
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