Received: by 2002:a05:7412:ba23:b0:fa:4c10:6cad with SMTP id jp35csp445680rdb; Thu, 18 Jan 2024 08:07:44 -0800 (PST) X-Google-Smtp-Source: AGHT+IGGkOCzZTotLcViDUn4z5fzhyMRHFgIERSdC6H6s+ivsHjH4hyUCL04pt2h4/wq17thReVO X-Received: by 2002:a17:907:a4c8:b0:a2e:d789:1cd1 with SMTP id vq8-20020a170907a4c800b00a2ed7891cd1mr828921ejc.15.1705594064799; Thu, 18 Jan 2024 08:07:44 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705594064; cv=pass; d=google.com; s=arc-20160816; b=C4jdpIyaPCUI52fu5hbp4Xyywq8JgWuKnnP3gQwCJvJTHCth6Z21YLLKuIvq87snFi dGv3YsxYnSwlzrIekN7yl0/Vm1PE7j6szarUyOf1IzTgItHGVjeBj9NkMBXQNrCxwJgf wXdST3UPCSzqMDs+H0G8gRFO+Vn0NZ0EnvMDa3TVfehypkqB/RaktQdwK/iDKifRTXrZ rGLebEI8fJ9Jl+28papugVaRPu6aR5eMZl6tadAO1hgj+Gj8iwFup4fNUoxrF5fAFpzM rdiuzksgtntSXWBaU/0kSR26JpY4JZIZDm+/Q0HtqIhmDtdSFoXBlOhjB1HBq4lrVndK dEdg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender: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=kDnqCJc6DdlPkC0AYd50uBaKkZtlxVtjgN6JvECPsPU=; fh=7Y7M74ll4dLn5zxyx6C7/lhiNlL0o463VWSEWV5gCCM=; b=iHqQa6L4IeZfL9EtwoYmSxzVZKqNQev/nFaq7+a04IF3RNadLyxb3FZNrki6MD8Sk3 mQI/OaEsJ+4qZXO/QqIPGYcbCuRdkHXnFu66WnysDlsOXvoMnIwB0wEcbhcsBE/L/H8D QGwRXYsQ2pD5YmqQwiOafMXZUxVV8rM2zmYFwjq9wnxTi6gkskWIT/6S0T3BDVYlqE9s 9Sv1g+Rr8bTm4FO+7neTAUFEYMFjfL1QGsHCyF+bQvyOfjjeVmUXz6OaQP4Ih4XjD62I Lqv0Rnr0UM1sQ7BD9NscaKOWN4+/F1bFIMePQ06DtrHbflkcPRBsXkLFaf78Lk43LJno 4UWg== ARC-Authentication-Results: i=2; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=TbyIEquI; arc=pass (i=1 dkim=pass dkdomain=armlinux.org.uk dmarc=pass fromdomain=armlinux.org.uk); spf=pass (google.com: domain of linux-kernel+bounces-30331-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-30331-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id l24-20020a170906a41800b00a2d06893ab2si5359160ejz.291.2024.01.18.08.07.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jan 2024 08:07:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-30331-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=TbyIEquI; arc=pass (i=1 dkim=pass dkdomain=armlinux.org.uk dmarc=pass fromdomain=armlinux.org.uk); spf=pass (google.com: domain of linux-kernel+bounces-30331-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-30331-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 5A95F1F24022 for ; Thu, 18 Jan 2024 16:07:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CC79D28E34; Thu, 18 Jan 2024 16:07:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=armlinux.org.uk header.i=@armlinux.org.uk header.b="TbyIEquI" Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [78.32.30.218]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1FE171E88F; Thu, 18 Jan 2024 16:07:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=78.32.30.218 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705594055; cv=none; b=fsP6MmQJsgX6oJVe88blqP4nw3TffwOKHY+pB+3hQhLOWvDWYJEBwVn0j9Ft2KfDuh7fF4wwuMW1Cz2F6gfmc9zk9YlAw7ei2shBuLYhDsEzo9DRY2raxu++/Pwb7CDnioaCkJc6n1skghYEvfgWi1MBc+vNoQIsu1pviQLsJEc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705594055; c=relaxed/simple; bh=3T7ZxFRZznZp33Uckeh26hwEA7gDX3RAmrrvqu9q1j4=; h=DKIM-Signature:Received:Received:Date:From:To:Cc:Subject: Message-ID:References:MIME-Version:Content-Type: Content-Disposition:In-Reply-To:Sender; b=L8bikQ4e+DbJmyBEfaRsuCfOxe3/XW38kteclhbTA0r4lk5wLUDZvlBIa/FXpgbq5DK8jcwzQicZrai1d0CokxxTAzlJkksS/aWdfFeyZIokEpZbHXQN3z71Yx2ucK++4TJmKzpjEwWYIBWvUeNI/1mQA1tbnIy3w37EVlFXQ6c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=armlinux.org.uk; spf=none smtp.mailfrom=armlinux.org.uk; dkim=pass (2048-bit key) header.d=armlinux.org.uk header.i=@armlinux.org.uk header.b=TbyIEquI; arc=none smtp.client-ip=78.32.30.218 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=armlinux.org.uk Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=armlinux.org.uk DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=kDnqCJc6DdlPkC0AYd50uBaKkZtlxVtjgN6JvECPsPU=; b=TbyIEquIRD1S0207D7QoRD0DZL wLyxrQ/QjWvcHfkRlGyM/4Tdrxxn0s1i1I3VAkS40hYxblU7YWvT1WHTjzjPxQ9Uh3Vuy/T8xnAg/ IifACYSU2Gq+h7UzcW8tbSsVybtg1J04beB2tcbE1QTQ3QwXBSaQ6GjyuVhoa98K3XjZetCy4PtAp afDHhcUkrDzMUe/lKBxfAIQkErTweyAL3Nt++bKUeKzABf170xeixEQXstZzOjp1UxuAtpIrWe75o NXXqFBjyESoZwj01ZABE+QFTPwmnCDSkstL7hPTG66NXtI8iGWm+icZHfTzl3zo7MhzDOaGFHYaeW kSr+xOzA==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:52464) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1rQUvC-0005rd-1f; Thu, 18 Jan 2024 16:07:14 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1rQUvA-0005qW-AB; Thu, 18 Jan 2024 16:07:12 +0000 Date: Thu, 18 Jan 2024 16:07:12 +0000 From: "Russell King (Oracle)" To: Josua Mayer Cc: 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> Sender: Russell King (Oracle) 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. Given that the snvs RTC isn't battery backed, should we even be enabling that in DT? Also, have you seen any issues such as: [ 0.933249] rtc-pcf8523 0-0068: failed to set xtal load capacitance: -11 [ 0.933505] rtc-pcf8523: probe of 0-0068 failed with error -11 which seems to be exhibiting itself on my SolidSense board? -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!