Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp4099049pxu; Mon, 30 Nov 2020 17:54:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJwRIAvOiEuii3TKTscAbpVV9SedJWJjipBJ3YUO34zXGKQ86LLOTVNmjhppmmkIYbkM6jMP X-Received: by 2002:a17:906:e25a:: with SMTP id gq26mr777148ejb.109.1606787656359; Mon, 30 Nov 2020 17:54:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606787656; cv=none; d=google.com; s=arc-20160816; b=F6cnv77xYOVrzBNQ/MMIftZgekeJXObaS7mc7C//Dqr/nVnmGuDdkiVqRBTU1z9XWd bhKd1JJ6JGaFcaB5xs8wQnStBLEHb2ss8LcXWIH8DXfzEdwXZGMZRosiNFAS4Rhf2rLY lIiYBhZxBDIMJU7i2ztQr3IiVMode4O5KA8g6tWiOcqR9Myuug9xD9deR0OGt6XKRAXH yrc5YcsuSnGhy+FbpELYz0YQVFpzcV9+5L3v8zBuqeaaNyOLiZpcVFMV0jefvG5UyXTd lvc9U/30VCHLa6AvnGBkcSyISn9FFl+YLsKlsrMZ2QGGRyGvXKk2eyxGKtFSNQgBolas LvrA== 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=m6E2KEilX+eAbBVe8YgehNI1SV6Vhs1hrluRE6RU1to=; b=YV5+5neEkyJ7BQ7qOPyvq7WZP3TidVba2mFrkju08WV1E1HTJ+dHNJUGI2u55TXoMf aZQWk+Sa0b/scpa6ibVXSrhPm5ksWGPk6+nOPqST/khR6nvxImSwYdYXv96TEBoHq3r6 hY7tha4+ShpIrarZluzGVlzkwfOtPVJ3PLXeLNy4y4p5QsUjnTrewKajCJkNIVv6QmnY XgQik7mJ8XkddGFCm14OwUMjTsC5pyZbLNS1VKI5pOAdKttVyLc/ZH2yn+3yxj3u4CmO 58xvzDv61i6imXyzyPsHN24gObuRU6RidYHfKPpjXkBwbIqXBDVBY4O/K6glWDfKdQ4C AXlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=vR4jzRbN; 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 a25si211270edn.377.2020.11.30.17.53.54; Mon, 30 Nov 2020 17:54:16 -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=default header.b=vR4jzRbN; 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 S1726226AbgLABu4 (ORCPT + 99 others); Mon, 30 Nov 2020 20:50:56 -0500 Received: from mail.kernel.org ([198.145.29.99]:40194 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725918AbgLABu4 (ORCPT ); Mon, 30 Nov 2020 20:50:56 -0500 Received: from dragon (80.251.214.228.16clouds.com [80.251.214.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 25E052085B; Tue, 1 Dec 2020 01:50:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1606787415; bh=i24tqU+wEFKeqAjGV2x17GMPR+CnMcATDed1HcxklvU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=vR4jzRbNAiWABuYB8k2NOe73aM2EZTc18PBibYaocJNoabNuJEzjnnDguuLcN9N9j hb2iNU7DigfGNcvLQTpE6rhQfzpTGSKioesgPgeVELSbpA8TbOo//nA537Sz3WQ3Hm O25a8x5RZ8p2gOPHfmS6A+LO5UWBq2+uFMTusYGo= Date: Tue, 1 Dec 2020 09:50:08 +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 V2 1/2] arm64: dts: imx8mm-beacon-som: Configure RTC aliases Message-ID: <20201201015000.GV4072@dragon> References: <20201126104535.1075658-1-aford173@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201126104535.1075658-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 Thu, Nov 26, 2020 at 04:45:34AM -0600, Adam Ford wrote: > On the i.MX8MM 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 both, thanks.