[PATCH net-next 0/2] dpll: zl3073x: consolidate chip info and add temperature reporting

From: Ivan Vecera

Date: Fri Feb 27 2026 - 05:53:25 EST


This series refactors the ZL3073x chip variant handling and adds die
temperature reporting for chips that support it.

Patch 1 replaces the five per-variant chip_info structures and their
exported symbols with a single consolidated lookup table. The chip
variant is now detected at runtime from the chip ID register rather
than being selected at compile time via bus driver match data. This
simplifies the I2C/SPI drivers and makes adding new variants a
single-line table addition. A flags field replaces the hardcoded
chip_id switch in zl3073x_dev_is_ref_phase_comp_32bit().

Patch 2 uses the new flags infrastructure to add die temperature
reporting for chip variants that provide a temperature status register.
The temp_get callback is conditionally set during device registration
based on the ZL3073X_FLAG_DIE_TEMP chip flag.

Ivan Vecera (2):
dpll: zl3073x: detect DPLL channel count from chip ID at runtime
dpll: zl3073x: add die temperature reporting for supported chips

drivers/dpll/zl3073x/core.c | 118 ++++++++++--------------------------
drivers/dpll/zl3073x/core.h | 59 +++++++++---------
drivers/dpll/zl3073x/dpll.c | 28 ++++++++-
drivers/dpll/zl3073x/dpll.h | 2 +
drivers/dpll/zl3073x/i2c.c | 37 ++++-------
drivers/dpll/zl3073x/regs.h | 2 +
drivers/dpll/zl3073x/spi.c | 37 ++++-------
7 files changed, 113 insertions(+), 170 deletions(-)

--
2.52.0