Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp116492pxb; Tue, 12 Jan 2021 22:08:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJw3/BAZ/WquIPpJr3gn2ZKk1LpXGpdLWL4N77DExHL5nyLFze0w3VNOfz25MMOzOBnb3Xk7 X-Received: by 2002:a17:906:e250:: with SMTP id gq16mr412353ejb.382.1610518119304; Tue, 12 Jan 2021 22:08:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610518119; cv=none; d=google.com; s=arc-20160816; b=OtCk0HL1P1SApcs+MNQg32ClwGWPLPsfrftgcupG3BHCXhYMemza5iiliEotEq1+GF 81mzONmNyo8gCziVI0s31smBI2Ff613IM9c1OG3ECbdO/wcaTpsIJzIGMHRovzLTwbKm caj4h+eXvq+086uT+4DGm7iajF5250Wdn8YKgP3G1AWY1u2axcuejlKGP0eaau1lJDHP ZswXkLQ9z08KJAHAq5cyQx8iUs1jOMMudSZyqn6cdXYRVLy0T9rGQAMhSgPenhwNSz2n YucTXrn7LoXluji4jYxZiT+dzCQyprh3ofc++YXhYQPe8HOfs8rXqXWgmc2H8SKt2BH1 a3GQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=y1NkgwubQJo6+DrdcxV+O/7783b4D3luaMS6tWEPlf4=; b=Gg67YHUNiGRiqr3h3vqYQZzDce/LSJklDJjPLz7ErloolGQdpdCCrnWftCd+5BUllY eiZM43BeRksa11ELVHrv1Q1n4odNMv5URp/unSAL3bhGMfcon1+QE3665TNk4t3uhy4d Tsw3w8ZkwTGAGWDf/flfocG6B46YOrfqXwf+0bbKlReX1G/ZN1BOlaAQlniBHqb3zc+y yhvrjDH7kAiuxajUTvYPJBEkcsAL+9zMT8DZz7mIzO2kpsgRa1ByFWEf/nqKMH7Fb8Qw Ya7NT6Uf5pFF02a7Ar4TJwNBL3qE/NSu5Nft5fZHHko2LLUBdct7o7saC3y3fZXu7p8I s35A== ARC-Authentication-Results: i=1; mx.google.com; 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 e24si490056edc.290.2021.01.12.22.08.15; Tue, 12 Jan 2021 22:08:39 -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; 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 S1725969AbhAMGE4 (ORCPT + 99 others); Wed, 13 Jan 2021 01:04:56 -0500 Received: from mail-wr1-f51.google.com ([209.85.221.51]:45272 "EHLO mail-wr1-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725770AbhAMGE4 (ORCPT ); Wed, 13 Jan 2021 01:04:56 -0500 Received: by mail-wr1-f51.google.com with SMTP id d26so765934wrb.12; Tue, 12 Jan 2021 22:04:39 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=y1NkgwubQJo6+DrdcxV+O/7783b4D3luaMS6tWEPlf4=; b=Re8B6XtiCxmGYTda6+ZkgEDf1G1w1jXorI3n1Otvca6nfLwwf98mphVXgZgZZqZaV1 tjTh002F+xuz8ov5FaxoT9UmLYWFaFw7iWB1JrSEIFvVlcyEiGDzEJe8UX7x/FvTJbei +0SijzJYHUQQhSrjrtsdh2GAlevVBIggjkhj//eyX0FhSgmrx8uu8NduFcgZeEakrYYs M7GbXa6cUoK9453TeV9c52vY6vxz39ugQnOULKx7rhplcyPZbpHBr8sOZB/dgigZMKTq ADQ2sEdVWHv/fExDMAkKxO1VnQFDwgK9QHcKhufTA5txwjAiQBXWai3opT0BWvOK8Chv 4Lgg== X-Gm-Message-State: AOAM530Tib8Hov0AGis77S0IwOBvQ6CwWn2TsGNWxoQJOtjNJwgk1Cg3 Qi/RgA+ekL02xxWfTVmUGjM= X-Received: by 2002:a05:6000:1d1:: with SMTP id t17mr745151wrx.164.1610517853795; Tue, 12 Jan 2021 22:04:13 -0800 (PST) Received: from kozik-lap (adsl-84-226-167-205.adslplus.ch. [84.226.167.205]) by smtp.googlemail.com with ESMTPSA id c18sm10261967wmk.0.2021.01.12.22.04.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Jan 2021 22:04:12 -0800 (PST) Date: Wed, 13 Jan 2021 07:04:11 +0100 From: Krzysztof Kozlowski To: Adam Ford Cc: linux-arm-kernel@lists.infradead.org, aford@beaconembedded.com, Rob Herring , Shawn Guo , 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: <20210113060411.GA12275@kozik-lap> References: <20210110115354.1259994-1-aford173@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20210110115354.1259994-1-aford173@gmail.com> 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 Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof