]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
Merge branch 'dpll-zl3073x-consolidate-chip-info-and-add-temperature-reporting'
authorPaolo Abeni <pabeni@redhat.com>
Tue, 3 Mar 2026 11:15:32 +0000 (12:15 +0100)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 3 Mar 2026 11:15:32 +0000 (12:15 +0100)
commitc006396f59aae01fccc758a0243402f5c0a9a54d
tree25e5ad9803c97d2093e08e015e1c58f4b0bae442
parent2b12ffb669553972f5cd017c69a2b81593b09106
parent3a97e02b3e91e4d40095ad9bb6e466d8d7c1a1bc
Merge branch 'dpll-zl3073x-consolidate-chip-info-and-add-temperature-reporting'

Ivan Vecera says:

====================
dpll: zl3073x: consolidate chip info and add temperature reporting

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.
====================

Link: https://patch.msgid.link/20260227105300.710272-1-ivecera@redhat.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>