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 X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7B7E8C0044D for ; Sat, 14 Mar 2020 12:26:58 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 502782076F for ; Sat, 14 Mar 2020 12:26:58 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="iUfv/V59" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 502782076F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bootlin.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=60VdLGVp4ktBVpQuM9BI+AScCF5M4mwEq+ypCicqkI8=; b=iUfv/V59xnX6au N/MHhKdDeQFZc7kt7TbigmnGQ6BB9/ZTdEqIaO+Cm6Xkyg0QMe+k1OPkIQg9a9QXIR8aWlYg+N9Hz NAAPCCStO07/WNopRMzt3jGZO4jrHtQN1zEwxFVfmnOz5LErdICG0BBkQSzh4uobUk8bARUQFFwqS tGyHleCC6AfaQ/nFPbwyPJSNlGEHmhryDXOYLk6uOnsmDO0KQCC5OsubLnaWvIxrYVkNf/Ids33ec H2SG2zrSyLUZ1B/Wgau8CYiYTJdchsYynhxt2sxe5aa1qxVdTOOs2XJZhmG5P73Zpdbjik3xoU1MD GZAD6ZuaEKXnUe6X/kNQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jD5sP-0003F6-8J; Sat, 14 Mar 2020 12:26:49 +0000 Received: from relay10.mail.gandi.net ([217.70.178.230]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jD5sG-00039R-2S; Sat, 14 Mar 2020 12:26:42 +0000 Received: from localhost (lfbn-lyo-1-9-35.w86-202.abo.wanadoo.fr [86.202.105.35]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay10.mail.gandi.net (Postfix) with ESMTPSA id C566A240009; Sat, 14 Mar 2020 12:24:55 +0000 (UTC) Date: Sat, 14 Mar 2020 13:24:55 +0100 From: Alexandre Belloni To: Ran Bi Subject: Re: [PATCH v3 0/4] Add Support for MediaTek MT2712 RTC Message-ID: <20200314122455.GC4518@piout.net> References: <20200226051303.22560-1-ran.bi@mediatek.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200226051303.22560-1-ran.bi@mediatek.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200314_052640_251559_9F4B9375 X-CRM114-Status: GOOD ( 11.94 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Alessandro Zummo , Flora Fu , srv_heupstream@mediatek.com, devicetree@vger.kernel.org, Greg Kroah-Hartman , Linus Walleij , Sean Wang , Nicolas Ferre , linux-kernel@vger.kernel.org, Mauro Carvalho Chehab , Rob Herring , linux-mediatek@lists.infradead.org, Jonathan Cameron , Matthias Brugger , Yingjoe Chen , Eddie Huang , "David S . Miller" , linux-arm-kernel@lists.infradead.org, linux-rtc@vger.kernel.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org On 26/02/2020 13:12:59+0800, Ran Bi wrote: > This patchset add support to MT2712 RTC. MT2712 RTC is a SoC based RTC > with different architecture compared to MT7622 RTC. > > Changes in V3: > 1. change struct mt2712_rtc > 2. use 100 as year offset > 3. change irq handle thread > 4. remove useless rtc time check > 5. not modify struct rtc_time in set_time/set_alarm functions > 6. modify rtc init function > 7. add power lost flag for get_time/set_time functions > 8. add .alarm_irq_enable callback > 9. set rtc->range_min and rtc->range_max to do range checking > 10. use fixed driver name > > Changes in V2: > 1. change minimum year from 1968 to 2000 > 2. fix lock usage > 3. stop to calculate useless day of week > 4. stop to set default date after init > 5. change the prefix of functions > 6. use devm_request_threaded_irq() to replace request_threaded_irq() > 7. add mt2712 rtc related files into MAINTAINERS > > Ran Bi (4): > bindings: rtc: add bindings for MT2712 RTC > rtc: add support for the MediaTek MT2712 RTC > arm64: dts: add RTC nodes for MT2712 > MAINTAINERS: add MT2712 RTC files > Applied 1,2 and 4, thanks! -- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com _______________________________________________ Linux-mediatek mailing list Linux-mediatek@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-mediatek 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 X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A4E43C0044D for ; Sun, 15 Mar 2020 02:18:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 82EF820637 for ; Sun, 15 Mar 2020 02:18:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727706AbgCOCS3 (ORCPT ); Sat, 14 Mar 2020 22:18:29 -0400 Received: from mslow2.mail.gandi.net ([217.70.178.242]:42224 "EHLO mslow2.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727520AbgCOCS3 (ORCPT ); Sat, 14 Mar 2020 22:18:29 -0400 X-Greylist: delayed 2387 seconds by postgrey-1.27 at vger.kernel.org; Sat, 14 Mar 2020 22:18:27 EDT Received: from relay10.mail.gandi.net (unknown [217.70.178.230]) by mslow2.mail.gandi.net (Postfix) with ESMTP id 27F5B3A3405; Sat, 14 Mar 2020 12:26:29 +0000 (UTC) Received: from localhost (lfbn-lyo-1-9-35.w86-202.abo.wanadoo.fr [86.202.105.35]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay10.mail.gandi.net (Postfix) with ESMTPSA id C566A240009; Sat, 14 Mar 2020 12:24:55 +0000 (UTC) Date: Sat, 14 Mar 2020 13:24:55 +0100 From: Alexandre Belloni To: Ran Bi Cc: Rob Herring , Matthias Brugger , Alessandro Zummo , Mark Rutland , Mauro Carvalho Chehab , "David S . Miller" , Greg Kroah-Hartman , Jonathan Cameron , Linus Walleij , Nicolas Ferre , linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, srv_heupstream@mediatek.com, YT Shen , Eddie Huang , Yingjoe Chen , Flora Fu , Sean Wang Subject: Re: [PATCH v3 0/4] Add Support for MediaTek MT2712 RTC Message-ID: <20200314122455.GC4518@piout.net> References: <20200226051303.22560-1-ran.bi@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200226051303.22560-1-ran.bi@mediatek.com> Sender: linux-rtc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rtc@vger.kernel.org On 26/02/2020 13:12:59+0800, Ran Bi wrote: > This patchset add support to MT2712 RTC. MT2712 RTC is a SoC based RTC > with different architecture compared to MT7622 RTC. > > Changes in V3: > 1. change struct mt2712_rtc > 2. use 100 as year offset > 3. change irq handle thread > 4. remove useless rtc time check > 5. not modify struct rtc_time in set_time/set_alarm functions > 6. modify rtc init function > 7. add power lost flag for get_time/set_time functions > 8. add .alarm_irq_enable callback > 9. set rtc->range_min and rtc->range_max to do range checking > 10. use fixed driver name > > Changes in V2: > 1. change minimum year from 1968 to 2000 > 2. fix lock usage > 3. stop to calculate useless day of week > 4. stop to set default date after init > 5. change the prefix of functions > 6. use devm_request_threaded_irq() to replace request_threaded_irq() > 7. add mt2712 rtc related files into MAINTAINERS > > Ran Bi (4): > bindings: rtc: add bindings for MT2712 RTC > rtc: add support for the MediaTek MT2712 RTC > arm64: dts: add RTC nodes for MT2712 > MAINTAINERS: add MT2712 RTC files > Applied 1,2 and 4, thanks! -- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com 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 X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5D5A0C0044D for ; Sat, 14 Mar 2020 12:26:45 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 25BD320771 for ; Sat, 14 Mar 2020 12:26:45 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Z6pPEdGd" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 25BD320771 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bootlin.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=kzy841WcqFkTM1EzoF9Jb9auMGoGLhUzoR4x/eVBYO0=; b=Z6pPEdGdFFFWfz NqNP2eQrirQlALcC0/sn7sYNieMvC03Ni4cauUtt1kR+due+uV3CmtGV9B/YcLE/rCms587KeDCQK cK1L0LVxcJ33lidIo2UsgnzNzowBM4sOaMs7jZOYvJ1P3z6tnzHmwxCWTwYWuxRcelwOvvm/GC7dI St/BfXloXTdP0uDmIVUfvAECzCgjTMDyjZNg5XaCCW78bq2YjO7xLTNSI/K3rZ2GrAV3P7gqvlHs7 Uzlf2B98kmoXD+Cth88ZTLwRdNa3k6V/qRy9qWAYC2Y52j9T7zx9/J1ozHpkdPBnPqJWWGYpvHoyB Z/8MBZ8SA4zqs0O0ZkkQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jD5sJ-0003A4-WB; Sat, 14 Mar 2020 12:26:44 +0000 Received: from relay10.mail.gandi.net ([217.70.178.230]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jD5sG-00039R-2S; Sat, 14 Mar 2020 12:26:42 +0000 Received: from localhost (lfbn-lyo-1-9-35.w86-202.abo.wanadoo.fr [86.202.105.35]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay10.mail.gandi.net (Postfix) with ESMTPSA id C566A240009; Sat, 14 Mar 2020 12:24:55 +0000 (UTC) Date: Sat, 14 Mar 2020 13:24:55 +0100 From: Alexandre Belloni To: Ran Bi Subject: Re: [PATCH v3 0/4] Add Support for MediaTek MT2712 RTC Message-ID: <20200314122455.GC4518@piout.net> References: <20200226051303.22560-1-ran.bi@mediatek.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200226051303.22560-1-ran.bi@mediatek.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200314_052640_251559_9F4B9375 X-CRM114-Status: GOOD ( 11.94 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Alessandro Zummo , YT Shen , Flora Fu , srv_heupstream@mediatek.com, devicetree@vger.kernel.org, Greg Kroah-Hartman , Linus Walleij , Sean Wang , linux-kernel@vger.kernel.org, Mauro Carvalho Chehab , Rob Herring , linux-mediatek@lists.infradead.org, Jonathan Cameron , Matthias Brugger , Yingjoe Chen , Eddie Huang , "David S . Miller" , linux-arm-kernel@lists.infradead.org, linux-rtc@vger.kernel.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 26/02/2020 13:12:59+0800, Ran Bi wrote: > This patchset add support to MT2712 RTC. MT2712 RTC is a SoC based RTC > with different architecture compared to MT7622 RTC. > > Changes in V3: > 1. change struct mt2712_rtc > 2. use 100 as year offset > 3. change irq handle thread > 4. remove useless rtc time check > 5. not modify struct rtc_time in set_time/set_alarm functions > 6. modify rtc init function > 7. add power lost flag for get_time/set_time functions > 8. add .alarm_irq_enable callback > 9. set rtc->range_min and rtc->range_max to do range checking > 10. use fixed driver name > > Changes in V2: > 1. change minimum year from 1968 to 2000 > 2. fix lock usage > 3. stop to calculate useless day of week > 4. stop to set default date after init > 5. change the prefix of functions > 6. use devm_request_threaded_irq() to replace request_threaded_irq() > 7. add mt2712 rtc related files into MAINTAINERS > > Ran Bi (4): > bindings: rtc: add bindings for MT2712 RTC > rtc: add support for the MediaTek MT2712 RTC > arm64: dts: add RTC nodes for MT2712 > MAINTAINERS: add MT2712 RTC files > Applied 1,2 and 4, thanks! -- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel