From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BA25DC5519F for ; Fri, 20 Nov 2020 22:39:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6D30122470 for ; Fri, 20 Nov 2020 22:39:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728883AbgKTWjR (ORCPT ); Fri, 20 Nov 2020 17:39:17 -0500 Received: from relay12.mail.gandi.net ([217.70.178.232]:57703 "EHLO relay12.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726640AbgKTWjR (ORCPT ); Fri, 20 Nov 2020 17:39:17 -0500 Received: from localhost (lfbn-lyo-1-997-19.w86-194.abo.wanadoo.fr [86.194.74.19]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay12.mail.gandi.net (Postfix) with ESMTPSA id 9683F200002; Fri, 20 Nov 2020 22:39:14 +0000 (UTC) Date: Fri, 20 Nov 2020 23:39:14 +0100 From: Alexandre Belloni To: Johannes Berg Cc: linux-rtc@vger.kernel.org, Alessandro Zummo , linux-um@lists.infradead.org, Johannes Berg Subject: Re: [PATCH] rtc: enable RTC framework on ARCH=um Message-ID: <20201120223914.GD348979@piout.net> References: <20201120211103.6895ac740d11.Ic19a9926e8e4c70c03329e55f9e5b1d45095b904@changeid> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201120211103.6895ac740d11.Ic19a9926e8e4c70c03329e55f9e5b1d45095b904@changeid> Precedence: bulk List-ID: X-Mailing-List: linux-rtc@vger.kernel.org On 20/11/2020 21:11:06+0100, Johannes Berg wrote: > From: Johannes Berg > > There's no real reason it should be disabled, and at least we can > use it for development & testing with the RTC test driver. > > However, two devices are missing a HAS_IOMEM dependency, so add > that to avoid build failures from e.g. allyesconfig. > > Signed-off-by: Johannes Berg Acked-by: Alexandre Belloni > --- > Would there be objection to taking this through the linux-um tree? > I have a couple of patches that depend on it as well, to add > suspend/resume support with a pseudo-RTC to wake up from it. I'm fine with that. > --- > drivers/rtc/Kconfig | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig > index 48c536acd777..de187b563989 100644 > --- a/drivers/rtc/Kconfig > +++ b/drivers/rtc/Kconfig > @@ -13,7 +13,7 @@ config RTC_MC146818_LIB > menuconfig RTC_CLASS > bool "Real Time Clock" > default n > - depends on !S390 && !UML > + depends on !S390 > select RTC_LIB > help > Generic RTC class support. If you say yes here, you will > @@ -1007,6 +1007,7 @@ config RTC_DRV_DS1553 > > config RTC_DRV_DS1685_FAMILY > tristate "Dallas/Maxim DS1685 Family" > + depends on HAS_IOMEM > help > If you say yes here you get support for the Dallas/Maxim DS1685 > family of real time chips. This family includes the DS1685/DS1687, > @@ -1140,6 +1141,7 @@ config RTC_DRV_STK17TA8 > > config RTC_DRV_M48T86 > tristate "ST M48T86/Dallas DS12887" > + depends on HAS_IOMEM > help > If you say Y here you will get support for the > ST M48T86 and Dallas DS12887 RTC chips. > -- > 2.26.2 > -- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay12.mail.gandi.net ([217.70.178.232]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kgF3o-0004Ft-12 for linux-um@lists.infradead.org; Fri, 20 Nov 2020 22:39:21 +0000 Date: Fri, 20 Nov 2020 23:39:14 +0100 From: Alexandre Belloni Subject: Re: [PATCH] rtc: enable RTC framework on ARCH=um Message-ID: <20201120223914.GD348979@piout.net> References: <20201120211103.6895ac740d11.Ic19a9926e8e4c70c03329e55f9e5b1d45095b904@changeid> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20201120211103.6895ac740d11.Ic19a9926e8e4c70c03329e55f9e5b1d45095b904@changeid> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-um" Errors-To: linux-um-bounces+geert=linux-m68k.org@lists.infradead.org To: Johannes Berg Cc: linux-rtc@vger.kernel.org, Alessandro Zummo , linux-um@lists.infradead.org, Johannes Berg On 20/11/2020 21:11:06+0100, Johannes Berg wrote: > From: Johannes Berg > > There's no real reason it should be disabled, and at least we can > use it for development & testing with the RTC test driver. > > However, two devices are missing a HAS_IOMEM dependency, so add > that to avoid build failures from e.g. allyesconfig. > > Signed-off-by: Johannes Berg Acked-by: Alexandre Belloni > --- > Would there be objection to taking this through the linux-um tree? > I have a couple of patches that depend on it as well, to add > suspend/resume support with a pseudo-RTC to wake up from it. I'm fine with that. > --- > drivers/rtc/Kconfig | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig > index 48c536acd777..de187b563989 100644 > --- a/drivers/rtc/Kconfig > +++ b/drivers/rtc/Kconfig > @@ -13,7 +13,7 @@ config RTC_MC146818_LIB > menuconfig RTC_CLASS > bool "Real Time Clock" > default n > - depends on !S390 && !UML > + depends on !S390 > select RTC_LIB > help > Generic RTC class support. If you say yes here, you will > @@ -1007,6 +1007,7 @@ config RTC_DRV_DS1553 > > config RTC_DRV_DS1685_FAMILY > tristate "Dallas/Maxim DS1685 Family" > + depends on HAS_IOMEM > help > If you say yes here you get support for the Dallas/Maxim DS1685 > family of real time chips. This family includes the DS1685/DS1687, > @@ -1140,6 +1141,7 @@ config RTC_DRV_STK17TA8 > > config RTC_DRV_M48T86 > tristate "ST M48T86/Dallas DS12887" > + depends on HAS_IOMEM > help > If you say Y here you will get support for the > ST M48T86 and Dallas DS12887 RTC chips. > -- > 2.26.2 > -- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com _______________________________________________ linux-um mailing list linux-um@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-um