Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1631477pxb; Sun, 17 Jan 2021 16:40:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJy8pJIBF3kV+WJh0H+xoYG7yxHlPMUDhFZ9otNFJs9UIRSwZcXWVo5D6j/P8AUT0wysZ2Qd X-Received: by 2002:a05:6402:2547:: with SMTP id l7mr11009032edb.157.1610930401109; Sun, 17 Jan 2021 16:40:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610930401; cv=none; d=google.com; s=arc-20160816; b=02uVLmUH5Tvs/k+a3LxzrUt8x+LpmVqxrwQowfLuLIy1c0ThhcfbI1ESFy9zwijcdO AopA8UNcamynwIkWK0/Ldsh4XBGJKI9ultSytvPZH+PkaHl3cQPbXEB+7qUo/8ZUKC7N u3EgoW9OVlTVSQ4Z2pBPKqmDVuiowtoxU6mGEXh4MMkY/I0/GKeYgb5eiF6Q2DWItXkb EX2TGm/4i6XKQQxSTW/irt1txxZnqEcR2RSUs8kTmRRw4wYOXs/XXFs5BdKRzkbiEnpU hQ671otFiT9gLT07jMX4wHz2JZoq7zK26RRxYnImr2w234XmxEqFNeaoOOxLUDmM/6Qc 1rLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=YYs+1ePL1E/sasltmeWjBGolm/lUoEJQDM5vqBZSj5U=; b=fdrh+ousmbRzPxV5p9GGknHx3A0CribSUtyrOf4ZmWGsAtrhJAWcVS0+LVLroBTXyY E4mUb1h386a+wQ8QTw+dduSejPf94/+4yGlmA0lMag5qVBR6g/wTNdumcJ4v9LHFP9Xh gxrCCxP4TjaYikmhi2ulgLPntNKA804o2B3ygllX5eJVRxYPhy08wB2SMTNbRf519V4z bnGjHNSqlugFAbLQhLwlDxuxqkJ51iwG9bu+ZySauPC/cwSqvs2Mm3oql64XAuVorxCA TyMGswMLbtsNT21rlk20kGM8rFFTTcixJZXIvIK7E448szYXTLm+vV0Xr0Xh90Bquzk5 FpnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Fxoy4aLB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j27si7049163edj.268.2021.01.17.16.39.38; Sun, 17 Jan 2021 16:40:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Fxoy4aLB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730277AbhARATe (ORCPT + 99 others); Sun, 17 Jan 2021 19:19:34 -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: linux-kernel@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.