Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp5385222ybf; Wed, 4 Mar 2020 23:39:53 -0800 (PST) X-Google-Smtp-Source: ADFU+vvJDoyPLmmLQLQEeROZHSE9Zd+r6JGxa8ifWzm0pQc8do3Q9GrHHsFO4T5buMgR50oJ+hDg X-Received: by 2002:aca:accc:: with SMTP id v195mr4822637oie.168.1583393993685; Wed, 04 Mar 2020 23:39:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583393993; cv=none; d=google.com; s=arc-20160816; b=pYG7fUv0LNsnesi5WWUYZb9A4IAWj9EkCM/g0PaoCfNWnboYmcHdRHdqAEymG8G3M6 5KstoFFlxHOYKxLwnspoY1Yf7FFRqOcjTS/sah9FLOMdUOvud3cB/a6jt6705AxWB7jg O7HtAKuxEGwfVbBttODw3+QWGAcxWc3Wp4BASgxWpuHNZtY2sT+GdxtjGN+HTSe1otiS CXBU/kcp/op0+NfML2qW9HjXEnE66H+Pns8Sk4hLldXWARn/ISdKVwSq50s7EyQ3EyFY M06VGZLyFRjw19A7oNAaCJreq7Zek4/9c2dX2Hjhg6erS7paFuQHcPi+JWZvAjL+VtGB HEkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=UzudwNhVDUcthlnPvlM184xOjHlnmrBmdjwOXd3Z/P0=; b=ynNq+ydg7BuPsAHLnnw3JyWA5HIi095t7AknjB940wwaA4Rh5x/sa17x8+YdmdiwIB GhtaNIWbbJTMcyLEU5fQhWmmMeuEgu/EAzYS2Ueo1+H4bzKt6CgmnlmkNF01bFQ+S1rI NUVmAVJ9KlLh9xSCNG9JGupFcDUINPqtoRBOWzq/yIozcKO6Aj4YmgfPZymklM4+mt9N bG1a5QJ5kgT1Vx9TdDbIxAxyxDUWROXCEl7dgnNPIP32Z0TOM/v5PW4aWBZcynj/UeO5 g+dIYTDO8cnI2Tu+8jSdvvIfmzVu7chYNV5RKfEakr9rj3U1b5Rw0mn9R69ZuLG0LcmD tNAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=XIuAmSG7; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v3si3227590otn.140.2020.03.04.23.39.41; Wed, 04 Mar 2020 23:39:53 -0800 (PST) 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; dkim=pass header.i=@mediatek.com header.s=dk header.b=XIuAmSG7; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725914AbgCEHiV (ORCPT + 99 others); Thu, 5 Mar 2020 02:38:21 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:63558 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725844AbgCEHiV (ORCPT ); Thu, 5 Mar 2020 02:38:21 -0500 X-UUID: 269bfd075dd7464d91ef9b33cf3a5616-20200305 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:MIME-Version:Content-Type:References:In-Reply-To:Date:CC:To:From:Subject:Message-ID; bh=UzudwNhVDUcthlnPvlM184xOjHlnmrBmdjwOXd3Z/P0=; b=XIuAmSG7Ph1VJxD0l2I7ChitABpbQ/Z7T99BCoxAhQz7CxA9COYfCEwsB4Tv43Rvz9cFzzcybO2pLvCOoonUoIXcLAWKVK/t8666FibChV19oNGj5eT2UT+i1puY9hCf30+YFmO+8z2vRPzn+2k8mBgq/x45jcf43zkB80iKph8=; X-UUID: 269bfd075dd7464d91ef9b33cf3a5616-20200305 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1521207152; Thu, 05 Mar 2020 15:38:13 +0800 Received: from MTKCAS36.mediatek.inc (172.27.4.186) by mtkmbs02n2.mediatek.inc (172.21.101.101) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 5 Mar 2020 15:35:30 +0800 Received: from [10.17.3.153] (10.17.3.153) by MTKCAS36.mediatek.inc (172.27.4.170) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Thu, 5 Mar 2020 15:37:00 +0800 Message-ID: <1583393876.8521.15.camel@mhfsdcap03> Subject: Re: [PATCH v8 4/5] rtc: mt6397: Add support for the MediaTek MT6358 RTC From: Ran Bi To: Nicolas Boichat CC: Yingjoe Chen , Hsin-Hsiung Wang , Lee Jones , "Rob Herring" , Alexandre Belloni , Matthias Brugger , Mark Rutland , "Alessandro Zummo" , Josef Friedl , srv_heupstream , Frank Wunderlich , Greg Kroah-Hartman , Sean Wang , lkml , Richard Fontana , Devicetree List , "moderated list:ARM/Mediatek SoC support" , linux-arm Mailing List , Thomas Gleixner , Eddie Huang , Date: Thu, 5 Mar 2020 15:37:56 +0800 In-Reply-To: References: <1580730044-30501-1-git-send-email-hsin-hsiung.wang@mediatek.com> <1580730044-30501-5-git-send-email-hsin-hsiung.wang@mediatek.com> <1580748607.31376.3.camel@mtksdaap41> <1581911502.20099.13.camel@mhfsdcap03> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 MIME-Version: 1.0 X-TM-SNTS-SMTP: F43A3E10FD4B782182AA4645396F770C2D8067640B573F7D3D741AB006ECAD6B2000:8 X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGksDQoNCk9uIFdlZCwgMjAyMC0wMy0wNCBhdCAyMDo1OSArMDgwMCwgTmljb2xhcyBCb2ljaGF0 IHdyb3RlOg0KPiBIaSwNCj4gDQo+IE9uIE1vbiwgRmViIDE3LCAyMDIwIGF0IDExOjUyIEFNIFJh biBCaSA8cmFuLmJpQG1lZGlhdGVrLmNvbT4gd3JvdGU6DQo+ID4NCj4gPiBPbiBUdWUsIDIwMjAt MDItMDQgYXQgMDA6NTAgKzA4MDAsIFlpbmdqb2UgQ2hlbiB3cm90ZToNCj4gPiA+ID4gZGlmZiAt LWdpdCBhL2luY2x1ZGUvbGludXgvbWZkL210NjM5Ny9ydGMuaCBiL2luY2x1ZGUvbGludXgvbWZk L210NjM5Ny9ydGMuaA0KPiA+ID4gPiBpbmRleCBmODRiOTE2Li5mZmZlMzRhIDEwMDY0NA0KPiA+ ID4gPiAtLS0gYS9pbmNsdWRlL2xpbnV4L21mZC9tdDYzOTcvcnRjLmgNCj4gPiA+ID4gKysrIGIv aW5jbHVkZS9saW51eC9tZmQvbXQ2Mzk3L3J0Yy5oDQo+ID4gPiA+IEBAIC0xOCw3ICsxOCw4IEBA DQo+ID4gPiA+ICAjZGVmaW5lIFJUQ19CQlBVX0NCVVNZICAgICAgICAgQklUKDYpDQo+ID4gPiA+ ICAjZGVmaW5lIFJUQ19CQlBVX0tFWSAgICAgICAgICAgICgweDQzIDw8IDgpDQo+ID4gPiA+DQo+ ID4gPiA+IC0jZGVmaW5lIFJUQ19XUlRHUiAgICAgICAgICAgICAgMHgwMDNjDQo+ID4gPiA+ICsj ZGVmaW5lIFJUQ19XUlRHUl9NVDYzNTggICAgICAgMHgzYQ0KPiA+ID4gPiArI2RlZmluZSBSVENf V1JUR1JfTVQ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