]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
dpll: zl3073x: Fetch invariants during probe
authorIvan Vecera <ivecera@redhat.com>
Fri, 4 Jul 2025 18:21:56 +0000 (20:21 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 10 Jul 2025 02:08:52 +0000 (19:08 -0700)
commitb7d907d1f84a3c51d7fcc83e30a0227cfea77172
treed63561121a0bfc7324e4030e897e06514ecdef11
parent2df8e64e01c10a4b75ea7797629f9e764a840eb0
dpll: zl3073x: Fetch invariants during probe

Several configuration parameters will remain constant at runtime,
so we can load them during probe to avoid excessive reads from
the hardware.

Read the following parameters from the device during probe and store
them for later use:

* enablement status and frequencies of the synthesizers and their
  associated DPLL channels
* enablement status and type (single-ended or differential) of input pins
* associated synthesizers, signal format, and enablement status of
  outputs

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