Message ID | 20230720012826.430026-1-ychuang570808@gmail.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 5EA62C001DE for <linux-arm-kernel@archiver.kernel.org>; Thu, 20 Jul 2023 01:29:02 +0000 (UTC) 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=hzRRX+rHlqj3JASQbxsbirH9jisDxmvR3C5R5tBf+Lg=; b=tHwuAQ+xEJmNlc M7Mzn41IvlsrYXbLx0jsNFdJJXtuHLB+BD52a1CjvroEH2egwOPnMrgatJzXlxLOYvM+WtUpOL3Sc f/N9atmgFZHfjO8m2gqH51O6rsvIK/MPM2Y0waY7VavtDHbnbN2VUOJjL2VcNySERisLHSsP1XQ0s FauEClaooZV/vmm3rSAxxAtefPmLrSw2zEAPq0SdyzovwkzWpx+LhcxjnP6FsN86tD3l1xsslFkuQ KzxGg7ICP7EA+L/v5UsapaS2o0DApWaJSJu9jGfxdZXbaDv48YmTmqfajQFdPpPFvxyfta2Uor7L1 vi/QOrE6XRBpgQFiuZng==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qMITA-009SMk-0h; Thu, 20 Jul 2023 01:28:40 +0000 Received: from mail-pl1-x634.google.com ([2607:f8b0:4864:20::634]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qMIT6-009SL2-1R for linux-arm-kernel@lists.infradead.org; Thu, 20 Jul 2023 01:28:38 +0000 Received: by mail-pl1-x634.google.com with SMTP id d9443c01a7336-1b89cfb4571so1862265ad.3 for <linux-arm-kernel@lists.infradead.org>; Wed, 19 Jul 2023 18:28:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689816513; x=1690421313; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=RLL2tr+LIqX1NO/Pc6Wrphl4U7IYBQOy7XNovYEZclQ=; b=GPSmmtDPWNsIkTZDwpeml90XUUsdUDNJLkiIu7LZuUkn/gywuhX58ThYa/svu0oz+z sdV3nprLThqbBBFc/9TgUzZY45eDde3YlmYZCVhugTuH54XKHfTtB25pwNW/UK+p1YVa vUsPO4qXqk+AjR/dy1+4roSJ26nLT587NiVZmEIBwTKVdDR8Ok27yR/vL4rjIZ1XhOH9 VICMuvFIiBRzoCT1XxLDTHogttTNCCQijGbXY3MHAcICmlVI5co1xBLJbbQTKdvOX9Ns xox8heOEOr86J0ZD8mgwKXRyygJvK8gOZONSOxB8hi5qExMcwOLCngYs82t6BdYcEFxv z3HA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689816513; x=1690421313; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=RLL2tr+LIqX1NO/Pc6Wrphl4U7IYBQOy7XNovYEZclQ=; b=aV/DnHt8xAJAuaiM8Ekm7HDNaGlFZMtokgfyPH3pMol8W2VoHHenLihlgjq77XB6EJ 6zQNgCRWy/CobwNjnCdJxr+pw4QWyr9N4PoABTwIJgEhAoh7Jvb+FfJOsMBP8X3SabXQ MEFmkT+as1TDrGaojJjpJIZRJU7AYVi3vcrwXmFVWD6OcCtwlMhNM+WtuCT+4nAkTM83 vIdgX2X3skGKtaIb79bKxwbzoQF9ddRhV0+shjIE1Sg+S4WBmar1x+1pvXtzD5yepXfi NusgzDpuki2QJNtndfPf/I1vGpwaoEl7hG2GOaWjZQKLy8u6MvMKWwOV674rraCG9ks7 KOAw== X-Gm-Message-State: ABy/qLaqBRfE6w9wIutiO+dABWr8bJJAJMCRhA8/9clPY3bCHcmTyGNP UEQaD+NPW3+T+k2wCqEzYcM= X-Google-Smtp-Source: APBJJlH7o+eExptczkCECKURCD9Em0bpUiO2dPHusBQmDrgRDRdwQxGXlsePstVPgqTqvEZNkiOSfg== X-Received: by 2002:a17:902:cecd:b0:1b2:1a79:147d with SMTP id d13-20020a170902cecd00b001b21a79147dmr2551275plg.2.1689816513179; Wed, 19 Jul 2023 18:28:33 -0700 (PDT) Received: from a28aa0606c51.. (60-250-192-107.hinet-ip.hinet.net. [60.250.192.107]) by smtp.gmail.com with ESMTPSA id jc18-20020a17090325d200b001b1a2c14a4asm4673998plb.38.2023.07.19.18.28.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Jul 2023 18:28:32 -0700 (PDT) From: Jacky Huang <ychuang570808@gmail.com> To: a.zummo@towertech.it, alexandre.belloni@bootlin.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org Cc: linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, soc@kernel.org, mjchen@nuvoton.com, schung@nuvoton.com, Jacky Huang <ychuang3@nuvoton.com> Subject: [PATCH 0/3] Add support for nuvoton ma35d1 rtc controller Date: Thu, 20 Jul 2023 01:28:23 +0000 Message-Id: <20230720012826.430026-1-ychuang570808@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230719_182836_490463_1DB75009 X-CRM114-Status: GOOD ( 12.06 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
Add support for nuvoton ma35d1 rtc controller
|
expand
|
From: Jacky Huang <ychuang3@nuvoton.com> This patch series adds the rtc driver for the nuvoton ma35d1 ARMv8 SoC. It includes DT binding documentation, the ma35d1 rtc driver, and device tree updates. The ma35d1 rtc controller provides real-time and calendar messaging capabilities. It supports programmable time tick and alarm match interrupts. The time and calendar messages are expressed in BCD format. This rtc driver has been tested on the ma35d1 som board with Linux 6.5-rc2. Jacky Huang (3): dt-bindings: rtc: Document nuvoton ma35d1 rtc driver arm64: dts: nuvoton: Add rtc for ma35d1 rtc: Add driver for nuvoton ma35d1 rtc controller .../bindings/rtc/nuvoton,ma35d1-rtc.yaml | 45 +++ .../boot/dts/nuvoton/ma35d1-iot-512m.dts | 4 + .../boot/dts/nuvoton/ma35d1-som-256m.dts | 4 + arch/arm64/boot/dts/nuvoton/ma35d1.dtsi | 8 + drivers/rtc/Kconfig | 11 + drivers/rtc/Makefile | 1 + drivers/rtc/rtc-ma35d1.c | 371 ++++++++++++++++++ 7 files changed, 444 insertions(+) create mode 100644 Documentation/devicetree/bindings/rtc/nuvoton,ma35d1-rtc.yaml create mode 100644 drivers/rtc/rtc-ma35d1.c