]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
dpll: zl3073x: Implement input pin state setting in automatic mode
authorIvan Vecera <ivecera@redhat.com>
Fri, 4 Jul 2025 18:22:01 +0000 (20:22 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 10 Jul 2025 02:08:53 +0000 (19:08 -0700)
commitbf33c93c1a160301a577d098c700411545e9a0c2
treebd45d92654bb11c6d1902159ec249ae66daf7856
parent12ba92f0a6defd60cb0c518c69fce19d7d27660d
dpll: zl3073x: Implement input pin state setting in automatic mode

Implement input pin state setting when the DPLL is running in automatic
mode. Unlike manual mode, the DPLL mode switching is not used here and
the implementation uses special priority value (15) to make the given
pin non-selectable.

When the user sets state of the pin as disconnected the driver
internally sets its priority in HW to 15 that prevents the DPLL to
choose this input pin. Conversely, if the pin status is set to
selectable, the driver sets the pin priority in HW to the original saved
value.

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