From patchwork Wed Aug 9 01:15:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacky Huang X-Patchwork-Id: 133046 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c44e:0:b0:3f2:4152:657d with SMTP id w14csp2545397vqr; Tue, 8 Aug 2023 20:48:55 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGwrBrRsNFzdxC15BzJDB0R+9vUDR3afmc3L2NnX36vdoyuBryurqTT/pn1dvsTRdKWuiDB X-Received: by 2002:a05:6a00:14c7:b0:687:1be4:46e7 with SMTP id w7-20020a056a0014c700b006871be446e7mr1502331pfu.9.1691552934875; Tue, 08 Aug 2023 20:48:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691552934; cv=none; d=google.com; s=arc-20160816; b=njpNY7TERXmfc1E+dv7LenORpjhAm4OG5AEjsqHN2hhqXi9MTKc03f+69xEoPLMroq NFzT1/NlbbxFFp6gEQ9BKxJgeWu1nAlXmjwhEwj9Adn6WC9MNBI64qRz3erXZOFGgwDl cA0xnam2aRCaizyY8/4qy8kfLCCdS+t9bgS0q2o3iCrr8Zz/WmPm/zUrBqjvWz454kX+ RoLI3nvnmPbr3dYR+vdYP4DJdmNocLQKiHKI6qWbh4/nirIfRAfrYthfpBmwbBMnwvqM D/KiRIoUIGg2cEb18uoegLrnAj1Ctb0DFnO08qodw1sVWTPCGnwfwmkzA2s/l9aisVoT G7yA== 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=fpAcRisUyrskcWS9AV1ql1Z9KFMGwKdSa1ZIJWKbDtE=; fh=CGgrBEa16HS2UQ0YXke86oyzxKU/gjWkKy4lt53EwNQ=; b=WIpBkeqTYgmz5GuiT9CSBBUIJAqMDMeckA9USI/P8pMioEEqtGRbOBOLKA8YvZm7Ck uMc2k6vpk6rWzAoanijcC0sWWaNmL/iIZq450xdftBpRoN/o6wpbJPeNjwtUL5oelViT hSOA1KpkkbDMN8KXiUt5CqG8flIqFNxynFnpvxB9dv1XBmqbI0u7GZvDxEVlNQTYLYWn F6AMVf940I4eP+nx4IaBat3F3+Wmx4i+AszpvVj9fVBZMU6ZdHoPZdWb9RX6b7s0AEhx LH7IWWTcR1MdQRDzAWOTNUVCQAHg0xBklRtXXtlonC+iasLCPOjSHKS3rtDMhVA2/5tP 0oFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b="Y+o78R/U"; 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 h15-20020a056a00218f00b00686f6b403fesi6280865pfi.214.2023.08.08.20.48.42; Tue, 08 Aug 2023 20:48:54 -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="Y+o78R/U"; 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 S230162AbjHIBPz (ORCPT + 99 others); Tue, 8 Aug 2023 21:15:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33402 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230117AbjHIBPv (ORCPT ); Tue, 8 Aug 2023 21:15:51 -0400 Received: from mail-pl1-x62a.google.com (mail-pl1-x62a.google.com [IPv6:2607:f8b0:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 15F6C19A8; Tue, 8 Aug 2023 18:15:51 -0700 (PDT) Received: by mail-pl1-x62a.google.com with SMTP id d9443c01a7336-1bc1c1c68e2so40486105ad.3; Tue, 08 Aug 2023 18:15:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691543750; x=1692148550; 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=fpAcRisUyrskcWS9AV1ql1Z9KFMGwKdSa1ZIJWKbDtE=; b=Y+o78R/URs32r1pS7ksTcEFv//2BRTVRggUQkZSo36ouTaXxU1SiXWbmxGNMMrlmKr 1cyLi7js8C9amqoFCUPXQUrl3ad0KLTCt2Frj/r7NbIJCVdCnLnFOM1h8Y6I17izvcp/ zn8rzBr5SWhrg5gNP6v0f1N2HvuleGjhd0/v6yVRIQFufs6eCz5Yubz2HI0lQy2NyIGU CwOkG10vWYzjW5DzCoLE+QZtJOlR6vb9qN9iJvB/8/+X41SIlj+4g0ReEkW7bg2xgogf DilCh6w2RFjgoa/mNuKcDxD4lUmHJHstpuKmIFNnX4wkq6fI4SJ2WBqi5p2bD3V3fDks x/dA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691543750; x=1692148550; 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=fpAcRisUyrskcWS9AV1ql1Z9KFMGwKdSa1ZIJWKbDtE=; b=SQEQsND3TQwvdRNyyDffdzeop7kwj514S5pp/aiRkWGHhkwzdZdBGZOoozxSEUOIbo ZcVJBpPmhOl2bjoSBYORbbB9cHGJ1toH3xuGgTt9xiTDj/jFxFVH15NffdEXYoT+m6hn ppzPJDFWq+S41OvsxuwWDbYs/iBarxrp/MEAGsR0UdDEOIjzf2/1RkYeuRKQyw8mWHJz h/Ig9n2ZmlK8y7w6N9Vc2Yozqh0Xx3WdHGved7vGWVmUD4xIyYp8Q9wO0OLXMRrVw4Qh 3MnWe3JEd5BpZtg2ERJiGtGKKzkmVHTAUnPw6+qNoF/kwcT4sROSXukjGBpe83lrl7kX fufQ== X-Gm-Message-State: AOJu0YxMiPog/Bxy/PqqYRn3wKvmF5pFHzu98cpM1g1Q1Pkhk6fFXHmO I98nCirDVYPnPSrKD1i5sPgpCFBIvns= X-Received: by 2002:a17:902:eccd:b0:1b8:2a4d:3eb9 with SMTP id a13-20020a170902eccd00b001b82a4d3eb9mr1151662plh.34.1691543750502; Tue, 08 Aug 2023 18:15:50 -0700 (PDT) Received: from a28aa0606c51.. (60-250-192-107.hinet-ip.hinet.net. [60.250.192.107]) by smtp.gmail.com with ESMTPSA id t22-20020a1709028c9600b001bc68602e54sm5730449plo.142.2023.08.08.18.15.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Aug 2023 18:15:50 -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 , Krzysztof Kozlowski Subject: [RESEND PATCH v2 1/3] dt-bindings: rtc: Add Nuvoton ma35d1 rtc Date: Wed, 9 Aug 2023 01:15:40 +0000 Message-Id: <20230809011542.429945-2-ychuang570808@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230809011542.429945-1-ychuang570808@gmail.com> References: <20230809011542.429945-1-ychuang570808@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-1.8 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, 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: 1773721810222302361 X-GMAIL-MSGID: 1773721810222302361 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>; + }; + +...