]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
dpll: zl3073x: Implement input pin selection in manual mode
authorIvan Vecera <ivecera@redhat.com>
Fri, 4 Jul 2025 18:21:59 +0000 (20:21 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 10 Jul 2025 02:08:53 +0000 (19:08 -0700)
commit9686c8b0167605232fc777a14907089e092a23e6
tree46daa7a3694e482fb5dad26c932967e37ae5df52
parent75a71ecc24125f92eaed45f0b9bd90373f73ec6f
dpll: zl3073x: Implement input pin selection in manual mode

Implement input pin state setting if the DPLL is running in manual mode.
The driver indicates manual mode if the DPLL mode is one of ref-lock,
forced-holdover, freerun.

Use these modes to implement input pin state change between connected
and disconnected states. When the user set the particular pin as
connected the driver marks this input pin as forced reference and
switches the DPLL mode to ref-lock. When the use set the pin as
disconnected the driver switches the DPLL to freerun or forced holdover
mode. The switch to holdover mode is done if the DPLL has holdover
capability (e.g is currently locked with holdover acquired).

Signed-off-by: Ivan Vecera <ivecera@redhat.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Link: https://patch.msgid.link/20250704182202.1641943-10-ivecera@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/dpll/zl3073x/dpll.c
drivers/dpll/zl3073x/prop.c