ACPI / PMIC: Add opregion driver for Intel Dollar Cove TI PMIC
authorTakashi Iwai <tiwai@suse.de>
Mon, 4 Sep 2017 14:43:40 +0000 (16:43 +0200)
committerLee Jones <lee.jones@linaro.org>
Fri, 13 Oct 2017 09:42:58 +0000 (10:42 +0100)
commit31374972321d1639d1a8bb1213b66688132d103f
treea66a9761c074ef5e18903050d152045f499b6bf6
parent6bac0606fdba97a2666bc8f0460a05fb7352b7e2
ACPI / PMIC: Add opregion driver for Intel Dollar Cove TI PMIC

This patch adds the opregion driver for Dollar Cove TI PMIC on Intel
Cherry Trail devices.  The patch is based on the original work by
Intel, found at:
      https://github.com/01org/ProductionKernelQuilts
with many cleanups and rewrites.

The driver is currently provided only as built-in to follow other
PMIC opregion drivers convention.

The re-enumeration of devices at probe is required for fixing the
issues on HP x2 210 G2.  See bug#195689.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=193891
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=195689

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/acpi/Kconfig
drivers/acpi/Makefile
drivers/acpi/pmic/intel_pmic_chtdc_ti.c [new file with mode: 0644]