From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 163CBC74A5B for ; Tue, 21 Mar 2023 13:00:48 +0000 (UTC) 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:In-Reply-To:MIME-Version:References: Message-ID:Subject:CC:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=RDuDS8mUX1I/oQ8qmbWNmE4/dnVyrFe7eZe3xtfk1Pk=; b=sBbb6Jex16Vhm5 EzXh3dN2/cjxxNwGaRbXkeje07bIgw2w4MgYA/PdgWY+h1HJG6F1ODjqzlCXWT7b22g5+/9QrlQWu Dh7IDVJ9MgewXTRndQ5/tfBaB7mcqPELJNIbHet/Oypy5PdnqF04oMOeKLyJIwWMzH12yOm3zK+qr Z5pOAlV/T4nNbiVgtGcLvEhByiB9LSweyayWdEjjDtk9OmNGurRDFR5JhFE3fkS3hu7V2TorO0iki YGoKGxl2xy5fh0E+TycxkRkTgp/ZnPp6n3wlmlNc/N0/k/8mtm//2Wu+B+qo0MsCh9dztnap4zXR1 0kKY/Erk+23fx43DUhIA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pebaV-00CRkW-08; Tue, 21 Mar 2023 12:59:39 +0000 Received: from lelv0142.ext.ti.com ([198.47.23.249]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pebaQ-00CRjP-0z for linux-arm-kernel@lists.infradead.org; Tue, 21 Mar 2023 12:59:36 +0000 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 32LCxPu7124173; Tue, 21 Mar 2023 07:59:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1679403565; bh=HmNO1EvDbS3Z0FvWRgk/ZP+c0DvWRB/BSf5vOIxflVc=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=DT99aL3Am1a/Bx7aO8mdurXCdyUf9Qr4NHPT9Dznz7l8SnK8O2NdFd203GeUWZ4/Z Cv75kFUGHZzVsyv3gtGQl/tikGd6cwhmbn/rctmvgzON2Tukzzut3TDrGTYXIPsNJo mio7bkEVG7AnPIblXvVQ2IShrxbd0Nu5Sg02rCso= Received: from DLEE108.ent.ti.com (dlee108.ent.ti.com [157.170.170.38]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 32LCxPg3012435 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 21 Mar 2023 07:59:25 -0500 Received: from DLEE106.ent.ti.com (157.170.170.36) by DLEE108.ent.ti.com (157.170.170.38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Tue, 21 Mar 2023 07:59:24 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE106.ent.ti.com (157.170.170.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16 via Frontend Transport; Tue, 21 Mar 2023 07:59:24 -0500 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 32LCxO5P050755; Tue, 21 Mar 2023 07:59:24 -0500 Date: Tue, 21 Mar 2023 07:59:24 -0500 From: Nishanth Menon To: Dhruva Gole CC: Krzysztof Kozlowski , Rob Herring , , , , Tero Kristo , Vignesh Raghavendra , Julien Panis , Subject: Re: [PATCH V3 1/2] arm64: dts: ti: k3-am62-wakeup: Introduce RTC node Message-ID: <20230321125924.23ythtji67y66hsi@satisfied> References: <20230320165123.80561-1-nm@ti.com> <20230320165123.80561-2-nm@ti.com> <4a1f33bb-882a-ed49-9e0e-b463203e0ea9@ti.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <4a1f33bb-882a-ed49-9e0e-b463203e0ea9@ti.com> X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230321_055934_429027_4113B0BF X-CRM114-Status: GOOD ( 12.84 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 10:07-20230321, Dhruva Gole wrote: [...] > > I was just wondering why some of the rtctests show failures on this platform: > > https://gist.github.com/DhruvaG2000/5c6d8bb99b087308b916985d70f0c440 > > pass:5 fail:2 > > the test is compiled from tools/testing/selftests/rtc/rtctest.c for arm64 target > > Is this expected? I used the standard defconfig and [1] on beagleplay and cross verified on 6.3-rc3 as well. It works fine. See logs below. NOTE: BeaglePlay has a external 32k crystal that drives RTC and other 32k clock sources internal to the SoC. This helps maintain accurate time. If your platform does'nt have an external 32k crystal OR AM62 does'nt enable 32k using MCU_CTRL_LFXOSC_CTRL[2], then default 32k RC osc inside the SoC triggers. This internal clock is very variable. There are a ton of stuff inside the SoC that depends on 32k, so this wont be just a RTC specific behavior. ti-next: (6.3-rc1) ti-next + 6.3-rc3: (dirty is because of a rtctest Makefile mod to build static) https://gist.github.com/nmenon/e1b300652ac452ad55fa4cf936fc3e63 [1] https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git/log/ [2] https://git.beagleboard.org/beagleplay/u-boot/-/blob/lc-ti-u-boot-2021.01/board/ti/am62x/evm.c#L243 -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel