]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
dpll: zl3073x: Refactor DPLL initialization
authorIvan Vecera <ivecera@redhat.com>
Tue, 9 Sep 2025 09:15:31 +0000 (11:15 +0200)
committerJakub Kicinski <kuba@kernel.org>
Mon, 15 Sep 2025 15:08:39 +0000 (08:08 -0700)
commitebb1031c51377829b21e1c58e8eccc479e4921b7
treeaa7b65559b1132b8cec681d73217dfd16f61b73f
parentca017409da6944310d2a9d8744f5ebc81179ce19
dpll: zl3073x: Refactor DPLL initialization

Refactor DPLL initialization and move DPLL (de)registration, monitoring
control, fetching device invariant parameters and phase offset
measurement block setup to separate functions.

Use these new functions during device probe and teardown functions and
during changes to the clock_id devlink parameter.

These functions will also be used in the next patch implementing devlink
flash, where this functionality is likewise required.

Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
Signed-off-by: Ivan Vecera <ivecera@redhat.com>
Link: https://patch.msgid.link/20250909091532.11790-5-ivecera@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/dpll/zl3073x/core.c
drivers/dpll/zl3073x/core.h
drivers/dpll/zl3073x/devlink.c