Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2305541rdb; Mon, 5 Feb 2024 02:18:45 -0800 (PST) X-Google-Smtp-Source: AGHT+IHCBG332uwYPSDBFgGMzYpMF5rRGTxfQIx1bAstsoDHXcPrFdWHwairNVXldzWwNn5czRo1 X-Received: by 2002:a17:902:b688:b0:1d7:78df:b1d4 with SMTP id c8-20020a170902b68800b001d778dfb1d4mr13569649pls.39.1707128325668; Mon, 05 Feb 2024 02:18:45 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707128325; cv=pass; d=google.com; s=arc-20160816; b=QZup8bCpwhF1K+hIZ2ZZyPerJz5f4vHZsuuyrkHTiN3KBNKGO93/QShy4InR8Acxsr bFcIFmiD0lLiHL7AhZjfprU0WLsCfurUS3oU9//CNNI3QCc8JR/S5NXHVz5nlUq/SZ+x i53gJe1L8EidV+k2Ti+wN+yc8sEp9JtXpNe64C0l0njjoyPDGuWjggV/PG+FVYacdO8i glrLIz5toHaP6CQyIzQUELYmmO2DRC/SmEQUH6yhEEVkDeLP1kjtGdDaUOpo/STZ0CrI 6660LdlqAfsYH1/xfyB+4YJK+RBEvzRvxcUB20XGgxayLhSaqu/HMmiPg9mHtZOkKAD2 Ej8A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=znALwfGxdDn3x/LE27VGHxvTW226DUgCiFFeUoauvLA=; fh=cKh6Htxcgvt9sC8w+TjmbrO6QhLM+yQNDbtbJxHvB4c=; b=Jc32MuMriLyW/FAYef+Ov46I1Ea2w6fmozGY4Vlte40BPdzltUSp2QDI5kuaNdsB1K oBDmhO97J22rOh0wAScNrXng0Jpz75P/6kS2Ep23HxrUnD4gAZDUo3RW4QBIOvkFi2xz cu52DL0Kjy6SUYwIgzUyTUnqdvyJtyvUFz1SmBAkIX0L2zJzK0bnSO4puvb7xaJcjLIU 6DmRSExgFL6i+MBRbiWPi5Qq8tBZmXOyz4fX3VUQQyZ6eJqB4Fg/hGZv2GGd28tilauc OqU/S6YfdnkkbpQI9S8DlidpMfU1SSsx9ZnyVWnHUEMtD0od7s/p4O2LnrGyX1DA5cFJ L9qw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=TE429pwO; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-52359-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52359-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com X-Forwarded-Encrypted: i=1; AJvYcCXe+aG1nLgm6KxsvlefUbcjqG/3DExavwgcLXEHC5FVk7ciXrgLlIXwF1DzoQWIm1P4bAWv0Z9J1DYRmyY1S/yZ51gaz40WekBguZTBvA== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id x12-20020a170902e04c00b001d9a2d38128si2486181plx.129.2024.02.05.02.18.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 02:18:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-52359-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=TE429pwO; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-52359-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52359-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 74AB928DCD6 for ; Mon, 5 Feb 2024 09:57:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E1E0C125B0; Mon, 5 Feb 2024 09:56:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="TE429pwO" Received: from mail-pl1-f182.google.com (mail-pl1-f182.google.com [209.85.214.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C742B13AD8; Mon, 5 Feb 2024 09:56:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707126992; cv=none; b=jd6BPUoRBzEs1NFC5FymUpbs4R3ZszqwHJtMtD517eW6DcG2brvAGIlDPUmEIAQ1kypO3b6vnHo8LR3x7HXuk54TKVSO5N4PxlTiHbUHJtXnVsDY7wao2DuBKroZ9MdQRaWD7MS6nsF9AYsDDH/0oWHsTfoNsuejX0xDCSGSTIU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707126992; c=relaxed/simple; bh=/wv9Rf93hbnFf6X+ri5DbCVOqUduDCDLA+jV3qDNS8U=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=e7LqUe7lmJQLHE3eAZPLDSVLMsWxssX3k6Amhrkz5josavFyT8RVTWA+tRhaU09dvRHxX5OZx+GSbf+NYK+ZPToqSiuaEnbl8vDPLUvXhD718267kL22SUuAISEQgX9prZpoedY4N0xjFUQ1v2vZwMGv2XVRhgRUjWHvlhyIOd0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=TE429pwO; arc=none smtp.client-ip=209.85.214.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pl1-f182.google.com with SMTP id d9443c01a7336-1d8ef977f1eso31039525ad.0; Mon, 05 Feb 2024 01:56:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707126990; x=1707731790; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=znALwfGxdDn3x/LE27VGHxvTW226DUgCiFFeUoauvLA=; b=TE429pwO2rwmE0yWhqKpRmzrczb5fp2xV82f2cRaIGu/ogXVseCPatz6xhhJO4iWE0 oy0ddkem5kH9FlQ/0uyXkgL+EEYzoFNIcnNhlha4ZQk2IKUkJXZjK53HLqr8XZf4Q1V3 T+uuD5MkFtvVUGKDIA6tqUTObXmljuUI1W0XiAuWuFJVZSwc7KgCHZ1tjsGD6mKazWvE 1+9b9c4pUZNKbZ7zADrM99BWewHBKNVX/C0RMYZar5GdTgRA8rpi4M0C9Gt9oENGHe1h utou8jc6RWgQHOo76yWNdmmbEmkOi6G2uFbnk0aGLj5RBub9y0bqUGpNlmMRzy4W/nsw EHzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707126990; x=1707731790; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=znALwfGxdDn3x/LE27VGHxvTW226DUgCiFFeUoauvLA=; b=DA3SOyP0lG40gq1zCOx/vqZ6vhgwsEaSApvegASf8+K5rlea2D5QAf8yTk55ldkh2h D7D5hfdMbzKOva0IyyufpRL+l+BQesLzLLUPnWVuCq+sj0KLIxw2ScOUhODsneMO3PKc KvbjjsWiomB02pia0dAuq1931gXjCFKMWaoSAc1T9lTWJ0K43a5IiFT8HZBTfNN9h+sA RO3RlyCCylv8g19+aG6rOL64XOzFR8lFtKt/HHGiDs9ct3AJ+GmBjyM3TNKPfObcZtpy 4zGbqWzwrplc+4SbH6jpjR2OVvaiF/BRXkorOnu90h/8ZLuz9Wn2aGsr3w7pR+hET83A q63w== X-Gm-Message-State: AOJu0Yxisd10MFXCjo5telwkCNUE65Rghoif+FBkUQlPXJylOpblp4ew FFS6sWfpqVI5XdP7E9ObJnzK89T1Lg5dcK1q1cb9CP1bDT/tRTdr X-Received: by 2002:a17:903:11d0:b0:1d6:f1cb:7a95 with SMTP id q16-20020a17090311d000b001d6f1cb7a95mr16663864plh.57.1707126989871; Mon, 05 Feb 2024 01:56:29 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCU5wnvszN9S/yYiGGCNkcX8Uj3Ay33T7zAog0dceJAu92SpkL7b/V0oPGDxhQw3rpoTMxonyC+eYTBVebOnGPD6ey/IeJt2HtES0NSYnn5MspMxWIG+dwrE33ZcpBT21TJmjX05IFQUTEJJV+sYfJWtC+Mzsw33pVus57yvWjd5qeWJeVP6+734KrSBgLzsv3B0zu64c133xMaziiby6pMESsGiRPLw58E2+Y3xSCioQdQh8bpCLeZGiVezlmtJpBMImMJYwWdbIvieKxWnugPUeybUuf2zrJdZ7DGVCGQn1ipi8v4GqkS7d2QMDkn19bXrv//RKtRY873yolTfa4F+GThlIrN2sCIe/bBiIIkeJsseNIDcRiO1RA2q+lyqqjnfSoInUGqu1a++llliIW8TjqSYHUH2GaYKEfJVeJB2Y9vyWXpdmk54aUDz1CBNc7WQ3p0QZhlJIKaifOWTTTGwZm1E8y35sL2UyF2xxzElg4DvdFk= Received: from t480 (89.208.247.201.16clouds.com. [89.208.247.201]) by smtp.gmail.com with ESMTPSA id ku12-20020a170903288c00b001d7284b9461sm5917081plb.128.2024.02.05.01.56.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 01:56:29 -0800 (PST) Date: Mon, 5 Feb 2024 17:56:24 +0800 From: Shawn Guo To: Josua Mayer Cc: Russell King , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Yazan Shhady , Jon Nettleton , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ARM: dts: imx6qdl-hummingboard: Add rtc0 and rtc1 aliases to fix hctosys Message-ID: References: <20240118-imx6-hb-primary-rtc-v1-1-81b87935c557@solid-run.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240118-imx6-hb-primary-rtc-v1-1-81b87935c557@solid-run.com> On Thu, Jan 18, 2024 at 04:01:10PM +0100, Josua Mayer wrote: > HummingBoard has two RTCs, first integrated within SoC that can be used to > wake up from sleep - and a second on the carrier board including back-up > battery which is intended for keeping time during power-off. > > Add aliases for both, ensuring that the battery-backed clock is primary > rtc and used by default during boot for restoring system time. > > Fixes keeping time across power-cycle observed on Debian, > which sets RTC_HCTOSYS_DEVICE="rtc0". > > Signed-off-by: Josua Mayer Applied, thanks!