From patchwork Fri May 15 12:49:00 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 6414021 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 07010C0432 for ; Fri, 15 May 2015 12:51:16 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3C98A20456 for ; Fri, 15 May 2015 12:51:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4B5D020357 for ; Fri, 15 May 2015 12:51:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1945903AbbEOMu5 (ORCPT ); Fri, 15 May 2015 08:50:57 -0400 Received: from mail-ie0-f176.google.com ([209.85.223.176]:36687 "EHLO mail-ie0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161169AbbEOMuA (ORCPT ); Fri, 15 May 2015 08:50:00 -0400 Received: by iepk2 with SMTP id k2so109283376iep.3; Fri, 15 May 2015 05:50:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=CWWBDQrVqmtoorPRwUs0KCqzot9gH22oz1jpwAm/D3w=; b=OeLhqQXGJyiMjxD56P8BNbewOwYo8deOue1aDcKx7jU47g/v6/4/j4OZub1l/zJS5P gsrKYoVUT5ZcF6GsPNlahTfbQvs7mBdq7syUp9UbkK7sgyRsFZc84SfC1nKqocQ5ovFn AVe2JxNMc0+zJoKcsn/wQsX/CGexbEp0Wtg7LcBS3Z5wm4T6+MPj/TLz74mmq36WqH6v uoLsbeQr67De4zxKizKAxPUPdOvjbBPFpU1rnTdhS7AIuoUEHJ7aPZCtpCIb/1wcgKw6 rAmsTwPXCpDci9R4cVyC/oKxtkW9ey5VcWaygqYVqiPQyUxAUSw3m7aYrJ0uixv0cbba ISTA== X-Received: by 10.68.213.135 with SMTP id ns7mr17996499pbc.157.1431694200245; Fri, 15 May 2015 05:50:00 -0700 (PDT) Received: from localhost.localdomain ([125.130.175.98]) by mx.google.com with ESMTPSA id af1sm1851266pad.34.2015.05.15.05.49.56 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 15 May 2015 05:49:59 -0700 (PDT) From: Krzysztof Kozlowski To: Kukjin Kim , Russell King , Arnd Bergmann , Olof Johansson , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: linux-samsung-soc@vger.kernel.org, Javier Martinez Canillas , Krzysztof Kozlowski Subject: [PATCH 2/4] ARM: multi_v7_defconfig: Enable PMIC and MUIC drivers for Exynos boards Date: Fri, 15 May 2015 21:49:00 +0900 Message-Id: <1431694142-32141-3-git-send-email-k.kozlowski.k@gmail.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1431694142-32141-1-git-send-email-k.kozlowski.k@gmail.com> References: <1431694142-32141-1-git-send-email-k.kozlowski.k@gmail.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Krzysztof Kozlowski Enable drivers for PMICs and MUICs present on Exynos-based devices: - max14577: charger, fuel gauge (max17040), regulator, used on: Gear 1, Gear 2, - max7693: charger, fuel gauge (max17042), used on: Trats2, - s5m/s2mps: RTC, clock, used on: Arndale, Arndale Octa, Gear 1, Gear 2 This allows full usage of charging stack on these devices along with RTC and 32 kHz clocks. The I2C_GPIO is necessary for MAX77693 on Trats2 because the device is wired to Exynos4412 over GPIO. Signed-off-by: Krzysztof Kozlowski --- arch/arm/configs/multi_v7_defconfig | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index d524d2e9633c..6a6a292c5bf8 100644 --- a/arch/arm/configs/multi_v7_defconfig +++ b/arch/arm/configs/multi_v7_defconfig @@ -280,6 +280,7 @@ CONFIG_I2C_DESIGNWARE_PLATFORM=y CONFIG_I2C_DIGICOLOR=m CONFIG_I2C_GPIO=m CONFIG_I2C_EXYNOS5=y +CONFIG_I2C_GPIO=y CONFIG_I2C_MV64XXX=y CONFIG_I2C_RIIC=y CONFIG_I2C_S3C2410=y @@ -328,7 +329,11 @@ CONFIG_GPIO_SYSCON=y CONFIG_GPIO_TPS6586X=y CONFIG_GPIO_TPS65910=y CONFIG_BATTERY_SBS=y +CONFIG_BATTERY_MAX17040=y +CONFIG_BATTERY_MAX17042=y +CONFIG_CHARGER_MAX14577=y CONFIG_CHARGER_TPS65090=y +CONFIG_CHARGER_MAX77693=y CONFIG_POWER_RESET_AS3722=y CONFIG_POWER_RESET_GPIO=y CONFIG_POWER_RESET_GPIO_RESTART=y @@ -357,8 +362,10 @@ CONFIG_MFD_AXP20X=y CONFIG_MFD_CROS_EC=y CONFIG_MFD_CROS_EC_I2C=m CONFIG_MFD_CROS_EC_SPI=y +CONFIG_MFD_MAX14577=y CONFIG_MFD_MAX77686=y CONFIG_MFD_MAX8907=y +CONFIG_MFD_MAX77693=y CONFIG_MFD_SEC_CORE=y CONFIG_MFD_STMPE=y CONFIG_MFD_PALMAS=y @@ -374,9 +381,11 @@ CONFIG_REGULATOR_DA9210=y CONFIG_REGULATOR_GPIO=y CONFIG_MFD_SYSCON=y CONFIG_POWER_RESET_SYSCON=y +CONFIG_REGULATOR_MAX14577=y CONFIG_REGULATOR_MAX8907=y CONFIG_REGULATOR_MAX8973=y CONFIG_REGULATOR_MAX77686=y +CONFIG_REGULATOR_MAX77693=y CONFIG_REGULATOR_MAX77802=m CONFIG_REGULATOR_PALMAS=y CONFIG_REGULATOR_S2MPS11=y @@ -529,6 +538,7 @@ CONFIG_RTC_DRV_SUN6I=y CONFIG_RTC_DRV_SUNXI=y CONFIG_RTC_DRV_MV=y CONFIG_RTC_DRV_TEGRA=y +CONFIG_RTC_DRV_S5M=y CONFIG_DMADEVICES=y CONFIG_DW_DMAC=y CONFIG_MV_XOR=y @@ -558,6 +568,7 @@ CONFIG_QCOM_GSBI=y CONFIG_COMMON_CLK_QCOM=y CONFIG_COMMON_CLK_MAX77686=y CONFIG_COMMON_CLK_MAX77802=m +CONFIG_COMMON_CLK_S2MPS11=y CONFIG_APQ_MMCC_8084=y CONFIG_MSM_GCC_8660=y CONFIG_MSM_MMCC_8960=y