]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
dpll: add phase_offset_monitor_get/set callback ops
authorArkadiusz Kubalewski <arkadiusz.kubalewski@intel.com>
Thu, 12 Jun 2025 15:28:34 +0000 (17:28 +0200)
committerJakub Kicinski <kuba@kernel.org>
Sat, 14 Jun 2025 01:21:57 +0000 (18:21 -0700)
commit2952daf44a84670a6aa9e13edbc105bdab83ccba
tree4f751a421ed4b60890f14d3d066e50ee82ca984b
parentc035e736038045b411cb368e63f07bc2f5dbc0e1
dpll: add phase_offset_monitor_get/set callback ops

Add new callback operations for a dpll device:
- phase_offset_monitor_get(..) - to obtain current state of phase offset
  monitor feature from dpll device,
- phase_offset_monitor_set(..) - to allow feature configuration.

Obtain the feature state value using the get callback and provide it to
the user if the device driver implements callbacks.

Execute the set callback upon user requests.

Reviewed-by: Milena Olech <milena.olech@intel.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.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-3-arkadiusz.kubalewski@intel.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/dpll/dpll_netlink.c
include/linux/dpll.h