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 X-Spam-Level: X-Spam-Status: No, score=-12.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 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 3E574C433DB for ; Mon, 18 Jan 2021 00:19:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 05C8A2151B for ; Mon, 18 Jan 2021 00:19:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730239AbhARATd (ORCPT ); Sun, 17 Jan 2021 19:19:33 -0500 Received: from mail.kernel.org ([198.145.29.99]:56332 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726785AbhARATa (ORCPT ); Sun, 17 Jan 2021 19:19:30 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id B59392137B; Mon, 18 Jan 2021 00:18:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1610929129; bh=AMoWwMeerbu7qqOXqsa78mXjRjBuQWevhvlMY9YjqsI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Fxoy4aLBp7wHvaNt5YBGyOLBAVg0hUxDjY+fmt7rLrZFdGieAc6fynGKcPcrzSfXt ooB5Mvt9nrf7L/I2XF7Cqjr7V5hHOHgO2qfdrCLPHpdbzvX5nWYi9m0ZByeSVv4Wfd rz2gKJcHAdDFfPrT2QlElAzNuzJsMzoYymOv7MMkiyy9mcOt06vDSx7CsPoWM7iPc6 5x1wePq4BD0s3qqLgCweXYJzVhvYQnXb6qeYJ7U89tEW7Hq7DqqVpYx64UU8Y/aQje dYub0JHD6ZhEhYZ1m0YlQwvM6hPvrC2s/nYrUyVKwU8jIMQdYAUjv5T0x6zxGqheT9 fFLxhELjR6oJg== Date: Mon, 18 Jan 2021 08:18:44 +0800 From: Shawn Guo To: Adam Ford Cc: linux-arm-kernel@lists.infradead.org, aford@beaconembedded.com, Rob Herring , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] arm64: dts: imx8mn-beacon-som: Configure RTC aliases Message-ID: <20210118001843.GB28365@dragon> References: <20210110115354.1259994-1-aford173@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210110115354.1259994-1-aford173@gmail.com> User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On Sun, Jan 10, 2021 at 05:53:53AM -0600, Adam Ford wrote: > On the i.MX8MN Beacon SOM, there is an RTC chip which is fed power > from the baseboard during power off. The SNVS RTC integrated into > the SoC is not fed power. Depending on the order the modules are > loaded, this can be a problem if the external RTC isn't rtc0. > > Make the alias for rtc0 point to the external RTC all the time and > rtc1 point to the SVNS in order to correctly hold date/time over > a power-cycle. > > Signed-off-by: Adam Ford Applied, thanks.