From patchwork Tue Jul 20 17:22:48 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Perier X-Patchwork-Id: 12388901 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=-8.7 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham 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 83D29C07E95 for ; Tue, 20 Jul 2021 17:24:59 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5171D61001 for ; Tue, 20 Jul 2021 17:24:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5171D61001 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :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=dVJBlUga1cUOzk4bWe1c+zkTbIgF9NWJPOjSfQ7D3ww=; b=FL9uUVmouTLvR0 p3si0jyPLpC3Vr5NydpdyZ478uQP5CxwfPzk8KU/asFHXKy7PTLPHawJuGQnUmf91isApbx29xx8P VFX/faEQHPkbgwMHrYeaJfkgFAJNfnMytWWzqpen2/AX+6dmhEEE96VnYD9sggXGzcZiUX0ecLt2R XzSI5vGcSz2BX1DyOiV3O1sDNnMiqwb+oe/ZJJmZYlG/UTIpbfYeBxh9ObhdErJXyGAhwk3a5dO1u VIn8wYMiz8BxtqdSFmcet4ZovXkVBVhPnddHXFGmIQCp381QQECVS8emEvW0xewKeVLdyO+9rt1Q8 O69CGkIqd2VcEjtm3HVQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m5tSd-00DdDo-5l; Tue, 20 Jul 2021 17:23:15 +0000 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m5tSa-00DdCp-16 for linux-arm-kernel@lists.infradead.org; Tue, 20 Jul 2021 17:23:13 +0000 Received: by mail-wm1-x32e.google.com with SMTP id q19-20020a05600c2e53b0290249f2904453so85768wmf.1 for ; Tue, 20 Jul 2021 10:23:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=TPW95lb64Ytz4tlki+ReqrdJoY3TpXfPxzeB+jbcK4Y=; b=h1Y58ykjJ3F4+1DP/PAnlI8gWSVOl7yqP+Zjdu+Eq+6VfN+V/iLgcCoKMicevOkFN4 K+KUS4uHakF0Mzf+otsFGbWWKb8+GcG3dvK4p01DwcxujstXxgwr7XWdD03t2X7KJvjw uEC4ONZ8+atnXbIWSOqv/04HxrE1GE4P5m3nt6lPW6fkq8EUvED232cK/OdjZHlMHTHo jrEz3UPr+H7zAJOl7z7mKUYfICSfHslwPwRNS/GphybWh0QnZEz3dve9DMJTmZ8TiWTz cPT1JV+qpyGxhnQvU7gB6I6kHPshk69vyyKd9GH7u20/4o9ux0Q+djiUrF85w6ZEta/l Q9sw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=TPW95lb64Ytz4tlki+ReqrdJoY3TpXfPxzeB+jbcK4Y=; b=EZNgxRRVQmWQmH/cLenfa2SE1Wl8jBBwq0jFfGqiVD5fw31MBLKVEOQAjEduyNDn5M vO5MpdQvVm+3njc4vs9c0hrDcwodhhkOIR5aj9sNfcY2zYV5ihoIkiELu4WTPIopUiJB v2XS2UuTZpfZIawkaeTV1gCcnPgb9i3ibkXQ3kwQW05dmxaikzqnoMiZ7Nlw3bNUME+3 QQGscGQ8Bb4jneZ19uU8FIgOzHChMhbQtZzhbR8eO90rhJqAS0eOkGiC2wIyyoXVahpl cZ8XcLGEExGUQT5VHdRnxV1cYsQJP3OssogCCWmnIT2LieA6lNAS6Cp40IKU7bB69mmi x+cg== X-Gm-Message-State: AOAM531UAdl0nLPjkF37A4twk2BVXC+i6eYvln6ftXmgx/GRcW6ulMuI LQ+bsJt5S+FIkLhWpOsTodQFyKrTpGY= X-Google-Smtp-Source: ABdhPJwjwPsBB+KxDoJoSPw9XBAyqXkyAd6N2QJC6zYOSs8VWb7t51bwWsBuGRMGyAoVQa8PpLbOOg== X-Received: by 2002:a05:600c:21d7:: with SMTP id x23mr32552240wmj.98.1626801789183; Tue, 20 Jul 2021 10:23:09 -0700 (PDT) Received: from debby (176-141-241-253.abo.bbox.fr. [176.141.241.253]) by smtp.gmail.com with ESMTPSA id y12sm8132439wmc.12.2021.07.20.10.23.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Jul 2021 10:23:08 -0700 (PDT) From: Romain Perier To: Alessandro Zummo , Alexandre Belloni , Daniel Palmer , Rob Herring Cc: linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 0/3] Add RTC for MStar SoCs Date: Tue, 20 Jul 2021 19:22:48 +0200 Message-Id: <20210720172251.4504-1-romain.perier@gmail.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210720_102312_110743_F9B7F350 X-CRM114-Status: GOOD ( 13.73 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This patches series adds a new driver for the RTC found in the Mstar MSC313e SoCs and newer. It adds a basic rtc driver, the corresponding devicetree bindings and its documentation. Daniel Palmer (1): rtc: Add support for the MSTAR MSC313 RTC Romain Perier (2): dt-bindings: rtc: Add Mstar MSC313e RTC devicetree bindings documentation ARM: dts: mstar: Add rtc device node .../bindings/rtc/mstar,msc313-rtc.yaml | 46 ++++ MAINTAINERS | 1 + arch/arm/boot/dts/mstar-v7.dtsi | 7 + drivers/rtc/Kconfig | 10 + drivers/rtc/Makefile | 1 + drivers/rtc/rtc-msc313.c | 246 ++++++++++++++++++ 6 files changed, 311 insertions(+) create mode 100644 Documentation/devicetree/bindings/rtc/mstar,msc313-rtc.yaml create mode 100644 drivers/rtc/rtc-msc313.c