From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (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 AE1587C for ; Sat, 23 Apr 2022 21:46:18 +0000 (UTC) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id A19F55C0120; Sat, 23 Apr 2022 17:46:17 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Sat, 23 Apr 2022 17:46:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm2; t=1650750377; x= 1650836777; bh=dHEjTHUFDvHxSW67Dq0IGibu2U4W+lozpqOMR2nEllw=; b=P JDLxMHO+ymIlLGjLjQphL5ypU1Akas9WHQQgLUn9iceCDIG5Q6W35nVtXSLjmScg OkNfPaStv0s7aYtcOWQgfXLjp6Ff/sB6cxte0hhe+Cpw4OCjcdp4Fc2DcX5hy4x6 1wZ8QOXzlhq7bhppj8PYQIuS9INHyGyTdNtY0ZnUl1W3W0SgIohOBo5D18cgX7GK QSSLdmpVp1IpP99cSBG/m3D7L6IUoxcRRHJkYePR/OtTZlW3STw02UHULfiG+t3K YXKibzAY9IjyS01bstZ8vvrl2/r7JeNUNgVfs23RxvWd49AChFI8Q8d3noMA+tPJ N+KkkPcWAMDBTEiMIfWug== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; t=1650750377; x=1650836777; bh=dHEjTHUFDvHxS W67Dq0IGibu2U4W+lozpqOMR2nEllw=; b=AquY4sIAEzHAe6DJdP6E6wZPUms7m GQ/zGhlyc9EMF0vH7mzEtJIi63jqNuIirU1P4eLsCtu0TghIFtEnmmqP+tTamoXU R6b5DjdbNjQGD2muny8iqpQ50xklFATSurAx/00wmSG5qxe1yTsZiiFZsA4P3myU SyGUhhBxYiqHMmOSIfBkDcehlz0fRNPCiaULnmfbMBN9ZNrCfxPSQhnlIKiPbnpD 9AnO7qlJgrMJ2SBUhBaRJgZAbzR2sa3y8O/AogM8oe/33GO8auJWU6G2Ffxa66W+ e/3fQfu6qjoOMlyX0lZzERW1xVCeIG0r95Sr+lUgTJ4B5wEGrWJntRS4w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrtdejgddtfecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefuvfevfhfhkffffgggjggtgfesthejredttdefjeenucfhrhhomhepufgrmhhu vghlucfjohhllhgrnhguuceoshgrmhhuvghlsehshhholhhlrghnugdrohhrgheqnecugg ftrfgrthhtvghrnhepffdtveekvdegkeeuueetgfetffeileevudekuefhheelvdfhiedt heduhfduhefhnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepshgrmhhuvghlsehshhholhhlrghnugdrohhrgh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 23 Apr 2022 17:46:16 -0400 (EDT) Subject: Re: [PATCH 04/12] rtc: sun6i: add support for R329 RTC To: Icenowy Zheng , Alessandro Zummo , Alexandre Belloni Cc: Rob Herring , Chen-Yu Tsai , Jernej Skrabec , Ulf Hansson , Linus Walleij , Andre Przywara , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, linux-rtc@vger.kernel.org References: <20220422140902.1058101-1-icenowy@aosc.io> From: Samuel Holland Message-ID: <8ae69c13-a619-62a2-1bf6-90a6c5d9dcf7@sholland.org> Date: Sat, 23 Apr 2022 16:46:15 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 Precedence: bulk X-Mailing-List: linux-sunxi@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit +RTC maintainers On 4/22/22 10:41 AM, icenowy@outlook.com wrote: > 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 Acked-by: Samuel Holland > --- > 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 5b3e4da63406..522e28fb05c9 100644 > --- a/drivers/rtc/rtc-sun6i.c > +++ b/drivers/rtc/rtc-sun6i.c > @@ -816,6 +816,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); > 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 87BB5C433F5 for ; Sat, 23 Apr 2022 21:47:30 +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:In-Reply-To:MIME-Version:Date: Message-ID:From:References:Cc:To:Subject:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=BdaPEM/4Ydth3EjzhcFfx/U93LN2Sh/mGnDAjEh3d/k=; b=I/tjgn6mUaH1FGL4FB13tGHFqf TY4mEJjINLh4cYzq5MujBQvCc2Xak9k/uFxwHI/t0QP+oG+52kTJbbDPml0uINBq1G3ro4lCp9GhU q5WKn+2gwydpxVf86Uj8lThW+u0YHoYkwl89Mwd/pK5iXFRFaEkoWzDt+PLT+9c330u0D4ZrVmY0E NeQZ57Ws2hcBgfrASaEneVRmG+eV/wk5Aw97SpMbucpheyeYZgWSifxy5nTWgzbj8+i0sZ3YZg+Na /Nc4AnBAl0Ifzn5j5ylR+2l6PMt8f6yqYs9MtALASLaFb0gSrTSc7nfxVDdQ81sPGod0jtp+Dcqu2 jkg6cS8w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1niNaA-005ER0-BI; Sat, 23 Apr 2022 21:46:22 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1niNa6-005EPN-Hl for linux-arm-kernel@lists.infradead.org; Sat, 23 Apr 2022 21:46:19 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id A19F55C0120; Sat, 23 Apr 2022 17:46:17 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Sat, 23 Apr 2022 17:46:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm2; t=1650750377; x= 1650836777; bh=dHEjTHUFDvHxSW67Dq0IGibu2U4W+lozpqOMR2nEllw=; b=P JDLxMHO+ymIlLGjLjQphL5ypU1Akas9WHQQgLUn9iceCDIG5Q6W35nVtXSLjmScg OkNfPaStv0s7aYtcOWQgfXLjp6Ff/sB6cxte0hhe+Cpw4OCjcdp4Fc2DcX5hy4x6 1wZ8QOXzlhq7bhppj8PYQIuS9INHyGyTdNtY0ZnUl1W3W0SgIohOBo5D18cgX7GK QSSLdmpVp1IpP99cSBG/m3D7L6IUoxcRRHJkYePR/OtTZlW3STw02UHULfiG+t3K YXKibzAY9IjyS01bstZ8vvrl2/r7JeNUNgVfs23RxvWd49AChFI8Q8d3noMA+tPJ N+KkkPcWAMDBTEiMIfWug== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; t=1650750377; x=1650836777; bh=dHEjTHUFDvHxS W67Dq0IGibu2U4W+lozpqOMR2nEllw=; b=AquY4sIAEzHAe6DJdP6E6wZPUms7m GQ/zGhlyc9EMF0vH7mzEtJIi63jqNuIirU1P4eLsCtu0TghIFtEnmmqP+tTamoXU R6b5DjdbNjQGD2muny8iqpQ50xklFATSurAx/00wmSG5qxe1yTsZiiFZsA4P3myU SyGUhhBxYiqHMmOSIfBkDcehlz0fRNPCiaULnmfbMBN9ZNrCfxPSQhnlIKiPbnpD 9AnO7qlJgrMJ2SBUhBaRJgZAbzR2sa3y8O/AogM8oe/33GO8auJWU6G2Ffxa66W+ e/3fQfu6qjoOMlyX0lZzERW1xVCeIG0r95Sr+lUgTJ4B5wEGrWJntRS4w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrtdejgddtfecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefuvfevfhfhkffffgggjggtgfesthejredttdefjeenucfhrhhomhepufgrmhhu vghlucfjohhllhgrnhguuceoshgrmhhuvghlsehshhholhhlrghnugdrohhrgheqnecugg ftrfgrthhtvghrnhepffdtveekvdegkeeuueetgfetffeileevudekuefhheelvdfhiedt heduhfduhefhnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepshgrmhhuvghlsehshhholhhlrghnugdrohhrgh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 23 Apr 2022 17:46:16 -0400 (EDT) Subject: Re: [PATCH 04/12] rtc: sun6i: add support for R329 RTC To: Icenowy Zheng , Alessandro Zummo , Alexandre Belloni Cc: Rob Herring , Chen-Yu Tsai , Jernej Skrabec , Ulf Hansson , Linus Walleij , Andre Przywara , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, linux-rtc@vger.kernel.org References: <20220422140902.1058101-1-icenowy@aosc.io> From: Samuel Holland Message-ID: <8ae69c13-a619-62a2-1bf6-90a6c5d9dcf7@sholland.org> Date: Sat, 23 Apr 2022 16:46:15 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220423_144618_717876_219B3D81 X-CRM114-Status: GOOD ( 18.51 ) 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 +RTC maintainers On 4/22/22 10:41 AM, icenowy@outlook.com wrote: > 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 Acked-by: Samuel Holland > --- > 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 5b3e4da63406..522e28fb05c9 100644 > --- a/drivers/rtc/rtc-sun6i.c > +++ b/drivers/rtc/rtc-sun6i.c > @@ -816,6 +816,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