Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp2335331ybi; Sat, 1 Jun 2019 14:19:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqzFwGSS78uIk7oGLsBNrPMOa6zVLGp5Bt8SpQ9oI26s11UHANZOvCp3CyRu98GuqOThd1r0 X-Received: by 2002:a63:2bd1:: with SMTP id r200mr18207906pgr.202.1559423993977; Sat, 01 Jun 2019 14:19:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559423993; cv=none; d=google.com; s=arc-20160816; b=B1lJu+YtPxB+p6ndAeK2OGWoHpzzX42OgS5yWEW4hryCflCPJ+SJ3CHZkY+E5nH/xc 0So1P3dJ8T9zrUNNtjwXFoWF993Pexj/KBmmaOMhefEzNYw1l5fNRZM1GD/8fSCqa5CB bClI58xNpnfrOmSpGtkdwi+HC0z4j9qbwkgMXrRKDSoLCK7ZHTD+JxGdJcIC6MkcssUl OMAAcg66OPM+cneXpCYFZ0xgHViCVpHbSYybgWWsh011qyy6seMtW5PJ2nSquUMTNO6+ lZSd2bAOkKpj5vtqvpbtBjEWBpbXF/MeXWbnc6eVMTYYHAdhWxMee/JQfB4KlSi4Hm1b tgIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=b1N/szdKvbiBQR22jVkUuvGbNgIQTSvWhG441a8Q5Ds=; b=K6WgKfV7u0p9oxrYH4Jah3I8gTPJs9UPGhP7aEQhKvGqaTUPEAreGjPpIM52N/0I84 OO6ZiaMph3CTRswkEw+YsLZctKCWdies/fYmwX2P32lgBHTrrP89D3pk8P6GjmWsfxId BjDolnIFtJvhTmHR6eju7Vt+ze0lydo4tX3WDm7/X3lEWoMN/z2j6K3ugnCPLc7wa5W6 KtpAq++jb2AuZDONE8ECKP0BGXImDCh2I5AlT1IOJjxlsfVVD7n/zfHQDOQufjSyD2kn EIz0Jf+UoiFVoKjaAcBR84cJLwqg/nyg5Qs5XONGcYI0bPDDqb0MBkGzto/HJW6cBqBo XLlA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w189si2736786pgw.205.2019.06.01.14.19.36; Sat, 01 Jun 2019 14:19:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726587AbfFAVS0 (ORCPT + 99 others); Sat, 1 Jun 2019 17:18:26 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:60347 "EHLO relay4-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726149AbfFAVS0 (ORCPT ); Sat, 1 Jun 2019 17:18:26 -0400 X-Originating-IP: 82.246.155.60 Received: from localhost (hy283-1-82-246-155-60.fbx.proxad.net [82.246.155.60]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id AC846E0009; Sat, 1 Jun 2019 21:18:19 +0000 (UTC) Date: Sat, 1 Jun 2019 23:18:16 +0200 From: Alexandre Belloni To: Anson Huang Cc: "robh+dt@kernel.org" , "mark.rutland@arm.com" , "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "kernel@pengutronix.de" , "festevam@gmail.com" , "a.zummo@towertech.it" , Aisheng Dong , "ulf.hansson@linaro.org" , "sboyd@kernel.org" , Peng Fan , Daniel Baluta , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-rtc@vger.kernel.org" , dl-linux-imx Subject: Re: [PATCH V7 4/4] rtc: imx-sc: add rtc alarm support Message-ID: <20190601211816.GF3558@piout.net> References: <1554785675-8090-1-git-send-email-Anson.Huang@nxp.com> <1554785675-8090-4-git-send-email-Anson.Huang@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1554785675-8090-4-git-send-email-Anson.Huang@nxp.com> User-Agent: Mutt/1.11.4 (2019-03-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/04/2019 05:00:07+0000, Anson Huang wrote: > Add i.MX system controller RTC alarm support, the RTC alarm > is implemented via SIP(silicon provider) runtime service call > and ARM-Trusted-Firmware will communicate with system controller > via MU(message unit) IPC to set RTC alarm. When RTC alarm fires, > system controller will generate a common MU irq event and notify > system controller RTC driver to handle the irq event. > > Signed-off-by: Anson Huang > Reviewed-by: Dong Aisheng > --- > Changes since V6: > - add comments to .read_alarm callback function to explain why it is an empty function; > - improve irq notify callback function name. > -- > drivers/rtc/rtc-imx-sc.c | 87 ++++++++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 87 insertions(+) > Applied, thanks. -- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com