diff options
| author | Ivan Vecera <ivecera@redhat.com> | 2026-02-27 13:53:00 +0300 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2026-03-03 14:15:30 +0300 |
| commit | 3a97e02b3e91e4d40095ad9bb6e466d8d7c1a1bc (patch) | |
| tree | 25e5ad9803c97d2093e08e015e1c58f4b0bae442 /scripts/basic | |
| parent | 4845f2fff730f0cdf8f7fe6401c8b871891cf1cb (diff) | |
| download | linux-3a97e02b3e91e4d40095ad9bb6e466d8d7c1a1bc.tar.xz | |
dpll: zl3073x: add die temperature reporting for supported chips
Some zl3073x chip variants (0x1Exx, 0x2Exx and 0x3FC4) provide a die
temperature status register with 0.1 C resolution.
Add a ZL3073X_FLAG_DIE_TEMP chip flag to identify these variants and
implement zl3073x_dpll_temp_get() as the dpll_device_ops.temp_get
callback. The register value is converted from 0.1 C units to
millidegrees as expected by the DPLL subsystem.
To support per-instance ops selection, copy the base dpll_device_ops
into struct zl3073x_dpll and conditionally set .temp_get during device
registration based on the chip flag.
Signed-off-by: Ivan Vecera <ivecera@redhat.com>
Link: https://patch.msgid.link/20260227105300.710272-3-ivecera@redhat.com
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
