Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp4481671ybv; Tue, 25 Feb 2020 21:13:56 -0800 (PST) X-Google-Smtp-Source: APXvYqwW5lXqdRppQS0GuTQoUuvPOnHSk27/wGBESPSs25vApdlp0HP5+u3wjb0jvRVg1/oAIr2X X-Received: by 2002:a9d:5888:: with SMTP id x8mr1508902otg.361.1582694035921; Tue, 25 Feb 2020 21:13:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582694035; cv=none; d=google.com; s=arc-20160816; b=L9ZrzT80gyJYvmvVc3OhxuF76pwj85hb4SyooM3ip60GxLB+yP/+CTHa8ZuypAHaJw VcNjEsNb2DklJWPuM3DsxTgc8NxEcUU/QgOJ2DNmetNF1hf0JfBqwR1B2EP3kZgh5Vn0 4nnkvNEMcAuRMvfvuSzatlKvtSlPC0qJTsCiA35VvnaXhgEjL66Nc4iaT0yES60zxvTD 8Emuw4zZT3V2HjiyaSlVFnqy2XMqGToCQGjyKJlt6ybfk9zLopfsADBm37P3TbaVl6Sy iXCDwQj7YYMw9Mz/VMOW8s//x9d4R42QeVzvAWS177NVrFqJMd4LqQ7sAqFJXbc6O02I sVhA== 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:message-id:date:subject:cc:to:from :dkim-signature; bh=DuV7mTzvMY/R1SC/6qPWzNUb/M2nXWcHc3YDd6kdvLU=; b=m2UAEbPqUZCq5NGZsKqYPYxwyTfsfMK/Nf5nPahnJ4bDhF4f//Ga51Y7r69V/lDbj9 4aRmVqvutlheNDuCoSYjmIt0dgQVDbd3J7gNK0u1eSKaZa8Ja55+3na3Fx6y6n1EBB/n DwGmnJAZuF4s2K1rMt2gbxe2DBdrV+4LyGs7u2YbqijIqGn8GeZIcAGPl4fk5PMfZ7i6 F77MhfrtAIaF64FvNBof7n0ywTTLQ9nK7QhvlovgxwQYSctV1DaNc7I3IsYmmRhQlMKm sQPM8RFGGU5UmnKubFQX64h5N/ZNmLX8vx1MAtuiXmF+wC8ym6RopXSBY4VpKzdlDIJF bOPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=WWhziTCG; 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 z14si569584oih.89.2020.02.25.21.13.44; Tue, 25 Feb 2020 21:13:55 -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=WWhziTCG; 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 S1727011AbgBZFNd (ORCPT + 99 others); Wed, 26 Feb 2020 00:13:33 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:55509 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725916AbgBZFN2 (ORCPT ); Wed, 26 Feb 2020 00:13:28 -0500 X-UUID: f4371a772188448f8b3a006146ab3bde-20200226 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=DuV7mTzvMY/R1SC/6qPWzNUb/M2nXWcHc3YDd6kdvLU=; b=WWhziTCGJ/UsFRaGwCR3lYVRoDssOpCDlq7PNmM9AFXEmPnqvUEEABVLeAF1Qwj9hmU/OMccS652z1Nan+xU/F94K1F9C42pf6SvzeevmNnKqogI0vmmdSdfBlJhZ2IIZTXaUZz85sCHRCIpXMaZzpUI3A6fyzh1Zyfo+jl0alE=; X-UUID: f4371a772188448f8b3a006146ab3bde-20200226 Received: from mtkcas08.mediatek.inc [(172.21.101.126)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1795520357; Wed, 26 Feb 2020 13:13:20 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs01n2.mediatek.inc (172.21.101.79) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Wed, 26 Feb 2020 13:09:11 +0800 Received: from localhost.localdomain (10.17.3.153) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Wed, 26 Feb 2020 13:13:25 +0800 From: Ran Bi To: Alexandre Belloni , Rob Herring , Matthias Brugger CC: Alessandro Zummo , Mark Rutland , Mauro Carvalho Chehab , "David S . Miller" , Greg Kroah-Hartman , Jonathan Cameron , Linus Walleij , Nicolas Ferre , , , , , , , YT Shen , Eddie Huang , Yingjoe Chen , Flora Fu , Sean Wang , Ran Bi Subject: [PATCH v3 2/4] rtc: add support for the MediaTek MT2712 RTC Date: Wed, 26 Feb 2020 13:13:01 +0800 Message-ID: <20200226051303.22560-3-ran.bi@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20200226051303.22560-1-ran.bi@mediatek.com> References: <20200226051303.22560-1-ran.bi@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: 5E48E4219BF1F7E42CFB405BCFEA4DAC90F39100BED726D22D012C5B8FE0CCA12000: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 VGh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