]> git.ipfire.org Git - thirdparty/linux.git/commit
dpll: zl3073x: Add support to get phase offset on connected input pin
authorIvan Vecera <ivecera@redhat.com>
Tue, 15 Jul 2025 14:46:30 +0000 (16:46 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 17 Jul 2025 13:31:55 +0000 (15:31 +0200)
commit86ed4cd5fc0d4388cc083bee7ded8d9894a56b69
tree43217baaf0296398c3f2234055e810c6aab14e84
parent634ca2cb06d2117020908cdf7ca8556a92801fee
dpll: zl3073x: Add support to get phase offset on connected input pin

Add support to get phase offset for the connected input pin. Implement
the appropriate callback and function that performs DPLL to connected
reference phase error measurement and notifies DPLL core about changes.

The measurement is performed internally by device on background 40 times
per second but the measured value is read each second and compared with
previous value.

Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Tested-by: Prathosh Satish <prathosh.satish@microchip.com>
Co-developed-by: Prathosh Satish <Prathosh.Satish@microchip.com>
Signed-off-by: Prathosh Satish <Prathosh.Satish@microchip.com>
Signed-off-by: Ivan Vecera <ivecera@redhat.com>
Link: https://patch.msgid.link/20250715144633.149156-3-ivecera@redhat.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/dpll/zl3073x/core.c
drivers/dpll/zl3073x/dpll.c
drivers/dpll/zl3073x/dpll.h
drivers/dpll/zl3073x/regs.h