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: 122947 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c923:0:b0:3e4:2afc:c1 with SMTP id j3csp2825042vqt; Wed, 19 Jul 2023 18:55:34 -0700 (PDT) X-Google-Smtp-Source: APBJJlFEBgt9uMYUs+ra9ZsPUPzPXxFjVlgdX4i3fpairrT/jYpTLgIHE5n/d1GSBK56Ocaqi3g7 X-Received: by 2002:a17:906:7798:b0:974:183a:54b6 with SMTP id s24-20020a170906779800b00974183a54b6mr3866180ejm.33.1689818134303; Wed, 19 Jul 2023 18:55:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689818134; cv=none; d=google.com; s=arc-20160816; b=ztnJuMOyVP7gISvTtIUVzn2GjYib/u8R6uBOsFDNf6d7xL4S5usvlfRtkb09wjT17K gsb8Eq9knzqkjgR1YZqh1wpwQU7+B+wxasC7h9wDelYWOgBqyyloxg67ZOQKz8nnUUHm mQ4lLLSpU+2mB/7o02cM471EKnXQAOqYeUZ+Vzo7mvc/k2huuLV0DxnjW29A252kv6+Z dz/MgibH4bDteazBh1NMvPCIsqr/1aCJnAQZeUOJrpW6ywnoaVCQNSTwT2luOc/hD8pL u6TJH6n1r+rvYTgzi1RkQ3bmMvkZN4aSvKE6lw7Ye1SEioBAlU1lVB8fvi+kwPOYSc7P HkEA== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z23-20020a1709063ad700b0098df03ffa69si3404780ejd.421.2023.07.19.18.55.02; Wed, 19 Jul 2023 18:55:34 -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 S229838AbjGTB3A (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 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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1771902739746505076 X-GMAIL-MSGID: 1771902739746505076 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>; + }; + +...