diff options
author | Aaron Lu <aaron.lu@intel.com> | 2014-11-24 04:21:54 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-11-26 17:32:05 -0500 |
commit | b1eea857d8c70dc3789cc2231e3c0a273a67ba06 (patch) | |
tree | 4aa99b39d0b8aa244471dc2e8300dabc398c5194 /drivers/acpi/Makefile | |
parent | a26033a1f56b7b1f8a56050c0a9095694aecae11 (diff) |
ACPI / PMIC: support PMIC operation region for CrystalCove
The Baytrail-T platform firmware has defined two customized operation
regions for PMIC chip Crystal Cove - one is for power resource handling
and one is for thermal: sensor temperature reporting, trip point setting,
etc. This patch adds support for them on top of the existing Crystal Cove
PMIC driver.
The reason to split code into a separate file intel_pmic.c is that there
are more PMIC drivers with ACPI operation region support coming and we can
re-use those code. The intel_pmic_opregion_data structure is created also
for this purpose: when we need to support a new PMIC's operation region,
we just need to fill those callbacks and the two register mapping tables.
Signed-off-by: Aaron Lu <aaron.lu@intel.com>
Acked-by: Lee Jones <lee.jones@linaro.org> for the MFD part
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/Makefile')
-rw-r--r-- | drivers/acpi/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/acpi/Makefile b/drivers/acpi/Makefile index c3b2fcb729f3..38ea2a8245ed 100644 --- a/drivers/acpi/Makefile +++ b/drivers/acpi/Makefile | |||
@@ -87,3 +87,6 @@ obj-$(CONFIG_ACPI_PROCESSOR_AGGREGATOR) += acpi_pad.o | |||
87 | obj-$(CONFIG_ACPI_APEI) += apei/ | 87 | obj-$(CONFIG_ACPI_APEI) += apei/ |
88 | 88 | ||
89 | obj-$(CONFIG_ACPI_EXTLOG) += acpi_extlog.o | 89 | obj-$(CONFIG_ACPI_EXTLOG) += acpi_extlog.o |
90 | |||
91 | obj-$(CONFIG_PMIC_OPREGION) += pmic/intel_pmic.o | ||
92 | obj-$(CONFIG_CRC_PMIC_OPREGION) += pmic/intel_pmic_crc.o | ||