From patchwork Mon Sep 25 07:02:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacky Huang X-Patchwork-Id: 144322 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp1090323vqu; Mon, 25 Sep 2023 02:50:40 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHIak2G9Bbc2PNkaMkqnpo4XVswasEPvGRaKc9BzJhyQah4Y61jAgiFOA2EnryKbqzTD52K X-Received: by 2002:a17:902:bd82:b0:1c1:f1db:e86d with SMTP id q2-20020a170902bd8200b001c1f1dbe86dmr3943578pls.7.1695635440041; Mon, 25 Sep 2023 02:50:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695635440; cv=none; d=google.com; s=arc-20160816; b=AdVH7vSfHTiDi5NTKksXxgtjR/F/LxqouqW7UquEQwV0ATCAyd6F8tKxI09lePvnaf A21bgsRIYPbEE91giwtuv7JLxZarvzkDQoTbnKXLdy6Vv6+6YqUfN56XZ/QFfFTQmv9G mEWA7337C+cGEzKiu7vrHxRBJey/dYxwcwGvB/6vbgiuoQW8HDsZA4tVTj1ARQzeK1X5 7P9k79X3QmVc+7AhThsZg5EkaB5BNVj5pL1YUo2AmFk6GLX/Xvw/+80uTZhTxPQTQgyY 9QPtIUzsjnfjjaMI8QYJ61YAAcVZICkCqcWzDcsbOsA9kpXJgxuZ1Srdtq1Ejh+6quU+ rFJQ== 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=ieBcdWdPOmeOTdGdBEc6oWITfv87iDDSEehkMly+TmA=; b=R3BWAyFOpf3llrZN9QaUsqyJFvQv+4zo1Q2kZL/1aQtjkPMzF1OujnbXMse2l7S/mt LPJAHgRMqxRKgEKAmbOsFmFNdikX/eMtNGuU6YQXXtTr1XT9tc7e1RGHVkZCfKdlXCLd SufNfmhbrf5sVTkb8MUAkLaq9i6IGRCrG01coft24afvzTsDCHTyFlX3mJl3iZ6rfI2K gTUGzQJStOjKZVYTCLzZl95BWGxWkmszwHIttwcL+FqGvrpPQPiltKeUidVuhkmklIwy ulhwtjjiD9TvHWU4dD/lB3przQjv6fPNOB/lED025faK76Q7IcdTSoS5RYXmqHrqsxAZ qV3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=FU9zrD2s; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id jx9-20020a170903138900b001bdcb1e2d91si9106659plb.88.2023.09.25.02.50.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Sep 2023 02:50:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=FU9zrD2s; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id BC4D380964E8; Mon, 25 Sep 2023 00:03:33 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232245AbjIYHDR (ORCPT + 30 others); Mon, 25 Sep 2023 03:03:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57044 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232353AbjIYHDK (ORCPT ); Mon, 25 Sep 2023 03:03:10 -0400 Received: from mail-oi1-x236.google.com (mail-oi1-x236.google.com [IPv6:2607:f8b0:4864:20::236]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1B229B8; Mon, 25 Sep 2023 00:03:04 -0700 (PDT) Received: by mail-oi1-x236.google.com with SMTP id 5614622812f47-3ab3aa9ae33so3994827b6e.2; Mon, 25 Sep 2023 00:03:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695625383; x=1696230183; darn=vger.kernel.org; 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=FU9zrD2sq8w3Xbadp21A6j5gshEOJCAswOpX2X9XEFKkFAGTlm/9NPoQYUibwGEfzJ 6Kqb3oPsMjhUaIFkmPbDgLNOWkOQe5PahJsQI348vCiLi52WH6WcfUMnSrVBDjZhzzH+ qiO3e5YpRKBZQSzlJqikGFNCXyDNYd312r+M0Puc065cP1uSiHBve21Bf9yZPMihXpZj 4Stv/hVuEYA7hw6bur3dpeQ1E33wfibHWSHZG4h57PRdp6RuD+p+TXHSgEjAZK3CkEY2 EFKyYXA+9HOpNpGQ/9F+AxFuKWDlWlv//MikOcvbeNlrmG4WgLUKtmwJhNSskReJkWw0 juvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695625383; x=1696230183; 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=D/x8sPvcecyxD/K6sL1QfBqANbvvcIrCknffMGvYMVp5CbYWKKPKGaNxo+v0HsAhgS DvqHt321q5qQVjhdfHq9buO7ZaCPsMRruYuSt3w90+Inq8IqrHGcI2SyVqylxaeHjHGh UsN9OPxLyVbyKiecG1zjSqwy1cH7NWVcwHg7KiiEynuAcw9eKDA0G62Lg/Rp+fgOZVF3 Kn9DyTlNUCSnTIueUvWbegO5qMCuOBLqX9o4uU13IxWHk8+LqX5HTlgZ5oXNTChHliPe K7bCoMpFajKPi6PnDhBpWNa+hHHQef8+lNVzoh2F6WABF/Tins0y8lW+L/J+B1WIVL93 7MJQ== X-Gm-Message-State: AOJu0Yzo0O4/ig+FHEuY/x+tg4PhhOVPB9NjOS937XF+FFJkQAZxWdvq 3+dha7LX97Il5yl3wCi/JaWynfMvnUU= X-Received: by 2002:aca:f154:0:b0:3ad:fc3f:1202 with SMTP id p81-20020acaf154000000b003adfc3f1202mr6275365oih.53.1695625383369; Mon, 25 Sep 2023 00:03:03 -0700 (PDT) Received: from a28aa0606c51.. (60-250-192-107.hinet-ip.hinet.net. [60.250.192.107]) by smtp.gmail.com with ESMTPSA id y5-20020a62b505000000b0068ffb8da107sm7349833pfe.212.2023.09.25.00.03.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Sep 2023 00:03:03 -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, mjchen@nuvoton.com, schung@nuvoton.com, Jacky Huang , Krzysztof Kozlowski Subject: [PATCH v4 1/3] dt-bindings: rtc: Add Nuvoton ma35d1 rtc Date: Mon, 25 Sep 2023 07:02:49 +0000 Message-Id: <20230925070251.28-2-ychuang570808@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230925070251.28-1-ychuang570808@gmail.com> References: <20230925070251.28-1-ychuang570808@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Mon, 25 Sep 2023 00:03:33 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778002627122962732 X-GMAIL-MSGID: 1778002627122962732 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>; + }; + +...