From patchwork Sun Feb 5 21:33:13 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rask Ingemann Lambertsen X-Patchwork-Id: 9556945 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id F356160236 for ; Sun, 5 Feb 2017 21:34:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E0F9D204C1 for ; Sun, 5 Feb 2017 21:34:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D21D722B1F; Sun, 5 Feb 2017 21:34:16 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00 autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 60EE3204C1 for ; Sun, 5 Feb 2017 21:34:15 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1caURq-0008OZ-GS; Sun, 05 Feb 2017 21:34:14 +0000 Received: from customer-85-204-195-167.ip4.gigabit.dk ([85.204.195.167] helo=customer-2a00-7660-0ca7-0000-0000-0000-0000-0b1b.ip6.gigabit.dk) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1caURn-0008NV-2A for linux-arm-kernel@lists.infradead.org; Sun, 05 Feb 2017 21:34:13 +0000 Received: from localhost (localhost6.localdomain6 [IPv6:::1]) by customer-2a00-7660-0ca7-0000-0000-0000-0000-0b1b.ip6.gigabit.dk (Postfix) with ESMTPS id 832882B6413; Sun, 5 Feb 2017 22:33:15 +0100 (CET) Date: Sun, 5 Feb 2017 22:33:13 +0100 From: Rask Ingemann Lambertsen To: Chen-Yu Tsai , Maxime Ripard , Russell King Subject: Re: [v5,3/7] rtc: ac100: Add RTC driver for X-Powers AC100 Message-ID: <20170205213312.pcoxq2di54ur7ncv@localhost> References: <1467988422-17934-4-git-send-email-wens@csie.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1467988422-17934-4-git-send-email-wens@csie.org> User-Agent: NeoMutt/20161104 (1.7.1) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170205_133411_337881_C5B9D0C2 X-CRM114-Status: UNSURE ( 9.80 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP On Fri, Jul 08, 2016 at 10:33:38PM +0800, Chen-Yu Tsai wrote: > X-Powers AC100 is a codec / RTC combo chip. This driver supports > the RTC sub-device. Don't we also want to build this driver by default, at least for sunxi_defconfig, but possibly for multi_v7_defconfig as well? -------------------- >8 -------------------- Subject: [PATCH] ARM: sunxi_defconfig: Enable AC100 RTC driver Enable the AC100 RTC driver so boards with it can keep track of time. Signed-off-by: Rask Ingemann Lambertsen Acked-by: Chen-Yu Tsai --- arch/arm/configs/sunxi_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/configs/sunxi_defconfig b/arch/arm/configs/sunxi_defconfig index da92c25..5cd5dd70 100644 --- a/arch/arm/configs/sunxi_defconfig +++ b/arch/arm/configs/sunxi_defconfig @@ -87,6 +87,7 @@ CONFIG_THERMAL_OF=y CONFIG_CPU_THERMAL=y CONFIG_WATCHDOG=y CONFIG_SUNXI_WATCHDOG=y +CONFIG_MFD_AC100=y CONFIG_MFD_AXP20X=y CONFIG_MFD_AXP20X_I2C=y CONFIG_MFD_AXP20X_RSB=y @@ -129,6 +130,7 @@ CONFIG_LEDS_TRIGGER_DEFAULT_ON=y CONFIG_RTC_CLASS=y # CONFIG_RTC_INTF_SYSFS is not set # CONFIG_RTC_INTF_PROC is not set +CONFIG_RTC_DRV_AC100=y CONFIG_RTC_DRV_SUN6I=y CONFIG_RTC_DRV_SUNXI=y CONFIG_DMADEVICES=y