From patchwork Wed Jun 9 11:44:59 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 12310005 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=-17.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT 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 5995AC48BCD for ; Wed, 9 Jun 2021 12:25:17 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2220161351 for ; Wed, 9 Jun 2021 12:25:17 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2220161351 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=xilinx.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=txEhKwkMatQv0KHehuaThzblt3+0rcnnQTh4yxjDkNc=; b=4aehOMEKEOjt3n 9m+3fttWrm0eriQPkL7hqI1QdN1EBtygUX7XjnJxGmT7iIWEsekC1QgrNyC3JnEe4LRmfimpmWw6+ xZ9bRXaK7iKzpvp9j6Rhnxdxck0DSJBtMfy3ZHVzdeAiwbArualPysrqOOHcezBSCAfoA8+Dm3wr2 /KsLYSsNTz4kE+t1pYZGoUA1RfSc3CKb6nE9RB4KiMt/qyjKfkYsV4f1hOUiQXUrJD3QGsM3DWiZq O8mcPYAev69YPdCS7j65mnG+HVsKkmFO8lBmYhsK5OX844/FYUtXzqypsdkPm8Ti3//oODOx0u3bI SLmF0cG+J0OHSssHQsag==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lqxEf-00DeUb-KP; Wed, 09 Jun 2021 12:23:06 +0000 Received: from mail-wm1-f42.google.com ([209.85.128.42]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lqwfm-00DQXz-Cm for linux-arm-kernel@lists.infradead.org; Wed, 09 Jun 2021 11:47:03 +0000 Received: by mail-wm1-f42.google.com with SMTP id h22-20020a05600c3516b02901a826f84095so3977720wmq.5 for ; Wed, 09 Jun 2021 04:47:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ygLx5mqyQd2h1hI8hvNSPIoVDk3VcyF8wNEveFu8IIc=; b=X4SxR6sTMrh3dDCmjjhSuDAVAmHQMNNkEcOwEkrs6RMVywtWJN9mwPJPH2M610k0xW PME8zUtPDBQ+0qdpDBd5VivS6+eNu2+moDzbYH16aajVnoHbFEOiywed0b5re+kuU9lX 56JSnqMN/AZWFK+aCPsc1Lzm5c4AqnfNEH2oxRw4ybwezNxcmU0RBmSLc5nCoz2nYz7a l7ij4U20VQQSMNYH5rLEdRvJwlnW9jhwGiADBEzkYomksdsU835o5dfI/GeC4uimFzsy NlnVPWwMXCFIV3aYLFcEknoHvsFar15WXnqUpejhjY7H3mRkuxatKa/de3Lmpw9aUDkD oetw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=ygLx5mqyQd2h1hI8hvNSPIoVDk3VcyF8wNEveFu8IIc=; b=ApOH4KcWrbWVublcdd+Hu6LIfs1VDCLOEeCQMYv79dn6kWTn+pqCqz/A0iYgt2Fral uSOFWJ4DDGAMeTP0xuwLL5ngJBSp4MsgMRr27mYX2hh2hoKV6qT5ogV2jFU8iFeD2gfd XJWm5YVokRyco8mhOeMlMOxv5f21ahYUzQB7cs2cBhZjVaZngv1A/kUOaYTQZDfyP4N6 pOc90qpJ96K6vLP6V3FeoZuPpCRqaeB599COBkC8d3YYR3KjtUJAV1yu4soHfenFw1EF 7nZzLBZdd1e6CuVrMbPGApRQtwbxEgWm8YxAGIZhzKpNJafGcQFckD/mXSSIfO1tMead U8OQ== X-Gm-Message-State: AOAM531CNtF877ja5FwaZRqUj2p+rsOEMfcBjgk6WDTtDeH8hQBBLV+Z fsMk7usbTbU8KSSI9kNQRFek1A== X-Google-Smtp-Source: ABdhPJz7Q5mq9N+0Smnm0si/xySA3RKY9uF/7ud5QpTTpMnRh4RQgeMW/FpScpBMeR9SnN8y+2p9QA== X-Received: by 2002:a7b:c5cd:: with SMTP id n13mr27401786wmk.97.1623239160459; Wed, 09 Jun 2021 04:46:00 -0700 (PDT) Received: from localhost ([2a02:768:2307:40d6::45a]) by smtp.gmail.com with ESMTPSA id e17sm26458205wre.79.2021.06.09.04.46.00 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 09 Jun 2021 04:46:00 -0700 (PDT) From: Michal Simek To: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com, Viresh Kumar Cc: Srinivas Neeli , Krzysztof Kozlowski , Laurent Pinchart , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 23/31] arm64: zynqmp: Update rtc calibration value Date: Wed, 9 Jun 2021 13:44:59 +0200 Message-Id: X-Mailer: git-send-email 2.31.1 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210609_044702_500696_C02DF580 X-CRM114-Status: GOOD ( 12.66 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Srinivas Neeli As per the design specification "The 16-bit Seconds Calibration Value represents the number of Oscillator Ticks that are required to measure the largest time period that is less than or equal to 1 second. For an oscillator that is 32.768 KHz, this value will be 0x7FFF." Signed-off-by: Srinivas Neeli Signed-off-by: Michal Simek --- arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi index 80332e3b4d6a..da54a2d35552 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi +++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi @@ -663,7 +663,7 @@ rtc: rtc@ffa60000 { interrupt-parent = <&gic>; interrupts = <0 26 4>, <0 27 4>; interrupt-names = "alarm", "sec"; - calibration = <0x8000>; + calibration = <0x7FFF>; }; sata: ahci@fd0c0000 {