]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
dpll: zl3073x: Add functions to access hardware registers
authorIvan Vecera <ivecera@redhat.com>
Tue, 9 Sep 2025 09:15:28 +0000 (11:15 +0200)
committerJakub Kicinski <kuba@kernel.org>
Mon, 15 Sep 2025 15:08:38 +0000 (08:08 -0700)
commit259ede9da4ec8159c312aa60015a3aecbb67f348
tree2a68da0fed8c29cd0680a641e4661270f65e9e01
parent5b5ba63a54cc7cb050fa734dbf495ffd63f9cbf7
dpll: zl3073x: Add functions to access hardware registers

Besides the device host registers that are directly accessible, there
are also hardware registers that can be accessed indirectly via specific
host registers.

Add register definitions for accessing hardware registers and provide
helper functions for working with them. Additionally, extend the number
of pages in the regmap configuration to 256, as the host registers used
for accessing hardware registers are located on page 255.

Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
Signed-off-by: Ivan Vecera <ivecera@redhat.com>
Link: https://patch.msgid.link/20250909091532.11790-2-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