summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/Kconfig
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2017-09-04 09:22:42 -0400
committerLee Jones <lee.jones@linaro.org>2017-09-05 03:46:02 -0400
commitb01e9348e106544e50691252bf58cde239681f19 (patch)
treea2403d7f5ec17fe3bac703c881f01db46be34572 /drivers/mfd/Kconfig
parent4d9ed62ab1425d85b25d04096cb4e74117e6dc24 (diff)
mfd: intel_soc_pmic: Differentiate between Bay and Cherry Trail CRC variants
Both Bay and Cherry Trail devices may be used together with a Crystal Cove PMIC. Each platform has its own variant of the PMIC, which both use the same ACPI HID, but they are not 100% compatible. This commits makes the intel_soc_pmic_core code check the _HRV of the ACPI-firmware-node and selects intel_soc_pmic_config_byt_crc resp. intel_soc_pmic_config_cht_crc based on this. This fixes the Bay Trail specific ACPI OpRegion code causing problems on Cherry Trail devices. Specifically this was causing the external microsd slot on a Dell Venue 8 5855 (Cherry Trail version) to not work and the eMMC to become unreliable and throw lots of errors. Fixes: 5165238460 ("mfd: intel_soc_pmic: Core driver") Reported-and-tested-by: russianneuromancer <russianneuromancer@ya.ru> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/Kconfig')
-rw-r--r--drivers/mfd/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index 7bc4ee1f9c10..fc5e4fef89d2 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -467,12 +467,12 @@ config LPC_SCH
467 467
468config INTEL_SOC_PMIC 468config INTEL_SOC_PMIC
469 bool "Support for Crystal Cove PMIC" 469 bool "Support for Crystal Cove PMIC"
470 depends on HAS_IOMEM && I2C=y && GPIOLIB && COMMON_CLK 470 depends on ACPI && HAS_IOMEM && I2C=y && GPIOLIB && COMMON_CLK
471 depends on X86 || COMPILE_TEST 471 depends on X86 || COMPILE_TEST
472 select MFD_CORE 472 select MFD_CORE
473 select REGMAP_I2C 473 select REGMAP_I2C
474 select REGMAP_IRQ 474 select REGMAP_IRQ
475 select I2C_DESIGNWARE_PLATFORM if ACPI 475 select I2C_DESIGNWARE_PLATFORM
476 help 476 help
477 Select this option to enable support for Crystal Cove PMIC 477 Select this option to enable support for Crystal Cove PMIC
478 on some Intel SoC systems. The PMIC provides ADC, GPIO, 478 on some Intel SoC systems. The PMIC provides ADC, GPIO,