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=-3.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY,USER_AGENT_GIT 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 3747EC32754 for ; Thu, 1 Aug 2019 11:02:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 073A7214DA for ; Thu, 1 Aug 2019 11:02:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728065AbfHALBl (ORCPT ); Thu, 1 Aug 2019 07:01:41 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:4016 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726227AbfHALBl (ORCPT ); Thu, 1 Aug 2019 07:01:41 -0400 X-UUID: e74bd83137a940449891aed9a2be2cc6-20190801 X-UUID: e74bd83137a940449891aed9a2be2cc6-20190801 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0707 with TLS) with ESMTP id 1701189342; Thu, 01 Aug 2019 19:01:32 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs01n1.mediatek.inc (172.21.101.68) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 1 Aug 2019 19:01:34 +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; Thu, 1 Aug 2019 19:01:33 +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 v2 0/4] Add Support for MediaTek MT2712 RTC Date: Thu, 1 Aug 2019 19:01:18 +0800 Message-ID: <20190801110122.26834-1-ran.bi@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Sender: linux-rtc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rtc@vger.kernel.org This patchset add support to MT2712 RTC. MT2712 RTC is a SoC based RTC with different architecture compared to MT7622 RTC. 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 .../devicetree/bindings/rtc/rtc-mt2712.txt | 14 + MAINTAINERS | 2 + arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 6 + drivers/rtc/Kconfig | 10 + drivers/rtc/Makefile | 1 + drivers/rtc/rtc-mt2712.c | 444 ++++++++++++++++++ 6 files changed, 477 insertions(+) create mode 100644 Documentation/devicetree/bindings/rtc/rtc-mt2712.txt create mode 100644 drivers/rtc/rtc-mt2712.c -- 2.21.0