From patchwork Mon Jul 15 14:17:19 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Biju Das X-Patchwork-Id: 11044263 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 5352414F6 for ; Mon, 15 Jul 2019 14:22:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 41D16203B9 for ; Mon, 15 Jul 2019 14:22:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3FC6B28516; Mon, 15 Jul 2019 14:22:55 +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,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from mail.linuxfoundation.org (mail.linuxfoundation.org [140.211.169.12]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id DE862203B9 for ; Mon, 15 Jul 2019 14:22:54 +0000 (UTC) Received: from mail.linux-foundation.org (localhost [127.0.0.1]) by mail.linuxfoundation.org (Postfix) with ESMTP id 639A0EE3; Mon, 15 Jul 2019 14:22:53 +0000 (UTC) X-Original-To: cip-dev@lists.cip-project.org Delivered-To: cip-dev@mail.linuxfoundation.org Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id BF96EEE3 for ; Mon, 15 Jul 2019 14:22:51 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from relmlie6.idc.renesas.com (relmlor2.renesas.com [210.160.252.172]) by smtp1.linuxfoundation.org (Postfix) with ESMTP id 5269988E for ; Mon, 15 Jul 2019 14:22:51 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.62,493,1554735600"; d="scan'208";a="21232393" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie6.idc.renesas.com with ESMTP; 15 Jul 2019 23:22:50 +0900 Received: from be1yocto.ree.adwin.renesas.com (unknown [172.29.43.62]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id 85EBB400FC05; Mon, 15 Jul 2019 23:22:49 +0900 (JST) From: Biju Das To: cip-dev@lists.cip-project.org Date: Mon, 15 Jul 2019 15:17:19 +0100 Message-Id: <1563200245-30331-1-git-send-email-biju.das@bp.renesas.com> X-Mailer: git-send-email 2.7.4 Cc: Biju Das Subject: [cip-dev] [PATCH 4.19.y-cip 0/6] Add RTC support X-BeenThere: cip-dev@lists.cip-project.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: cip-dev-bounces@lists.cip-project.org Errors-To: cip-dev-bounces@lists.cip-project.org X-Virus-Scanned: ClamAV using ClamSMTP This patch series add RTC support for EK874 platform. This patch series is based on linux-4.19.y-cip and all the patches in this series are cherry-picked from linux rc tree. This patch series is depend on the below patch series https://patchwork.kernel.org/project/cip-dev/list/?series=145931 Alexandre Belloni (2): rtc: nvmem: use devm_nvmem_register() rtc: nvmem: remove nvmem from struct rtc_device Biju Das (4): dt-bindings: rtc: add rx8571 compatible rtc: rx8581: Add support for Epson rx8571 RTC arm64: defconfig: enable RX-8581 config option arm64: dts: renesas: r8a774c0-cat874: add RTC support .../devicetree/bindings/trivial-devices.txt | 1 + arch/arm64/boot/dts/renesas/r8a774c0-cat874.dts | 19 ++++ arch/arm64/configs/defconfig | 1 + drivers/rtc/Kconfig | 5 +- drivers/rtc/nvmem.c | 29 ++---- drivers/rtc/rtc-rx8581.c | 114 +++++++++++++++++++-- include/linux/rtc.h | 1 - 7 files changed, 139 insertions(+), 31 deletions(-)