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=-14.0 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=unavailable 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 8C548C71155 for ; Tue, 1 Dec 2020 01:51:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 217B020709 for ; Tue, 1 Dec 2020 01:51:12 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="vR4jzRbN" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726197AbgLABu4 (ORCPT ); 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: devicetree@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.