Skip to content

Commit f872f73

Browse files
sumeetpawnikarrafaeljw
authored andcommitted
thermal: int340x: Fix VCoRefLow MMIO bit offset for TGL
The VCoRefLow CPU FIVR register definition for Tiger Lake is incorrect. Current implementation reads it from MMIO offset 0x5A18 and bit offset [12:14], but the actual correct register definition is from bit offset [11:13]. Update to fix the bit offset. Fixes: 473be51 ("thermal: int340x: processor_thermal: Add RFIM driver") Signed-off-by: Sumeet Pawnikar <sumeet.r.pawnikar@intel.com> Cc: 5.14+ <stable@vger.kernel.org> # 5.14+ [ rjw: New subject, changelog edits ] Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent 0fcfb00 commit f872f73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/thermal/intel/int340x_thermal/processor_thermal_rfim.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ static const char * const fivr_strings[] = {
2929
};
3030

3131
static const struct mmio_reg tgl_fivr_mmio_regs[] = {
32-
{ 0, 0x5A18, 3, 0x7, 12}, /* vco_ref_code_lo */
32+
{ 0, 0x5A18, 3, 0x7, 11}, /* vco_ref_code_lo */
3333
{ 0, 0x5A18, 8, 0xFF, 16}, /* vco_ref_code_hi */
3434
{ 0, 0x5A08, 8, 0xFF, 0}, /* spread_spectrum_pct */
3535
{ 0, 0x5A08, 1, 0x1, 8}, /* spread_spectrum_clk_enable */

0 commit comments

Comments
 (0)