Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp1072537rdh; Mon, 25 Sep 2023 02:19:00 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEEjH7zPakLAwGO/nwm014cBG610amI9/FacbYZJP6/3KBybSSk3aYJ3Avg8+s4ai1x0qN3 X-Received: by 2002:a05:6808:7ce:b0:3a1:dc0d:f32b with SMTP id f14-20020a05680807ce00b003a1dc0df32bmr7639461oij.40.1695633539944; Mon, 25 Sep 2023 02:18:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695633539; cv=none; d=google.com; s=arc-20160816; b=dqRutUn6GuwuXzviCM6gEcI0AfyYEjay3yufUSoYKlN+NCSGH1eOEzYTm39dvMt890 kE3OjmfnQ5k2fgBuuqtuz84rvUH5y3xf9hP7TsphjrzfGBV1/gdlOz/OFGoewSYft7mx oVBD+jlkxoG+/2MsUoiG/IZn/zJgwbR2E++dFUUtoNkIkB8jZsAmRypiXECQE1JwOYER pQgyvMEzb3VOphQhwsT2agWs70gIa38BSvG3CyijtRSqcYowbAI7Et2JFj+AwukIOdym lhds51sFznTMn/rLJ1YO7I1w92boNxzq4EaUxEncJTtnXFpOfuv6i4AIN6WALo+WFaw1 v6qA== 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.31 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 morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id s72-20020a63774b000000b00577f4d85fdbsi9591461pgc.548.2023.09.25.02.18.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Sep 2023 02:18:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; 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.31 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 morse.vger.email (Postfix) with ESMTP id 42EC7803B3A6; Mon, 25 Sep 2023 00:03:29 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232363AbjIYHDQ (ORCPT + 99 others); Mon, 25 Sep 2023 03:03:16 -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 Content-Transfer-Encoding: 8bit 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 morse.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 (morse.vger.email [0.0.0.0]); Mon, 25 Sep 2023 00:03:29 -0700 (PDT) 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>; + }; + +... -- 2.34.1