Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp3514052pxp; Tue, 8 Mar 2022 16:21:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJyfSmqzRYtsEy2cEsD/uL6raHp6iq2haCE7yhtl7QfxzNUwmp9d1knpqAAN9bHbZ7hRGREv X-Received: by 2002:a05:6a00:244f:b0:4cc:a2ba:4cd8 with SMTP id d15-20020a056a00244f00b004cca2ba4cd8mr21067158pfj.74.1646785272221; Tue, 08 Mar 2022 16:21:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646785272; cv=none; d=google.com; s=arc-20160816; b=e7etQFKMLrokYcr0OupveZqocvpqQXPJummPET5+Z2+iKBdA3Bkt5dAVSwPi41WjXc xmX5d0csdkkFMWV9LcmHVZkaqU1XZS78h0E4+Hfx6jxu36/AcYqnzHYp+N9s+S3JWiai 2w5lHlQJxWz5xFe7h9vva3IIe/oQJA1Z3jlvpsf+AysNAFUXtyS1aTGLMWup41VO7ice c2HxQFMXtNv0MbZIRCSPDWti7YclABp4xLqiljvwzW1TRKpV4ksB6VQkN3H+QGqt/AvR WodVwasj7gVQ6uAZ79WoT8b4Wipag/V1dMeAa7oyjlCRqvP3q1HAudqmBaLdoSARMwg/ AF1w== 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=cjwxB5pqPhhEakzxq4wWhbJUb8KLqJuhudpO6/+VAQ8=; b=AgTe19JkDe0QmS31wWotJ+FVbyPg9EesDJ2bnA6qyK+KS65kQkIx4w6oEzDVflGHQ1 cSdfCVqKISTBOvNrcIqkK10fIgeBLkfOYF2/6AtN6dZT3XatBDkTvv2hRQP1OhsWS2zb PwaL7yEIZV2XvhbW2IJ+hUDeQmSvtyLnNS9TCyPQclRzqgA+L8crPzMcHmSRUwmpBTGb GJ/9iH1l9UTF3ZXsGO9JRAdQI39lFjB4HG+24zejgfez1iF9Ay4k+lfA8u057fOnuS9R ayuoJCOKlpFyzzt9711Xfm95ByBgfS3/ZtJ1j63sdDKe3E9DE+rvk2tlGX8a9HUIGFZL 8nxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=ppao86UL; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id k3-20020a170902ce0300b00151b264828asi419845plg.339.2022.03.08.16.21.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Mar 2022 16:21:12 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=ppao86UL; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 271B9A41B0; Tue, 8 Mar 2022 15:45:43 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350463AbiCHV3d (ORCPT + 99 others); Tue, 8 Mar 2022 16:29:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40582 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233223AbiCHV3c (ORCPT ); Tue, 8 Mar 2022 16:29:32 -0500 Received: from relay6-d.mail.gandi.net (relay6-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::226]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BA4C41FA78; Tue, 8 Mar 2022 13:28:32 -0800 (PST) Received: (Authenticated sender: alexandre.belloni@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 94AB9C0008; Tue, 8 Mar 2022 21:28:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1646774911; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=cjwxB5pqPhhEakzxq4wWhbJUb8KLqJuhudpO6/+VAQ8=; b=ppao86ULf8dINnqhGkX+uPfKHne8Z8pAIdkckj/qt6daF9TojKLpAEqa0DbrDkmXUoa/Bn x7JnMRhpSwDtHNKyV1wmSKPhicwFsNPfSIdI1B9Lm7wGdpsfup4Rk8wkW7QplPdPJx6BNv vBJ7AKtMhgmtntbA7DTXurqyNbJGCdGN6VWldWvZGLMRtckqjIFe6niSJ8HS726lc/8gcJ X0mg+EOz+WrD2X1xtqY43Is1yXaPzPcPhxNCoUfiXIDtGsEkswDcJm5JBmZrqQTirvKNkm jx5/a62rlXnvOcF0KJ8zBtXBD8pC6M2lcwEFOvQzCLfIm/3YVWXCRrUPFNEpWg== From: Alexandre Belloni To: Chen-Yu Tsai , Andre Przywara , Maxime Ripard , Jernej Skrabec Cc: Alexandre Belloni , Samuel Holland , Alessandro Zummo , linux-sunxi@lists.linux.dev, linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org, Rob Herring , linux-arm-kernel@lists.infradead.org, Ondrej Jirman , Icenowy Zheng Subject: Re: (subset) [PATCH v10 04/18] rtc: sun6i: Add support for linear day storage Date: Tue, 8 Mar 2022 22:28:27 +0100 Message-Id: <164677489899.102692.6592261891935466294.b4-ty@bootlin.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220211122643.1343315-5-andre.przywara@arm.com> References: <20220211122643.1343315-1-andre.przywara@arm.com> <20220211122643.1343315-5-andre.przywara@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 On Fri, 11 Feb 2022 12:26:29 +0000, Andre Przywara wrote: > Newer versions of the Allwinner RTC, as for instance found in the H616 > SoC, no longer store a broken-down day/month/year representation in the > RTC_DAY_REG, but just a linear day number. > The user manual does not give any indication about the expected epoch > time of this day count, but the BSP kernel uses the UNIX epoch, which > allows easy support due to existing conversion functions in the kernel. > > [...] Applied, thanks! [04/18] rtc: sun6i: Add support for linear day storage commit: 62a8306e7315a1ce4479bc7c4f35ba5f9c75b9ab Best regards, -- Alexandre Belloni