]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
dpll: zl3073x: Add support to adjust phase
authorIvan Vecera <ivecera@redhat.com>
Tue, 15 Jul 2025 14:46:32 +0000 (16:46 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 17 Jul 2025 13:31:55 +0000 (15:31 +0200)
commit6287262f761e5a75c6316a7fd101abafd7a1d033
tree11284829dd2ba7bc182fcf283684c13255003f15
parentb7dbde2b82cc9523227c4f8ae5aa79b70ba36e22
dpll: zl3073x: Add support to adjust phase

Add support to get/set phase adjustment for both input and output pins.
The phase adjustment is implemented using reference and output phase
offset compensation registers. For input pins the adjustment value can
be arbitrary number but for outputs the value has to be a multiple
of half synthesizer clock cycles.

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-5-ivecera@redhat.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/dpll/zl3073x/dpll.c
drivers/dpll/zl3073x/regs.h