platform/x86: intel_pmc_core: Add slp_s0_offset attribute back to tgl_reg_map
authorGayatri Kammela <gayatri.kammela@intel.com>
Thu, 27 Feb 2020 23:29:16 +0000 (15:29 -0800)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 28 Feb 2020 10:44:00 +0000 (12:44 +0200)
commit0e9c026f1b86a855cb9ab7aa270ff8db3c72015d
tree271418e6bd8620f2aa41205096a8edea1dea326c
parent08ec5020bd6cf0102ec92c00ed149d8b76ace5ee
platform/x86: intel_pmc_core: Add slp_s0_offset attribute back to tgl_reg_map

If platforms such as Tiger Lake has sub-states of S0ix, then attributes
such as slps0_dbg_offset become invalid. But slp_s0_offset is still
valid as it is used to get the pmcdev_base_addr.

Hence, add back slp_s0_offset and remove slps0_dbg_offset attributes.

Cc: Chen Zhou <chenzhou10@huawei.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: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/intel_pmc_core.c