From patchwork Tue Jul 25 09:40:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacky Huang X-Patchwork-Id: 125468 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9010:0:b0:3e4:2afc:c1 with SMTP id l16csp2358727vqg; Tue, 25 Jul 2023 03:02:14 -0700 (PDT) X-Google-Smtp-Source: APBJJlE3tjnN5ghjZyoT78mxkV3YqZuEc2BdTRMBkIpQLqhCAbsLEzgVUwzaRR2vdu83VP0r/6Fk X-Received: by 2002:a17:907:78d7:b0:994:4f4a:218c with SMTP id kv23-20020a17090778d700b009944f4a218cmr13285172ejc.8.1690279334703; Tue, 25 Jul 2023 03:02:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690279334; cv=none; d=google.com; s=arc-20160816; b=I9iG9TsCt86Sgf0V4YegJDiAxBCMysNzv4UZF7LApTPeP2cyFsZhNqx3OxwDdeTsu8 hbwoPMrwhkvGHCTTRt7MCGXmw4tfZ0mVy+7Qn75TqpYymy3cRD/sQZtGzX9WNs/r7+ZD kj8sr8PxTWM7lzNbaPJnF9hoNfeR6t6bFb7TEOwax4/M1C1CSi+UF2RQFXYPr+TK66Pl ou5ob28ghcobSL0UD6E+P1abrB1PQveRrrL2no6pmsEXn5zg+L6PlHfRMUfeppFmWqOl ZDJUy/ER+SGj2/Moz0rdAw6qf0jkNpSNh4/NlwAZcK+uGn50LXGyWIKvGt4WNp8weEQ1 pPEQ== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w10-20020a1709064a0a00b0098733a40bb9si8051026eju.855.2023.07.25.03.01.38; Tue, 25 Jul 2023 03:02:14 -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 S229524AbjGYJkw (ORCPT + 99 others); Tue, 25 Jul 2023 05:40:52 -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 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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1772386343811387772 X-GMAIL-MSGID: 1772386343811387772 From: Jacky Huang Add documentation describing the Nuvoton ma35d1 rtc controller. Signed-off-by: Jacky Huang Reviewed-by: Krzysztof Kozlowski --- .../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>; + }; + +...