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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 25DE0C433EF for ; Fri, 1 Jul 2022 13:01:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=4U5nDynKkLlEcYSgDwuiDyG1Ub9C/ouK2REPLm5fGQ4=; b=bh4VE+UP++cQjG 6phOF25kkBl/BtAjN0MPNPii+pj26K91a2yEhJkXJgurMvHjwcd7b0tACcu5dy3Xj1kMBiAn28IHa 3rw7q5b7Ce2cr0FTEJEdH/iArXKbXTsIeAiNzF/TbndkKqi6yywGlgHqx74FYS5Rh1xpL1GFn3FYL SOg2eUsYF7XI5u+FHerXaCmj9ulxfherBIrIFVirVX2FIcsLBOUAzeBwy2Wj11bBR9+21KWDTP9wW vTZ1Iw6SMLlvBdEdJiWHUxCK42LJmc/jsLNx8G9mQXwOgxgzMMAgi/FoqNLfzfPWU6AtbPfAGqHAW KvTgORuKgGV0ZHlMHThg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o7GGL-004u6B-Mf; Fri, 01 Jul 2022 13:00:45 +0000 Received: from gloria.sntech.de ([185.11.138.130]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o7GGI-004u41-9o for linux-arm-kernel@lists.infradead.org; Fri, 01 Jul 2022 13:00:43 +0000 Received: from p508fd39e.dip0.t-ipconnect.de ([80.143.211.158] helo=phil.localnet) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1o7GG4-0001Vv-Rz; Fri, 01 Jul 2022 15:00:28 +0200 From: Heiko Stuebner To: Alessandro Zummo , Alexandre Belloni , linux-arm-kernel@lists.infradead.org Cc: Icenowy Zheng , Samuel Holland , Chen-Yu Tsai , Jernej Skrabec , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-rtc@vger.kernel.org, linux-sunxi@lists.linux.dev, Samuel Holland Subject: Re: [RESEND PATCH] rtc: sun6i: add support for R329 RTC Date: Fri, 01 Jul 2022 15:00:28 +0200 Message-ID: <5026101.q0ZmV6gNhb@phil> In-Reply-To: <20220626042756.58961-1-samuel@sholland.org> References: <20220626042756.58961-1-samuel@sholland.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220701_060042_383517_DC8B0E19 X-CRM114-Status: GOOD ( 22.78 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Am Sonntag, 26. Juni 2022, 06:27:56 CEST schrieb Samuel Holland: > From: Icenowy Zheng > > Allwinner R329 has a RTC with a similar time storage with H616 but a > slightly different clock part. > > As we have already handled the R329 RTC clocks in the CCU driver, add a > compatible string to RTC driver to allow probing of the RTC. > > Signed-off-by: Icenowy Zheng > Signed-off-by: Samuel Holland On a D1-Nezha Tested-by: Heiko Stuebner Reviewed-by: Heiko Stuebner > --- > Resending this patch separately from Icenowy's R329 series[1] because it > is also needed for D1 (which has R329 as its fallback compatible[2]), so > I would like to get it in to 5.20. > > [1]: https://lore.kernel.org/lkml/BYAPR20MB2472C608678F3FAEDA7B7541BCF79@BYAPR20MB2472.namprd20.prod.outlook.com/ > [2]: https://lore.kernel.org/lkml/20220203021736.13434-3-samuel@sholland.org/ > > drivers/rtc/rtc-sun6i.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/rtc/rtc-sun6i.c b/drivers/rtc/rtc-sun6i.c > index 57540727ce1c..ed5516089e9a 100644 > --- a/drivers/rtc/rtc-sun6i.c > +++ b/drivers/rtc/rtc-sun6i.c > @@ -875,6 +875,8 @@ static const struct of_device_id sun6i_rtc_dt_ids[] = { > { .compatible = "allwinner,sun50i-h6-rtc" }, > { .compatible = "allwinner,sun50i-h616-rtc", > .data = (void *)RTC_LINEAR_DAY }, > + { .compatible = "allwinner,sun50i-r329-rtc", > + .data = (void *)RTC_LINEAR_DAY }, > { /* sentinel */ }, > }; > MODULE_DEVICE_TABLE(of, sun6i_rtc_dt_ids); > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel