Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp601507pxp; Wed, 9 Mar 2022 08:55:32 -0800 (PST) X-Google-Smtp-Source: ABdhPJyof5IJkdJcz7I3tk5Abx+LOilANsDR6fKmXMN5CFsP7pifnAUtUDMUfuz/B6RdS5J3bHLc X-Received: by 2002:aa7:d491:0:b0:416:189b:e43c with SMTP id b17-20020aa7d491000000b00416189be43cmr213279edr.41.1646844931850; Wed, 09 Mar 2022 08:55:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646844931; cv=none; d=google.com; s=arc-20160816; b=CTu6LH9EWFCF+DOsETiFXv/wHDq9/6d8IjDV2rT2/Cjb232wQkTmfRo2lNKFWLBpEh 3HDa/ObQR4f1ON3udZQVWS9TMdyz2c0Fhsl7CWw+lYmjMbkSEZH8iK2ns6IPHZhhFMD7 pxu1Ow2IbscdTJwIWLPAuwGFV+dGNOkxQ8t5aM6w+7R8nTTWNOljcoDkfYr6dfOHYeHu QjURS59TB0iCXuCGLKu0hONJp3B/ac18VyxZaIb0WCbBa3L+8GnKJasutUjar9O13phE 8g3OC3YtFBy3NRnn9Kd1kqQOTPfZME2jRi0ux7NvtP+x3eLi6XHXN7ScmUvy7hT4Ua0z TdxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=1Q6+mVQDp96Q+sU1LASE6V01IcuUw+y3QODc3UaLejY=; b=EshBEzZbIPPS8FI3n8TwD2oSr8hOhI+hQx4I6eBf6Pg6jE04+WPTEVGTVUbq6EXicL 4eQHR9CDI08Y1yqSvv4CcCBliaQxxlzqdS0lViQcD9xi3a6uaQOtjG7wXZe6jj8ekbxM WJO7Ki07uEPrFGWfpYPRRBCa9XRifTDWrKIaG6s5+F2Fv4aAvOYzlDKEIhNLWiZ4XqUQ ug5+AMS3k7IWVxE3XMqW5qk2aAXFZCTyqQthHQyFZkJVh7WxifAYKi4zeu1Grt2N1tRA hWnIjIwOLsgktl8LepFe6RTJhP0NRSj9CyiRscUUQQOjAcLZtaDoZXMJ5oTsdUSlEtvq 7NIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=GLO7DLWz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ji12-20020a170907980c00b006db35ceb7e8si1672449ejc.284.2022.03.09.08.55.07; Wed, 09 Mar 2022 08:55:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=GLO7DLWz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236661AbiCIQgS (ORCPT + 99 others); Wed, 9 Mar 2022 11:36:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48788 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236673AbiCIQaH (ORCPT ); Wed, 9 Mar 2022 11:30:07 -0500 Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [217.70.183.200]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B948EC12F0; Wed, 9 Mar 2022 08:23:26 -0800 (PST) Received: (Authenticated sender: alexandre.belloni@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id ED3CA20008; Wed, 9 Mar 2022 16:23:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1646843003; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=1Q6+mVQDp96Q+sU1LASE6V01IcuUw+y3QODc3UaLejY=; b=GLO7DLWz6VrmfRr4rebVIQLSHULndEaghcLtFDMeR53F2tmcx+/OmcHTLMfulrDcLWCTXA 4VOasWQTi5e/NsnLYzPVjehvLwnV/42x5NDF8M98EAtIZXNz/EwalHiFQht5YpOrCz3/eG ovfu4UYB2sJ12rc1DDM+9hgj80XxSE+PM6CGNvo0bOAeUfNF7AYmqFLEiqSqbbtpz9Mkzy WU2qLB5MQFnqgIx3M15DhPIq6GFBR4pG8uuUlAUXPxF6ps5NaVg+3PPtbOkPoHZbYxsOyZ A3PiEs3F0T7iqqJwp+/H91V1C+ykpL7P1FuaVt3Y+OLsFK5wOq/GCqyy2dQZjQ== From: Alexandre Belloni To: Alessandro Zummo , Alexandre Belloni Cc: linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 09/29] rtc: pcf2123: set RTC_FEATURE_ALARM_RES_MINUTE Date: Wed, 9 Mar 2022 17:22:40 +0100 Message-Id: <20220309162301.61679-9-alexandre.belloni@bootlin.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220309162301.61679-1-alexandre.belloni@bootlin.com> References: <20220309162301.61679-1-alexandre.belloni@bootlin.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Alarms have a resolution of a minute. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-pcf2123.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/rtc/rtc-pcf2123.c b/drivers/rtc/rtc-pcf2123.c index da0e4066ef45..e13b5e695d06 100644 --- a/drivers/rtc/rtc-pcf2123.c +++ b/drivers/rtc/rtc-pcf2123.c @@ -427,6 +427,7 @@ static int pcf2123_probe(struct spi_device *spi) * support to this driver to generate interrupts more than once * per minute. */ + set_bit(RTC_FEATURE_ALARM_RES_MINUTE, rtc->features); clear_bit(RTC_FEATURE_UPDATE_INTERRUPT, rtc->features); rtc->ops = &pcf2123_rtc_ops; rtc->range_min = RTC_TIMESTAMP_BEGIN_2000; -- 2.35.1