From patchwork Tue Jul 2 03:21:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ran Bi X-Patchwork-Id: 11027121 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2939613B1 for ; Tue, 2 Jul 2019 03:21:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1191A28793 for ; Tue, 2 Jul 2019 03:21:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0530B28852; Tue, 2 Jul 2019 03:21:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id BA4D528793 for ; Tue, 2 Jul 2019 03:21:50 +0000 (UTC) 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:MIME-Version:Message-ID:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=mzFQRXzVp5rbkYXjHznchEnCYYu82yzS8KsGjQVfDF4=; b=qt4Rmgg0YXTRko zPdtUxveeUC7qWTNYvnamEUB0RANGNdwBzDvVRSfkfxVIQpA8bx+mMyYpO7Wh5+YPhVrJ0nj6BC8j 78+ekNi0LORUPJwga6CAjsaC8F+7MiEoEK76/a7SivS1ye1PmSJdcPMid8KyOXBLZvWqcEGSaMpbT B3ziLx1eId/OAkpLCpFC2bDv85MQ92kLgSXDGzYreeoiXpdqNqp4fCg3ovskYaevcoSZQ4hlztfuZ IAlhpidqwm3Y+j8llj7eF1aOFzSBnlxxxb7G0iuyH1P03xJE0VGD1og89Oepf3GXwse7Cp/9kS2wQ 6t5Aq7jvrJ3co5akjqSw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hi9Mc-0004RS-5J; Tue, 02 Jul 2019 03:21:50 +0000 Received: from mailgw01.mediatek.com ([216.200.240.184]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hi9MX-0004PG-T0; Tue, 02 Jul 2019 03:21:47 +0000 X-UUID: 1646628bccba4d598ef965b72907cbf7-20190701 X-UUID: 1646628bccba4d598ef965b72907cbf7-20190701 Received: from mtkcas66.mediatek.inc [(172.29.193.44)] by mailgw01.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLS) with ESMTP id 464700893; Mon, 01 Jul 2019 19:21:38 -0800 Received: from MTKMBS07N2.mediatek.inc (172.21.101.141) by MTKMBS62DR.mediatek.inc (172.29.94.18) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Mon, 1 Jul 2019 20:21:37 -0700 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs07n2.mediatek.inc (172.21.101.141) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 2 Jul 2019 11:21:35 +0800 Received: from localhost.localdomain (10.17.3.153) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Tue, 2 Jul 2019 11:21:34 +0800 From: Ran Bi To: Alexandre Belloni , Rob Herring , Matthias Brugger Subject: [PATCH 0/3] Add Support for MediaTek MT2712 RTC Date: Tue, 2 Jul 2019 11:21:17 +0800 Message-ID: <20190702032120.16539-1-ran.bi@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190701_202145_949194_87E3F485 X-CRM114-Status: UNSURE ( 7.92 ) X-CRM114-Notice: Please train this message. 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 , srv_heupstream@mediatek.com, devicetree@vger.kernel.org, Ran Bi , Sean Wang , linux-kernel@vger.kernel.org, Flora Fu , linux-mediatek@lists.infradead.org, YT Shen , Yingjoe Chen , Eddie Huang , linux-arm-kernel@lists.infradead.org, linux-rtc@vger.kernel.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This patchset add support to MT2712 RTC. MT2712 RTC is a SoC based RTC with different architecture compared to MT7622 RTC. Ran Bi (3): bindings: rtc: add bindings for MT2712 RTC rtc: Add support for the MediaTek MT2712 RTC arm64: dts: add rtc nodes for MT2712 .../devicetree/bindings/rtc/rtc-mt2712.txt | 14 + arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 6 + drivers/rtc/Kconfig | 10 + drivers/rtc/Makefile | 1 + drivers/rtc/rtc-mt2712.c | 495 ++++++++++++++++++ 5 files changed, 526 insertions(+) create mode 100644 Documentation/devicetree/bindings/rtc/rtc-mt2712.txt create mode 100644 drivers/rtc/rtc-mt2712.c