From patchwork Mon Jun 14 15:25:31 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 12319321 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=-16.9 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,URIBL_BLOCKED, 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 01605C2B9F4 for ; Mon, 14 Jun 2021 15:57:37 +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 B68D26120E for ; Mon, 14 Jun 2021 15:57:36 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B68D26120E 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=PfXtaS3UahnESOy9uLyFM6QnLXeYyTOijsfkpRyJev8=; b=EcrKgv9IZnA1QK 1oB/148w1gguPbTHBq3ZqM6XvHWHMSCKh3avLZXRnM5UPda5FtzpMr8fvEGXk+zHVbxDUp8e47mFn bkNnpMkYE94kfsGqb9Z8RxkJqiG/GrFBDBy9Fe9x4mgolsU5EO+lnTM+sAs14O+S/VtLFgq+52cfC DhdpoGav5EsvPPJrbqpK7mTpFjQ3TsaJalHdHC8sR4SkX+F9MQq6jJTn8/i74zVEUhZGXCD8qlfUj ps9isBse7Dk3/iMxz2ZxJ+ruhpIE/8yqESO/9BYSPrcI6pr73tFpqazGK9Qn1s7JHIN66rj9R8tY8 DKyNc5ekQonTFNGJOhYw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lsovc-00Eu4P-Ck; Mon, 14 Jun 2021 15:55:09 +0000 Received: from mail-ej1-f48.google.com ([209.85.218.48]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lsoUg-00EjVA-Lw for linux-arm-kernel@lists.infradead.org; Mon, 14 Jun 2021 15:27:20 +0000 Received: by mail-ej1-f48.google.com with SMTP id ho18so17337595ejc.8 for ; Mon, 14 Jun 2021 08:27:18 -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=sMVNJ/LPbRvn48KGy/785ZDuHz9PafjtcmN48BZV1GQ=; b=mM1yRhikbHOL3TLiAHpFyBj6QWF1+TtzCsYz0AjHtLnmTyIij6X/49oInPUboRknNr 5zMlzCwR7BOYCCAx3Idgu8tthTrxOsW3v+D+Xio2mdIKnTYnjxplu4oSKKUmuf/J6gYG wSuftX3UHn9t1EJbboA7cpy9uhw1z3O7vvDFpoRzfDb+82JKuMNemARewvYDWgmOu7gg nVMgGukao362IJ6jHJxh4Bpl4KAkif+d3vGKQInve/3SPGYAgZxf/X+JWjso60IUgFX1 MYDH2W7kFY1IxDcY2pvpUIxuJlVwj3M6SkAwY6CdONFVBAJQpfVfxT5TspXvV/3GLVLw yy/g== 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=sMVNJ/LPbRvn48KGy/785ZDuHz9PafjtcmN48BZV1GQ=; b=Ydtpk4H3j6J2bZtXNX71b3Cs0jvtw9BR3MDk1UAbd6BqIh2HG186gSQbaBDixwNa9P SP2TooeWgiEi/7KPOcQAhaSCZ/ICZoUK70oE2haG0Ddr3tm4gmT31yplPQcvjJL2f0MH xJ4QSfiIJHYBwwFSQL7iJqy2M8+XeBwb4F3S0I1MlfoBEGY+iYtsDEPs3ZbbMZfSvh2S s/DNApNqZD9ewwZ6u14jIYxmdJV+SukHFFe05DC/qce54AKCXDDD/AVY7wLmQMjdVSmQ hXC4EMrLbSCWg9/fTtEr5lvtZBPjO5PjJ/iYyvaMQAjbFQasxsujAeXkuXf9bI3AGHsP 3dbg== X-Gm-Message-State: AOAM5333eJAv77ZIWs9cAjESWIAHtVq/thMFz1mDnwaQG497F9dHKQEs Po3peyXDmKnKP7Zekiuq1Mxd+A== X-Google-Smtp-Source: ABdhPJw5nHPMaw17x6xIGLUWcrzK5xMwTMS8SeIrlnqdsD4/5XabEfPGOZwKsWg6dttfKzTHTcCOoQ== X-Received: by 2002:a17:906:260e:: with SMTP id h14mr15829603ejc.356.1623684377377; Mon, 14 Jun 2021 08:26:17 -0700 (PDT) Received: from localhost ([2a02:768:2307:40d6:f666:9af6:3fed:e53b]) by smtp.gmail.com with ESMTPSA id s2sm5275071edt.53.2021.06.14.08.26.16 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 14 Jun 2021 08:26:17 -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 v2 23/33] arm64: zynqmp: Update rtc calibration value Date: Mon, 14 Jun 2021 17:25:31 +0200 Message-Id: <0d36d9fe999ff82f10d42ab5fc0d1e907c26ac34.1623684253.git.michal.simek@xilinx.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210614_082718_786187_78CC027B X-CRM114-Status: GOOD ( 12.97 ) 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 --- Changes in v2: None 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 {