From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757033AbaE2Lnl (ORCPT ); Thu, 29 May 2014 07:43:41 -0400 Received: from mail-ie0-f178.google.com ([209.85.223.178]:42991 "EHLO mail-ie0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756162AbaE2Lnk (ORCPT ); Thu, 29 May 2014 07:43:40 -0400 Date: Thu, 29 May 2014 12:43:34 +0100 From: Lee Jones To: "Zhu, Lejun" Cc: broonie@kernel.org, sameo@linux.intel.com, linux-kernel@vger.kernel.org, jacob.jun.pan@linux.intel.com, bin.yang@intel.com Subject: Re: [PATCH v4 3/3] mfd: intel_soc_pmic: Build files Message-ID: <20140529114334.GJ1954@lee--X1> References: <1401347968-24410-1-git-send-email-lejun.zhu@linux.intel.com> <1401347968-24410-4-git-send-email-lejun.zhu@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1401347968-24410-4-git-send-email-lejun.zhu@linux.intel.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > This patch adds Intel SoC PMIC support to the build files. > > Signed-off-by: Yang, Bin > Signed-off-by: Zhu, Lejun > --- > v2: > - Add select REGMAP_I2C. > v3: > - Add select REGMAP_IRQ. > v4: > - No change. > --- > drivers/mfd/Kconfig | 12 ++++++++++++ > drivers/mfd/Makefile | 3 +++ > 2 files changed, 15 insertions(+) These changes shouldn't really be in a separate patch. > diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig > index 3383412..d987b71 100644 > --- a/drivers/mfd/Kconfig > +++ b/drivers/mfd/Kconfig > @@ -241,6 +241,18 @@ config LPC_SCH > LPC bridge function of the Intel SCH provides support for > System Management Bus and General Purpose I/O. > > +config INTEL_SOC_PMIC > + bool "Support for Intel Atom SoC PMIC" > + depends on I2C=y > + select MFD_CORE > + select REGMAP_I2C > + select REGMAP_IRQ > + help > + Select this option to enable support for the PMIC device > + on some Intel SoC systems. The PMIC provides ADC, GPIO, > + thermal, charger and related power management functions > + on these systems. > + > config MFD_INTEL_MSIC > bool "Intel MSIC" > depends on INTEL_SCU_IPC > diff --git a/drivers/mfd/Makefile b/drivers/mfd/Makefile > index 2851275..36dda4c 100644 > --- a/drivers/mfd/Makefile > +++ b/drivers/mfd/Makefile > @@ -166,3 +166,6 @@ obj-$(CONFIG_MFD_RETU) += retu-mfd.o > obj-$(CONFIG_MFD_AS3711) += as3711.o > obj-$(CONFIG_MFD_AS3722) += as3722.o > obj-$(CONFIG_MFD_STW481X) += stw481x.o > + > +intel-soc-pmic-objs := intel_soc_pmic_core.o intel_soc_pmic_crc.o > +obj-$(CONFIG_INTEL_SOC_PMIC) += intel-soc-pmic.o -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog