Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp8926773rwp; Wed, 19 Jul 2023 18:32:38 -0700 (PDT) X-Google-Smtp-Source: APBJJlEBQM7arYAxgS2MCYXT8zE/k0n5sXZ5dSlx3qwNldc7dmGhjDtrSB1o7a/CP/sbC8ousocc X-Received: by 2002:a17:907:a0d3:b0:994:54af:e27d with SMTP id hw19-20020a170907a0d300b0099454afe27dmr3137561ejc.29.1689816758138; Wed, 19 Jul 2023 18:32:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689816758; cv=none; d=google.com; s=arc-20160816; b=eqgtd0klqLPyDthOxfivXIyVJqfZ9CnnzTHh2NUZCFzM2+7mkp+WC3c082/C6qcP9e rs8iqbRxsw9VXFqAX4b5rkVADbBd3CbA3miVZDVs+7Id6e/rcjiD0Lfz5ZlaNtbZ2LBt JL8AFuPgFS75G00ClJ/mzm54CucdOQ5zB7bOtRLyagZhHpQwjQbtKYsGi6GeA1Oqso0S X/7swfA2qjKpaJvgaVJwUFLmNX8rzixlJ66aCNJOJyutS4TNKSIkUCpYrkhKbhtela6/ itD86dp4l2EV6AlZe9SV2k5zhQpH3aBErhS7zG36RDmbVFd68ZZHi0dpLfDHdwpQ2LYi fA9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=PknmXnQirEOnubVOauabc0cJvIl8m6tNpWyxQZCD0N0=; fh=CuOU2zHMRvKBIxU3VBdQp/xZQgB1IU6H7AgQjHd0CZ4=; b=GBCwO23OzY9J8ovGYCo+PeMHf0kcNq02Nbs1ZtWiAqgxOnKXn9RwcCBNtYgPaPJyJi bwkH4tf1xu1NgvQd0LU4Q3rjpeRPrxYRA92OThRiqxaARzMOO1s3BY9Z9PoIv7Q0R2sV J604p0S39uJ12vv4Xo05KOocamCY1WWC2MgqL1QimY35fKzly9rjY2lTgy9wITeJ4Nqo EJI2Ke0S3Ru2HE/GcWTQxgW/Jw5eCDnLfpy4jhtdz/zgYPUe2YAZu/u4Ghgb8qKfr+0c t1yVywCHgQzjczqCnn7QZ+Xb9K7lw4YZTqsAKqranugcnCPJ9bQ4cKD7c0fYNACCnwKv ioYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=HlYK066k; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lh17-20020a170906f8d100b0099301d21540si3787175ejb.859.2023.07.19.18.32.14; Wed, 19 Jul 2023 18:32:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=HlYK066k; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229861AbjGTB3A (ORCPT + 99 others); Wed, 19 Jul 2023 21:29:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41358 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229823AbjGTB25 (ORCPT ); Wed, 19 Jul 2023 21:28:57 -0400 Received: from mail-pl1-x631.google.com (mail-pl1-x631.google.com [IPv6:2607:f8b0:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 436FF2686; Wed, 19 Jul 2023 18:28:36 -0700 (PDT) Received: by mail-pl1-x631.google.com with SMTP id d9443c01a7336-1b89114266dso2004995ad.0; 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=WkJSdyWosqbKiywAxNW8D+Um/hXQbrdoi2Et4ZyI2JCGNeY3TkGZ3Gfq3Qf9LyzyRl 7dbf3/mv5ERjoXwUjXvJOvumDVYT8KyziqzQGThSqOcTBhNgD2ZbuDx8jUDjKeCdtnXl xFRtsFy0I0FoDqOian6fxdaOPC5r39wv+et0j3ZosWjIGliAIRzerHSnsK7GRIyap+44 sveOO4eMLAmTJFmlqzzcgQXqIxaWTrcWGIPqoqm9IRTW+CDOWSVzvFqubgndt7Fr0NKf Rlxa6TE36se2lnXY01G4y/XNkBNL/QSYr+RL3TEdlDNHYkBK19b96p7S6zO48v5MTPMU 2ntw== X-Gm-Message-State: ABy/qLYK3u1EDOCMuVvX385zx2TDmQTgBvX+s6OL1cnrlwXD2vp9ZvHG FqpwRViaC+dc06B9sqkQ8xTS4tikTfA= 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 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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>; + }; + +... -- 2.34.1