platform/x86: intel_pmc_core: Fix TigerLake power gating status map
authorGayatri Kammela <gayatri.kammela@intel.com>
Tue, 6 Oct 2020 22:47:01 +0000 (15:47 -0700)
committerHans de Goede <hdegoede@redhat.com>
Wed, 7 Oct 2020 21:06:24 +0000 (23:06 +0200)
commit652036bd5be0ac94fd1db851d72ece8ee133c74d
tree11be24d675904353122b756fa526909973ec4962
parente973f1d372dca5ac1d107ec6134f72e566fdf968
platform/x86: intel_pmc_core: Fix TigerLake power gating status map

TigerLake's LPM power gating status register has errors in the bit-to-name
mapping as well as with the marked reserved bits according to the actual
implementation. Hence, update the right bit-to-name mapping and the
reserved bits in accordance with actual implementation.

Cc: Srinivas Pandruvada <srinivas.pandruvada@intel.com>
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: David E. Box <david.e.box@intel.com>
Signed-off-by: Gayatri Kammela <gayatri.kammela@intel.com>
Signed-off-by: David E. Box <david.e.box@linux.intel.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20201006224702.12697-3-david.e.box@linux.intel.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/intel_pmc_core.c