Received: by 2002:a5d:925a:0:0:0:0:0 with SMTP id e26csp533076iol; Thu, 9 Jun 2022 08:33:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJymk3PShtaqGv+l8Ep44sOTQXF1q+LD7MPzcq1crDh0J8zJsphHMTbMrO8T7i9xMlfv9n5c X-Received: by 2002:a05:6402:90c:b0:415:d340:4ae2 with SMTP id g12-20020a056402090c00b00415d3404ae2mr45969131edz.331.1654788815319; Thu, 09 Jun 2022 08:33:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654788815; cv=none; d=google.com; s=arc-20160816; b=XXysP0mSfRqceO+DzsZx+rASbBJWc9FDXEpv2Znxv7IqldhbpBRDsFnuWGX2qJseqy xXEx3ReMSpPtKhcY6UyS+rBdm4KV02DdcB57CeeKd8zN4+PrfT6UQLyY228CQso2dxFd HVB/PnB5BHKlFz0rstLGvIWK2HZqtE1DM2OMXIoNb0AZJjUGeFvyEonu6qxI27pWT6v/ f52pwRffADsnpB/iVYdemvBXeRtHNyXgy6cnkWENbq+kmhKGK1wi2PhY0iSwBoTwIhFp AKFKgUztIy82PnjxrfI+C9e6Dzf6iS8vx9Sar1NBo5rHx6UTIeyezrVLzL/4TuKCER0M eI0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:message-id:in-reply-to :date:references:subject:cc:to:from; bh=0CmParxac0clINXNtkAMpINZg09Nth3zIcOwwxisBDg=; b=DjPO533GjOc/zKygM1WEwAVG7glkLZJBPXhUvUakmu9ETkzTIGyrAeoYO5supTBwRq hc/mz3Sc2Lb+3fILrHsN7gDXX9H0/3XdBET7UByOjWIISMOtg8k6vZB89v80gnCpj5SH YJqKdgRI5U9oes87QAIrXDrZJRTrHGo1oz4D1y77o5cbZIFVdaOQdr5q0rfRSivffCps eD9d3peU9BTn7UB6aMGNLJZr3uCPTaAL98r347Zr0cKODB1GBI0k9VH2bZeFkWnNV9pQ MZ1CmuXFpn+/UtrmIAsNEHQNyWLDlGZr9PqXh2psorQ5ZULp6NekqhDn0HkjWji3eiZ0 iqLw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 5-20020a170906224500b00708906f7c96si3829199ejr.153.2022.06.09.08.33.08; Thu, 09 Jun 2022 08:33:35 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235955AbiFIOuP (ORCPT + 99 others); Thu, 9 Jun 2022 10:50:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38222 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230094AbiFIOuO (ORCPT ); Thu, 9 Jun 2022 10:50:14 -0400 Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::223]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DDE2A64DC; Thu, 9 Jun 2022 07:50:10 -0700 (PDT) Received: (Authenticated sender: peter@korsgaard.com) by mail.gandi.net (Postfix) with ESMTPSA id B9B4B60007; Thu, 9 Jun 2022 14:50:04 +0000 (UTC) Received: from peko by dell.be.48ers.dk with local (Exim 4.94.2) (envelope-from ) id 1nzJU3-0028mh-Kr; Thu, 09 Jun 2022 16:50:03 +0200 From: Peter Korsgaard To: Srinivas Neeli Cc: , , , , , , , , , , , , , Subject: Re: [PATCH V6 2/2] rtc: zynqmp: Add calibration set and get support References: <20220609140833.1784738-1-srinivas.neeli@xilinx.com> <20220609140833.1784738-2-srinivas.neeli@xilinx.com> Date: Thu, 09 Jun 2022 16:50:03 +0200 In-Reply-To: <20220609140833.1784738-2-srinivas.neeli@xilinx.com> (Srinivas Neeli's message of "Thu, 9 Jun 2022 19:38:33 +0530") Message-ID: <87r13x28o4.fsf@dell.be.48ers.dk> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,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 >>>>> "Srinivas" == Srinivas Neeli writes: > Zynqmp RTC controller has a calibration feature to compensate > time deviation due to input clock inaccuracy. > Set and get calibration API's are used for setting and getting > calibration value from the controller calibration register. > As per RTC spec default calibration value is 0x7FFF. Where do you see that? ug1085 rev2.2 still lists: Programming Sequences init rtc 1. Write the value 0019_8231h into the calibration register, CALIB_WRITE. -- Bye, Peter Korsgaard