]> git.baikalelectronics.ru Git - kernel.git/commit
thermal: int340x: Fix VCoRefLow MMIO bit offset for TGL
authorSumeet Pawnikar <sumeet.r.pawnikar@intel.com>
Tue, 7 Dec 2021 12:35:39 +0000 (18:05 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 8 Dec 2021 14:29:22 +0000 (15:29 +0100)
commit48b3da6d18ed35338ad97b5e0a99b74bfb74198c
tree207079d25254d554724c26a2c32c87b62f3de261
parentbcaa5780ddbeacad7e998e7957fc9a3a5a94c857
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: 7180a6413798 ("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>
drivers/thermal/intel/int340x_thermal/processor_thermal_rfim.c