ice: add phase offset monitor for all PPS dpll inputs
authorArkadiusz Kubalewski <arkadiusz.kubalewski@intel.com>
Thu, 12 Jun 2025 15:28:35 +0000 (17:28 +0200)
committerJakub Kicinski <kuba@kernel.org>
Sat, 14 Jun 2025 01:21:57 +0000 (18:21 -0700)
commit863c7e5059363a37dba19df78a37fb0960b331fa
tree3eeaae62ddaa48b1ac2b531fc4cc700b4388fa87
parent2952daf44a84670a6aa9e13edbc105bdab83ccba
ice: add phase offset monitor for all PPS dpll inputs

Implement a new admin command and helper function to handle and obtain
CGU measurements for input pins.

Add new callback operations to control the dpll device-level feature
"phase offset monitor," allowing it to be enabled or disabled. If the
feature is enabled, provide users with measured phase offsets and
notifications.

Initialize PPS DPLL with new callback operations if the feature is
supported by the firmware.

Reviewed-by: Milena Olech <milena.olech@intel.com>
Signed-off-by: Arkadiusz Kubalewski <arkadiusz.kubalewski@intel.com>
Acked-by: Vadim Fedorenko <vadim.fedorenko@linux.dev>
Link: https://patch.msgid.link/20250612152835.1703397-4-arkadiusz.kubalewski@intel.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/intel/ice/ice_adminq_cmd.h
drivers/net/ethernet/intel/ice/ice_common.c
drivers/net/ethernet/intel/ice/ice_common.h
drivers/net/ethernet/intel/ice/ice_dpll.c
drivers/net/ethernet/intel/ice/ice_dpll.h
drivers/net/ethernet/intel/ice/ice_main.c