From patchwork Thu Jul 20 01:28:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacky Huang X-Patchwork-Id: 13319691 Return-Path: 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 6A159C001E0 for ; Thu, 20 Jul 2023 01:29:03 +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:References:In-Reply-To: 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: List-Owner; bh=IlZmGN5rJUL5mCYw6NpjmpXGKwNwmhzd54TKDZPqQWY=; b=MvvOVTe+/1Tkkk Tl/o+mWWUGLxn2caNCCTaNrHnhUfRyjckj1Os1HkxszlXwZ1gpV2nKdRctOnuiTQ6pgkWyWeQfwwV XP56Kz9QsycFNpT474X9mMK2og9oP4Mqk7BZi9o/hzQIVZllQyVlpC2K6XXGPThXobY5qa6uCnpwh S25JrfRqbKpnL9EEL9sPrweXJqqjwMVuNpsRY9HNzrbdNTPUHntcnA1YVjKFljitzBvUiRi7qNw9I 8oUvF55X5a4OwEq5H/Q637FaaX8DHbkeuat6m2calvKCeEcPs1BIZzV7Mw+YxVs1k2cY0Lb8/dL+O 7unnuRhNKWO2MCbvcbKQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qMITF-009SOP-2d; Thu, 20 Jul 2023 01:28:45 +0000 Received: from mail-pl1-x635.google.com ([2607:f8b0:4864:20::635]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qMIT7-009SLf-2P for linux-arm-kernel@lists.infradead.org; Thu, 20 Jul 2023 01:28:39 +0000 Received: by mail-pl1-x635.google.com with SMTP id d9443c01a7336-1b8bd586086so1869185ad.2 for ; Wed, 19 Jul 2023 18:28:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689816516; x=1690421316; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=PknmXnQirEOnubVOauabc0cJvIl8m6tNpWyxQZCD0N0=; b=HlYK066kywXFDcqXfpN2MS//uTAgfYqt5W28/6QC2VM5BWYvB9bkuxwbgRlpf1fMew Tm/pCbdMEnTe3tOBySqaUMHvkByNcNOlFFGdNmLrhU4bFI4TOTJGS2knR7XmWOHKbpoW /I+38ci00HljLjTLHrsLSNgjGqduuZlVU25broSFKNElvothWFoMJ0GGG4N9GDbZa/Zl nZGOHUmJPM8x9+tnsBOBKYEu8HcGaSGhp/4V5d/wjxEjYWzo8jZMH04YE/zRlgl3UbQc vLFf+m/2YS5qKN7Nf8ri2iyYAeRf+BcDIcQidasUU4L9RVBAyNJoZIwQUS7dcD5JOiAr rtWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689816516; x=1690421316; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=PknmXnQirEOnubVOauabc0cJvIl8m6tNpWyxQZCD0N0=; b=XWIx55emge1COapjtUwWT64AxSQ8eLp3B6ze6PaK/xSoCjTEVKuqNGblHgAypSwCPC yI8vJFyi3u3FK2cp2V1IyPm9/eaQEwdB9RpTQ1M+ItBJUZFPPpHtgsKyNIvAMfjSm+5z YtxMd4mj6+vOqAjLQrC34z3L3nSTzGy3xTwo47zFzjvaWNzhocsI3AwPfmb57CKEtyFP Q2U0OntBmG2YjJEbl10kR8O4k276sQ/8b6MhUL56QwP0ZiY1qKBupblu5JImm9dwo84q G1CApwOfHV4DXkMqMjUjyBnKEVIA4/NSTs+acDAOiS+wngmoaUjNUZfVUxqbVh0t1pmw DNeA== X-Gm-Message-State: ABy/qLYTqQYmmM9x+1pWLEOMYXdoVOO7zb0Wlzp7LzsQi3shqI6FAfBv 1McBEVgtkDrcStLOlsp3pp0= X-Google-Smtp-Source: APBJJlGSks9Rg5tIlI14bZPE81Pyz9Tcv/KMpi5HUYJgRIUzBSJhe/UXuN78EoamwuQ5FKB1bcIDJw== X-Received: by 2002:a17:902:e548:b0:1b8:b29e:b47b with SMTP id n8-20020a170902e54800b001b8b29eb47bmr5402474plf.44.1689816515718; Wed, 19 Jul 2023 18:28:35 -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.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Jul 2023 18:28:35 -0700 (PDT) From: Jacky Huang 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 Subject: [PATCH 1/3] dt-bindings: rtc: Document nuvoton ma35d1 rtc driver Date: Thu, 20 Jul 2023 01:28:24 +0000 Message-Id: <20230720012826.430026-2-ychuang570808@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230720012826.430026-1-ychuang570808@gmail.com> References: <20230720012826.430026-1-ychuang570808@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230719_182837_785750_7852B335 X-CRM114-Status: GOOD ( 12.58 ) 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 From: Jacky Huang Add documentation to describe nuvoton ma35d1 rtc driver. Signed-off-by: Jacky Huang --- .../bindings/rtc/nuvoton,ma35d1-rtc.yaml | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 Documentation/devicetree/bindings/rtc/nuvoton,ma35d1-rtc.yaml diff --git a/Documentation/devicetree/bindings/rtc/nuvoton,ma35d1-rtc.yaml b/Documentation/devicetree/bindings/rtc/nuvoton,ma35d1-rtc.yaml new file mode 100644 index 000000000000..08c30f3018fb --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/nuvoton,ma35d1-rtc.yaml @@ -0,0 +1,45 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rtc/nuvoton,ma35d1-rtc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Nuvoton MA35D1 Read Time Clock + +maintainers: + - Min-Jen Chen + +properties: + compatible: + enum: + - nuvoton,ma35d1-rtc + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - clocks + +additionalProperties: false + +examples: + - | + #include + #include + rtc@40410000 { + compatible = "nuvoton,ma35d1-rtc"; + reg = <0x40410000 0x200>; + interrupts = ; + clocks = <&clk RTC_GATE>; + }; + +...