Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp2032991ybh; Sun, 8 Mar 2020 20:09:03 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvCsyQTW9k1OsePrbpQ4UJWrp7ZPh5/ebKvvS9zWUZZbEVDQ7YcKr90PBMzXNjZLLtPJCHc X-Received: by 2002:aca:47c8:: with SMTP id u191mr10140436oia.17.1583723343883; Sun, 08 Mar 2020 20:09:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583723343; cv=none; d=google.com; s=arc-20160816; b=VMsrWtG8qZG3wpLbHhPOPpfmJa5GwES6xCxEAg42W32n3I/kQfjY/QgvgPe+WWMtUs XI7SpQWHXRaewuXMO5bCZQyAFbtVK4BRJD/B3vGJrdprbO/fbpjowJAJWDMPmse0FCFA WOp91gxtsAwSw1TR+LfeifNFDfFbIe8PdVSqspxXXfCNZzW7YW+KwCkKZb1BTGyRKviG 49/7xTedhYUbAvdnDRokadiCuB2vNOBznuY1phRXQLNMhof9gBi5e7xzdmCrIwIZRAiR I/Q3WndWbnHC0O7ReknhSwK2D8W2m8AJpXByZsc397JjaR57SFzr9eSQ6xB2HhAba8TP e2Bw== 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=dVRMX7HzacB89Rfs5D6p0q4PZANziX89+dXutatF4V0=; b=uyDKfjctUOCF6mAGCI0EB/GEaNWuGaIvtv+cWhypqAPfUw7p1wIzfAn0+SY+Y6SxL/ 0QfxgHyTl1zHr2I55xOH64JpQXbMamuzlIbfsXJzjrkdtrvofp6cJZlUzRkUKpEHVvue 2soHU2YRiXFC3RAw4HG/StKZ8yZnHJgiLoK951UB6jClNdCADlp9xWMzowKG4MPoZr5n 1DoP/KMOT8W+oBybXmj95DARZS1+9EfxyxF/12gRdlbWj51W9+Ay7vXEKyKZiIZHaDul 5IPxXggr7/0PzvsmnN/aQXKhm3/YC1BUVHgfDIQjofxJLcUZIRz5fBFyD+jWvKnAGwxN 2Kxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=kTl4R+qa; 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 j8si75319oib.260.2020.03.08.20.08.51; Sun, 08 Mar 2020 20:09:03 -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; dkim=pass header.i=@mediatek.com header.s=dk header.b=kTl4R+qa; 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 S1726490AbgCICdg (ORCPT + 99 others); Sun, 8 Mar 2020 22:33:36 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:31131 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726363AbgCICdf (ORCPT ); Sun, 8 Mar 2020 22:33:35 -0400 X-UUID: 1e79d5a4c0cf488b84d112d6a33cdc61-20200309 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=dVRMX7HzacB89Rfs5D6p0q4PZANziX89+dXutatF4V0=; b=kTl4R+qack+CW/5g0o7i/btiiRSIyCynqSsAVQoowR8r9lP3+YnZ5/ND9oPwEfJ2Yn5Zszt6WCDR3ltv4Y2xzN+k72FoJxF2g+x1EZHHJby81EYVxpfwVxNwZHKYtJ2Ys4awG/PiYG6s4OzXPR/VaHmqcSMK9E1qrd9vMkmCUzw=; X-UUID: 1e79d5a4c0cf488b84d112d6a33cdc61-20200309 Received: from mtkcas09.mediatek.inc [(172.21.101.178)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 116088916; Mon, 09 Mar 2020 10:33:30 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs05n2.mediatek.inc (172.21.101.140) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Mon, 9 Mar 2020 10:32:26 +0800 Received: from [172.21.77.4] (172.21.77.4) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Mon, 9 Mar 2020 10:30:47 +0800 Message-ID: <1583721209.28755.29.camel@mtksdaap41> Subject: Re: [PATCH v8 4/5] rtc: mt6397: Add support for the MediaTek MT6358 RTC From: Yingjoe Chen To: Ran Bi CC: Nicolas Boichat , 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 , , Sebastian Reichel Date: Mon, 9 Mar 2020 10:33:29 +0800 In-Reply-To: <1583393876.8521.15.camel@mhfsdcap03> 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> <1583393876.8521.15.camel@mhfsdcap03> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 MIME-Version: 1.0 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 T24gVGh1LCAyMDIwLTAzLTA1IGF0IDE1OjM3ICswODAwLCBSYW4gQmkgd3JvdGU6DQo+IEhpLA0K PiANCj4gT24gV2VkLCAyMDIwLTAzLTA0IGF0IDIwOjU5ICswODAwLCBOaWNvbGFzIEJvaWNoYXQg d3JvdGU6DQo+ID4gSGksDQo+ID4gDQo+ID4gT24gTW9uLCBGZWIgMTcsIDIwMjAgYXQgMTE6NTIg QU0gUmFuIEJpIDxyYW4uYmlAbWVkaWF0ZWsuY29tPiB3cm90ZToNCj4gPiA+DQo+ID4gPiBPbiBU dWUsIDIwMjAtMDItMDQgYXQgMDA6NTAgKzA4MDAsIFlpbmdqb2UgQ2hlbiB3cm90ZToNCg0KPC4u Li4+DQoNCj4gPiA+ID4NCj4gPiA+ID4gUHV0dGluZyB0aGVzZSBpbiBoZWFkZXIgZmlsZSBkb2Vz bid0IGxvb2tzIHJpZ2h0IHRvIG1lLg0KPiA+ID4gPiBXaG8gbmVlZCB0aGlzPyBjYW4geW91IG1v dmUgdGhlbSBiYWNrIHRvIHJ0Yy1tdDYzOTcuYz8NCj4gPiA+ID4gSm9lLkMNCj4gPiA+ID4NCj4g PiA+DQo+ID4gPiBUaGlzIGNvdWxkIGFsc28gZWZmZWN0IGtlcm5lbC9kcml2ZXJzL3Bvd2VyL3Jl c2V0L210NjMyMy1wb3dlcm9mZi5jDQo+ID4gPiB3aGljaCB1c2luZyBzYW1lIHJlZ2lvbiBvZiBS VEMgcmVnaXN0ZXJzLg0KPiA+ID4gVGhlcmUgYXJlIDIgd2F5cyBvZiBtb2RpZmljYXRpb246DQo+ ID4gPiAxLiBrZXJuZWwvZHJpdmVycy9ydGMvcnRjLW10NjM5Ny5jIGltcGxlbWVudCBkb19wd3Jv ZmYg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