Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3164699pxf; Sun, 28 Mar 2021 14:35:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx//YkYOHUJGSVubRCN61cT2BB/LQKnMZPY59V92a3WQHdlMZll9SI4l2trB6lOZC0aR9AC X-Received: by 2002:a50:e702:: with SMTP id a2mr26233371edn.3.1616967313734; Sun, 28 Mar 2021 14:35:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616967313; cv=none; d=google.com; s=arc-20160816; b=slf4ssoMfWj/KdKQFWJTX/ZusltFKpNAxNfMbQZb7r4MNKLkbBJ4MGyo261cooMyJs lUJx3vss6Pnn8Ohk+Xw+T6vuFMC7pBH7dnNWG98JwyEZVCqcv2k9zMuznVi3OPsjxLNM FeJAgUtkbwmbVEtEFsiF25RK+rOe+AM1pCZEKqkQYIop8+6Wdl6rEawn6PrR+xNnezI8 /UdB3vrhUGbwYZKs/6XTvo7chcRlQy+d+TkwHunNj6O7DHbsHOrzKT+W9gNf69n0lLJV Ysm82/KEp64sIrgHy4HAh2PqnE8UAwj3z50ZvuGpgInkqYJz8y/fo5PrBA2wgOuKUz/F RFiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=MDAv8K0Xcu9IQKm7v9ui6Yil+5Qj+PD/RVDgiAFQhGw=; b=g9bFpkD2xMKAAl4BZ4tqv374Xt563D94/IMv+xsx+EnlChWJcJm5fg9wWj2UCTlb7Q ecIPR0uq8T9XkGfTY6NyJ7dF3yRI9p1884qdyJR+y1ytDK+1iFEO/Vod3I8+Mgmu/UaA NpTn2Hr4+KZejQPwVInRtwAOavOEaXlNLr5dkkjpDsYAQsatj2aiEgvWrB7MM3XpVHRu HLt95OIGgd0s6hvTriLBCpZomb20cLOoGQtKSclsXU8valPYe0ukNC7JBT62BUx6oFha F/yww1DmyUquhrnUN8o0J0x17euQBYv7ZghVPPERJQEXICga6uZPuu3bSwANwvHjUSDL eEiQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i19si11052726ejd.152.2021.03.28.14.34.51; Sun, 28 Mar 2021 14:35:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231511AbhC1Va0 (ORCPT + 99 others); Sun, 28 Mar 2021 17:30:26 -0400 Received: from clab.compulab.co.il ([66.147.238.35]:44346 "EHLO clab.compulab.co.il" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231461AbhC1V3f (ORCPT ); Sun, 28 Mar 2021 17:29:35 -0400 Received: from [37.142.126.90] (port=46454 helo=zimbra01.compulab.co.il) by clab.compulab.co.il with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1lQcYW-0033MI-Tp; Sun, 28 Mar 2021 17:02:45 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra01.compulab.co.il (Postfix) with ESMTP id 75C37E81CB001; Mon, 29 Mar 2021 00:02:43 +0300 (IDT) Received: from zimbra01.compulab.co.il ([127.0.0.1]) by localhost (zimbra01.compulab.co.il [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id fw48-b84IdP6; Mon, 29 Mar 2021 00:02:43 +0300 (IDT) Received: from localhost (localhost [127.0.0.1]) by zimbra01.compulab.co.il (Postfix) with ESMTP id 036ACE81CB017; Mon, 29 Mar 2021 00:02:43 +0300 (IDT) X-Virus-Scanned: amavisd-new at zimbra01.compulab.co.il Received: from zimbra01.compulab.co.il ([127.0.0.1]) by localhost (zimbra01.compulab.co.il [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id kg7GTpoUk2uL; Mon, 29 Mar 2021 00:02:42 +0300 (IDT) Received: from kkk.compulab.local (lifshitz-linux.compulab.local [192.168.11.10]) by zimbra01.compulab.co.il (Postfix) with ESMTP id D137AE81CB001; Mon, 29 Mar 2021 00:02:42 +0300 (IDT) From: Kirill Kapranov To: a.zummo@towertech.it, alexandre.belloni@bootlin.com, phdm@macqel.be, linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Kirill Kapranov Subject: [PATCH 0/4] rtc:abx80x: Enable distributed digital calibration Date: Mon, 29 Mar 2021 00:02:28 +0300 Message-Id: <20210328210232.10395-1-kirill.kapranov@compulab.co.il> X-Mailer: git-send-email 2.11.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - clab.compulab.co.il X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - compulab.co.il X-Get-Message-Sender-Via: clab.compulab.co.il: mailgid no entry from get_recent_authed_mail_ips_entry X-Authenticated-Sender: clab.compulab.co.il: X-Source: X-Source-Args: X-Source-Dir: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series enables a Distributed Digital Calibration function for the RTC of the family. This feature allows to improve the RTC accuracy by means of compensation an XT oscillator drift. To learn more, see: AB08XX Series Ultra Low Power RTC IC User's Guide https://abracon.com/realtimeclock/AB08XX-Application-Manual.pdf The patches 1 and 2 enable SQW output, that is necessary for subsequent measurement and computation. However, this feature may be enabled and used independently, as is. The patches 3 and 4 enable the XT calibration feature per se. The SQW output must be enabled for usage of this feature. TIA! Kirill Kirill Kapranov (4): dt-bindings: rtc: abracon,abx80x: Add sqw property rtc:abx80x: Enable SQW output dt-bindings: rtc: abracon,abx80x: Add xt-frequency property rtc:abx80x: Enable xt digital calibration .../devicetree/bindings/rtc/abracon,abx80x.txt | 25 ++ drivers/rtc/rtc-abx80x.c | 252 +++++++++++++++++++++ 2 files changed, 277 insertions(+) -- 2.11.0