Re: [PATCH net-next v2 2/3] dpll: add frequency monitoring callback ops
From: Vadim Fedorenko <vadim.fedorenko@linux.dev>
Date: 2026-03-31 11:45:57
Also in:
linux-doc, lkml
From: Vadim Fedorenko <vadim.fedorenko@linux.dev>
Date: 2026-03-31 11:45:57
Also in:
linux-doc, lkml
On 30/03/2026 11:55, Ivan Vecera wrote:
Add new callback operations for a dpll device: - freq_monitor_get(..) - to obtain current state of frequency monitor feature from dpll device, - freq_monitor_set(..) - to allow feature configuration. Add new callback operation for a dpll pin: - measured_freq_get(..) - to obtain the measured frequency in Hz. Obtain the feature state value using the get callback and provide it to the user if the device driver implements callbacks. The measured_freq_get pin callback is only invoked when the frequency monitor is enabled. Execute the set callback upon user requests. Signed-off-by: Ivan Vecera <ivecera@redhat.com>
Reviewed-by: Vadim Fedorenko <vadim.fedorenko@linux.dev>