OSDN Git Service

platform/x86: intel_pmc_core: Read base address from LPIT
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Fri, 2 Feb 2018 13:43:34 +0000 (19:13 +0530)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Sun, 4 Feb 2018 13:55:52 +0000 (15:55 +0200)
commit745698c37c08f48fb5ad3c0cb7ee955bd5701d4a
treedce09bb8a4679ee5b6bb80515c9dc065ae14e11c
parent9383bbadfe29fe8319e2245b75a508db9abd7b87
platform/x86: intel_pmc_core: Read base address from LPIT

Read SLP_S0 address from ACPI LPIT table when present and use PMC
specific SLP_S0 offset to get the base address of PMC MMIO.

Signed-off-by: Rajneesh Bhardwaj <rajneesh.bhardwaj@intel.com>
Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/intel_pmc_core.c