Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755402AbdLTNso (ORCPT ); Wed, 20 Dec 2017 08:48:44 -0500 Received: from mail3.emtrion.de ([80.150.99.69]:57689 "EHLO mail3.emtrion.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755369AbdLTNsh (ORCPT ); Wed, 20 Dec 2017 08:48:37 -0500 From: To: Rob Herring , Mark Rutland , Thierry Reding , David Airlie , Russell King , Shawn Guo , "Sascha Hauer" , Fabio Estevam , =?UTF-8?q?Andreas=20F=C3=A4rber?= , Kevin Hilman , Maxime Ripard , Alexandre Belloni , SZ Lin , Greg Kroah-Hartman , , , , Subject: [PATCH v2 5/5] ARM: imx_v6_v7_defconfig: Enable DA0963 PMIC support. Date: Wed, 20 Dec 2017 14:47:05 +0100 Message-ID: <20171220134710.64479-6-jan.tuerk@emtrion.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171220134710.64479-1-jan.tuerk@emtrion.com> References: <20171123125600.41562-1-jan.tuerk@emtrion.com> <20171220134710.64479-1-jan.tuerk@emtrion.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-TM-AS-Product-Ver: SMEX-11.0.0.4283-8.100.1062-23540.007 X-TM-AS-Result: No-1.274100-8.000000-31 X-TM-AS-MatchedID: 701762-702358-704171-702898-703523-703720-701016-188019-7 00624-701274-139703-708196-850095-851079-148004-148133-42000-42003-63 X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1631 Lines: 57 From: Jan Tuerk All recent emtrion modules based on i.mx6 make use of the DA0963. Therefore enable it with the following defaults: - CONFIG_MFD_DA9063=y - CONFIG_REGULATOR_DA9063=y - CONFIG_DA9063_WATCHDOG=m - CONFIG_RTC_DRV_DA9063=m MFD and REGULATOR are built-in to have it at Kernel boot-time. The WATCHDOG and RTC are optional and could be loaded from userspace. Signed-off-by: Jan Tuerk --- arch/arm/configs/imx_v6_v7_defconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig index 0d4494922561..09cd8048b0c1 100644 --- a/arch/arm/configs/imx_v6_v7_defconfig +++ b/arch/arm/configs/imx_v6_v7_defconfig @@ -215,8 +215,10 @@ CONFIG_THERMAL_WRITABLE_TRIPS=y CONFIG_CPU_THERMAL=y CONFIG_IMX_THERMAL=y CONFIG_WATCHDOG=y +CONFIG_DA9063_WATCHDOG=m CONFIG_IMX2_WDT=y CONFIG_MFD_DA9052_I2C=y +CONFIG_MFD_DA9063=y CONFIG_MFD_MC13XXX_SPI=y CONFIG_MFD_MC13XXX_I2C=y CONFIG_MFD_STMPE=y @@ -224,6 +226,7 @@ CONFIG_REGULATOR=y CONFIG_REGULATOR_FIXED_VOLTAGE=y CONFIG_REGULATOR_ANATOP=y CONFIG_REGULATOR_DA9052=y +CONFIG_REGULATOR_DA9063=y CONFIG_REGULATOR_GPIO=y CONFIG_REGULATOR_MC13783=y CONFIG_REGULATOR_MC13892=y @@ -349,6 +352,7 @@ CONFIG_RTC_DRV_PCF8563=y CONFIG_RTC_DRV_M41T80=y CONFIG_RTC_DRV_MC13XXX=y CONFIG_RTC_DRV_MXC=y +CONFIG_RTC_DRV_DA9063=m CONFIG_RTC_DRV_SNVS=y CONFIG_DMADEVICES=y CONFIG_FSL_EDMA=y -- emtrion GmbH Alter Schlachthof 45 76131 Karlsruhe GERMANY https://www.emtrion.de Amtsgericht Mannheim HRB 110 300 Geschäftsführer: Dieter Baur, Ramona Maurer