platform/x86: intel_pmc_core: Remove slp_s0 attributes from tgl_reg_map
authorGayatri Kammela <gayatri.kammela@intel.com>
Tue, 4 Feb 2020 23:01:57 +0000 (15:01 -0800)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 10 Feb 2020 15:47:38 +0000 (17:47 +0200)
commita018e28f0880c1eaa72b09d2ec64831024d149a6
tree951c94c6f8418fc50f8c2c9d2636199c1b623648
parent4d6a63e0b99ea4ba7f718ab084ebf566b7d1585f
platform/x86: intel_pmc_core: Remove slp_s0 attributes from tgl_reg_map

If platforms such as Tiger Lake has sub-states of S0ix, then both
slp_s0_debug_status and slp_s0_dbg_latch entries become invalid. Thus,
remove slp_s0_offset and slp_s0_dbg_maps attributes from tgl_reg_map, so
that both the entries are not created.

Cc: Srinivas Pandruvada <srinivas.pandruvada@intel.com>
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: David Box <david.e.box@intel.com>
Suggested-by: David Box <david.e.box@intel.com>
Signed-off-by: Gayatri Kammela <gayatri.kammela@intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/intel_pmc_core.c