Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp4285656rwo; Tue, 25 Jul 2023 03:55:06 -0700 (PDT) X-Google-Smtp-Source: APBJJlHnJrge2BrtwaoLWRc4LWOpeyQr23vM5JjcduTQaCTfxP5fPta99kotm6rZlssXdCWqn91x X-Received: by 2002:a05:6870:e886:b0:19f:2257:6865 with SMTP id q6-20020a056870e88600b0019f22576865mr15681175oan.31.1690282506009; Tue, 25 Jul 2023 03:55:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690282505; cv=none; d=google.com; s=arc-20160816; b=PKmiIrRjxqfJR4LgZCoszi5ZPOUZZCaYXQJUj+Wc5JfMzIGnbuHf75eXSfLCwcEDUC z3DNjw2EJVm4LJwt/uOMLIBzEE4w/vUXr96XVdgJu1k2JMcSQT0TA0ilcCfYdUKA1Gya dXItTIbohbfdYyobrn3ku3pBk+HIhpDDNfCH2B/Sau4hyNTGBKg5/eCtZ1xpyN0LB2MN glmvx6JFJsJVOua6JLNfjhQd9Rl9Xjtm4i9/4sLdLF/uYC9hjkrWdv1benyBgYLckTZW Cdv19RQp+ijT41+XQapl4obwvOJwHMNEWBAFypFBSE0dl/OCH/5KzArHDIywJbBWn4Ks hYFw== 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=0jtmgg1Ul52XyBeA44Um0gDLsoyDM5m9GSMdFf61R4o=; fh=CuOU2zHMRvKBIxU3VBdQp/xZQgB1IU6H7AgQjHd0CZ4=; b=UipU2js/+lNa1eWsrO7Ztr3PhFan+LPKUeh+p9ze8WVgZB0Y3gDQZp51rJ+Qe/my0j +Y5nB/WKSekZa9avWJCqIU7E31RdZIujubIlk5yiHC6yqz0YinvLRZEX1YHq/T9IPFER L7ECHVzjaSY/qmt2vxMiKo0UxerNke985pFeZV+eqsEp2iRS7EfvrzXIKKS+IQa8Kw+u gjko8+GD6vDNHbzlr+C0i84vMKh9JgxZlypXhtjgYQPHnNt/E02MdnEu9ixAm2iVYMVG XHjaluSc12K5jaMDkziQIvztcXNyMFo4ysfmE+XzsINwYl3hbrMNEmpkDVV7xNtmwnqH WcLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=TjBnxI1H; 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 bv14-20020a056a00414e00b0068250f2627asi10833124pfb.61.2023.07.25.03.54.54; Tue, 25 Jul 2023 03:55:05 -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=TjBnxI1H; 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 S232727AbjGYJkv (ORCPT + 99 others); Tue, 25 Jul 2023 05:40:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44428 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230106AbjGYJkl (ORCPT ); Tue, 25 Jul 2023 05:40:41 -0400 Received: from mail-pf1-x42f.google.com (mail-pf1-x42f.google.com [IPv6:2607:f8b0:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E0BFDC1; Tue, 25 Jul 2023 02:40:40 -0700 (PDT) Received: by mail-pf1-x42f.google.com with SMTP id d2e1a72fcca58-668730696a4so2947790b3a.1; Tue, 25 Jul 2023 02:40:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690278040; x=1690882840; 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=0jtmgg1Ul52XyBeA44Um0gDLsoyDM5m9GSMdFf61R4o=; b=TjBnxI1H4mPYSC/luID974TQJUoerHRcbkMmbUBrfOl06tSJ2z1jze7+VHCyydasfc grrNHXhCjqlxmPEXv2fg0R8CgTeaAdEQcB/+MVmJDrPb4/POKyDF7qBOOyxHkWrIz89E iiK0hurojvVndZfzhAnnAxgM32FNcV/RM2ZDfwpj0hysq6oDkgZDSAVfkvAi1sLAMRwR ZNsdldfQGcHe/NpleP7Xp1QoR0fYO0vhcFIgHoD5E5IF/47iRRfbvcP3tPemi9YW+C0x Cyx2KOobjKT9CFgICQsvmBFtcMEbSrQgT9rcMfDhD97zOPhw3cIV1X/hf/F/COzDJIuk y2Bw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690278040; x=1690882840; 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=0jtmgg1Ul52XyBeA44Um0gDLsoyDM5m9GSMdFf61R4o=; b=SG3mBzoFsq/gtN+SodbS8J1sUf3RbxbYgm1SjwywssXOx4spdLAb03a4DBqWu58FrO 4dozVEmyVUXpPc+x1jncOv6qU4u06Uga3XfrGDh80KTOcPeH68s/U5FhZkzhdiK5MHez 2puWNXYy903S7kX6NZUZgmWWj2bh+n8QCrlFDDyC5bAfW701zXl3UXN27xcjqpFk7OCP PXPc4dY2Hp/F4W0qJPGleMMF0eKFYH3sC9k/qSdtiQH0ZExv/wQqyCv68FS0DveGWG64 GXAU7tDpqFkiKcqb7vV7CGaUiuqTiDQ12SmqcY2HOhwCCc8R8hUgkyPksTN832cE8L1I 5hYQ== X-Gm-Message-State: ABy/qLa27e5Xa1RN2ZJB/wfvODCsyd4NefYtuFSN3jaG3A1fA72nRvQC SmMEIpCemOGVZiUf3S8ythY= X-Received: by 2002:a05:6a20:7d87:b0:10f:f672:6e88 with SMTP id v7-20020a056a207d8700b0010ff6726e88mr13581013pzj.4.1690278040274; Tue, 25 Jul 2023 02:40:40 -0700 (PDT) Received: from a28aa0606c51.. (60-250-192-107.hinet-ip.hinet.net. [60.250.192.107]) by smtp.gmail.com with ESMTPSA id l24-20020a62be18000000b0064f7c56d8b7sm9121132pff.219.2023.07.25.02.40.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Jul 2023 02:40:40 -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 v2 1/3] dt-bindings: rtc: Add Nuvoton ma35d1 rtc Date: Tue, 25 Jul 2023 09:40:28 +0000 Message-Id: <20230725094030.32877-2-ychuang570808@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230725094030.32877-1-ychuang570808@gmail.com> References: <20230725094030.32877-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_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 describing the Nuvoton ma35d1 rtc controller. Signed-off-by: Jacky Huang --- .../bindings/rtc/nuvoton,ma35d1-rtc.yaml | 48 +++++++++++++++++++ 1 file changed, 48 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..5e4ade803eed --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/nuvoton,ma35d1-rtc.yaml @@ -0,0 +1,48 @@ +# 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 Real Time Clock + +maintainers: + - Min-Jen Chen + +allOf: + - $ref: rtc.yaml# + +properties: + compatible: + enum: + - nuvoton,ma35d1-rtc + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - clocks + +unevaluatedProperties: false + +examples: + - | + #include + #include + rtc@40410000 { + compatible = "nuvoton,ma35d1-rtc"; + reg = <0x40410000 0x200>; + interrupts = ; + clocks = <&clk RTC_GATE>; + }; + +... -- 2.34.1