Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1606391

[PATCH 3/5] mfd: axp20c-i2c: Select designware i2c-bus driver on x86

From Hans de Goede <hdegoede@redhat.com>
Newsgroups linux.kernel
Subject [PATCH 3/5] mfd: axp20c-i2c: Select designware i2c-bus driver on x86
Date 2017-03-22 12:40 +0100
Message-ID <tnMMp-1H2-3@gated-at.bofh.it> (permalink)
References <tnMCK-1Dh-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On x86 the axp288 PMIC provides an ACPI OPRegion handler, which must be
available before other drivers using it are loaded, which can only be
ensured if the mfd, opregion driver and i2c-bus drivers are built in.

The opregion driver is a bool depending on MFD_AXP20X_I2C ensuring that
it will be builtin if the opregion driver is to be enabled, add a
select for the designware-options to ensure those get built in too.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 drivers/mfd/Kconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index 0c6a967..08f8dcb 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -148,6 +148,8 @@ config MFD_AXP20X_I2C
 	tristate "X-Powers AXP series PMICs with I2C"
 	select MFD_AXP20X
 	select REGMAP_I2C
+	select I2C_DESIGNWARE_PLATFORM if X86
+	select I2C_DESIGNWARE_BAYTRAIL if X86
 	depends on I2C
 	help
 	  If you say Y here you get support for the X-Powers AXP series power
-- 
2.9.3

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/5] Intel PMIC: Intel PMIC mfd and OPRegion drivers must be built in Hans de Goede <hdegoede@redhat.com> - 2017-03-22 12:30 +0100
  [PATCH 4/5] mfd: intel_soc_pmic_chtwc: This driver must always be builtin when enabled Hans de Goede <hdegoede@redhat.com> - 2017-03-22 12:40 +0100
  [PATCH 3/5] mfd: axp20c-i2c: Select designware i2c-bus driver on x86 Hans de Goede <hdegoede@redhat.com> - 2017-03-22 12:40 +0100
  [PATCH 2/5] mfd: intel_soc_pmic: Select designware i2c-bus driver Hans de Goede <hdegoede@redhat.com> - 2017-03-22 12:40 +0100
    Re: [PATCH 2/5] mfd: intel_soc_pmic: Select designware i2c-bus  driver Andy Shevchenko <andriy.shevchenko@linux.intel.com> - 2017-03-22 14:00 +0100
      Re: [PATCH 2/5] mfd: intel_soc_pmic: Select designware i2c-bus driver Lee Jones <lee.jones@linaro.org> - 2017-03-23 17:50 +0100
        Re: [PATCH 2/5] mfd: intel_soc_pmic: Select designware i2c-bus driver Hans de Goede <hdegoede@redhat.com> - 2017-03-23 23:40 +0100
  [PATCH 5/5] ACPI / PMIC: mfd: intel_pmic_chtwc: This driver must always be builtin Hans de Goede <hdegoede@redhat.com> - 2017-03-22 12:40 +0100

csiph-web