From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id F167FC27C77 for ; Mon, 17 Jun 2024 07:20:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=7Tab2IYdHp6eDoo6cWzEE1Fk/6i2xco+HgcNyr6amI8=; b=vy1/RKiA50hqulBrVVetPgXtLM NN4ghuaSB+jxsPSP3Dlv2uFm9BK0CB1BpelMa23nao7Iruih/xN7JSYSI7n/+JPu7rzSDTtCr8Cx9 jPpkvxkfaqLQ+SYvLswuVGvZ5CsGbNSyD7Aa1gAdTvWO8Q6iWRd9h/4Lg1oxX6Qyu8vSQ7PHzX8Yl J50xzUPZW3YkveaCpP3kVKffwPYu9qkZVHdD3XL9129mSe+KnIEo5mqezt1baFiUToYcj3QIQFM8S 1qGXPM9dUHyOA+6eoS8e+RH5ORKuQgV7gi5DgWwhesmucZImazlnB8aoJYc5WyybjdG/Hg583aztC UBjqnuzg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sJ6ep-00000009c6t-4A9r; Mon, 17 Jun 2024 07:20:04 +0000 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sJ6em-00000009c3g-03LJ for linux-arm-kernel@lists.infradead.org; Mon, 17 Jun 2024 07:20:01 +0000 Received: by mail-wr1-x433.google.com with SMTP id ffacd0b85a97d-35f223e7691so2613606f8f.1 for ; Mon, 17 Jun 2024 00:19:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxon.dev; s=google; t=1718608798; x=1719213598; darn=lists.infradead.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=7Tab2IYdHp6eDoo6cWzEE1Fk/6i2xco+HgcNyr6amI8=; b=Ldd0f9B/PfwI4KVxwpRw8k8Q3RiKU9p1DL/3Wyl8EY2/Lz/HOhbQ0P06iGm6gViOf8 HjYsM8bajjinrM84Q8KXyukOH1taWKxdRZ0OyDg+wBhsJWlH4E0FIxVsK4wo2DZMzxaN cfoudcmOebShF2mo3DvmJdBWFVx80cnWcaAQMp5Eay/MET2pYeNpMu0Xpk1ZTW2AKr/f JcuMyTgERwwEOx/jBWDNExCML3PRuNFtjl4uZtyhiESabfk1ya66O5kM8hpO8qhm5KUd DEcGcZmxO0Lye0kF1aNbNQPa4JNDnKGA6p+htngEMyipvHNsYCXtccc4ToV7AKZcqmP/ nbWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718608798; x=1719213598; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=7Tab2IYdHp6eDoo6cWzEE1Fk/6i2xco+HgcNyr6amI8=; b=ScpDz5NYb2Lze+BMFJV2WxU4Trht26Jgth3qdOcpQ45ZDKlVw98atpJnx7N9MVnw1x VDwEknbnDH7WRg6LOf/S5Tm27JRF62mVqdTPUsaU3b7uiTF7NgRopx+7xaYsoyzkZh+A J/xBcc0blH0tZ2hGvgvHwHBQVtRV/mkH+x4YeYLM+9aUF9czffYBNN/0pSyK6/PofYjr GvdxGWU5/1RQHh0SBknQhVwKBxDSNMhQpytxxcEMAZ1amGfnzS+3whzq40LzYm2q/PjT OCq75dmMCMX5+YePxjC+gdZiwW2TWIWoUb1NCXM8ZGuwmD1AaGuM/8E/fNkbPSJozPfR Skag== X-Forwarded-Encrypted: i=1; AJvYcCWyPCYDfMz6ERFx6GTMQjbJBks/JcXTXa5it2zBrs8+ck8l1QqV3MLan4sWzaI5nAv3aI6EMhK+V01pupVqaEBUheONpNYJFMG87dHTBYFTRnFeywU= X-Gm-Message-State: AOJu0YytW2jDy8jjG/KtW2SeDPqRCmdJORS9ly+NMRgpTz6zoCCPxwW/ HFvzDhV4Rmr6FxYx1BUsfWvz0ZA5/GALY9hS3bNE3U4+OQtK+4bwhllJl1EK9rM= X-Google-Smtp-Source: AGHT+IHbwhH/VddMC+zVrrDdtAOvUQdyzGBIoHvhoB0F8F6pIHkpvfyUbpHuousSx8SxIn7Pcd9sjw== X-Received: by 2002:adf:ee90:0:b0:360:728d:840c with SMTP id ffacd0b85a97d-360728d8598mr11238048f8f.2.1718608798025; Mon, 17 Jun 2024 00:19:58 -0700 (PDT) Received: from [192.168.50.4] ([82.78.167.189]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42286eef970sm185922645e9.10.2024.06.17.00.19.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 17 Jun 2024 00:19:57 -0700 (PDT) Message-ID: <7768f3e5-0574-4d9b-baff-8a35792cc854@tuxon.dev> Date: Mon, 17 Jun 2024 10:19:55 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 05/12] dt-bindings: rtc: renesas,rzg3s-rtc: Document the Renesas RZ/G3S RTC Content-Language: en-US To: Conor Dooley Cc: geert+renesas@glider.be, mturquette@baylibre.com, sboyd@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, lee@kernel.org, alexandre.belloni@bootlin.com, magnus.damm@gmail.com, linux-renesas-soc@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rtc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Claudiu Beznea References: <20240614071932.1014067-1-claudiu.beznea.uj@bp.renesas.com> <20240614071932.1014067-6-claudiu.beznea.uj@bp.renesas.com> <20240615-clench-turbofan-024a14939897@spud> From: claudiu beznea In-Reply-To: <20240615-clench-turbofan-024a14939897@spud> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240617_002000_133712_0AA09E38 X-CRM114-Status: GOOD ( 15.70 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 15.06.2024 15:20, Conor Dooley wrote: > On Fri, Jun 14, 2024 at 10:19:25AM +0300, Claudiu wrote: >> From: Claudiu Beznea >> >> Document the RTC IP (RTCA-3) available on the Renesas RZ/G3S SoC. >> >> Signed-off-by: Claudiu Beznea >> --- >> .../bindings/rtc/renesas,rzg3s-rtc.yaml | 60 +++++++++++++++++++ >> 1 file changed, 60 insertions(+) >> create mode 100644 Documentation/devicetree/bindings/rtc/renesas,rzg3s-rtc.yaml >> >> diff --git a/Documentation/devicetree/bindings/rtc/renesas,rzg3s-rtc.yaml b/Documentation/devicetree/bindings/rtc/renesas,rzg3s-rtc.yaml >> new file mode 100644 >> index 000000000000..0e17f8a36155 >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/rtc/renesas,rzg3s-rtc.yaml >> @@ -0,0 +1,60 @@ >> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) >> +%YAML 1.2 >> +--- >> +$id: http://devicetree.org/schemas/rtc/renesas,rzg3s-rtc.yaml# >> +$schema: http://devicetree.org/meta-schemas/core.yaml# >> + >> +title: Real Time Clock for Renesas RZ/G3S SoC >> + >> +maintainers: >> + - Claudiu Beznea >> + > > Missing a ref to adc.yaml, I guess you mean rtc.yaml? I missed that rtc.yaml. I'll update it. > or can this rtc not serve as a wakeup-source > or use any of the common properties? It can act as wakeup-source but not for all the supported power save modes. > > Cheers, > Conor. > >> +properties: >> + compatible: >> + const: renesas,rzg3s-rtc >> + >> + reg: >> + maxItems: 1 >> + >> + interrupts: >> + maxItems: 3 >> + >> + interrupt-names: >> + items: >> + - const: alarm >> + - const: period >> + - const: carry >> + >> + clocks: >> + maxItems: 1 >> + description: RTC counter clock >> + >> + clock-names: >> + maxItems: 1 >> + >> +required: >> + - compatible >> + - reg >> + - interrupts >> + - interrupt-names >> + - clocks >> + - clock-names >> + >> +additionalProperties: false >> + >> +examples: >> + - | >> + #include >> + #include >> + >> + rtc: rtc@1004ec00 { >> + compatible = "renesas,rzg3s-rtc"; >> + reg = <0x1004ec00 0x400>; >> + interrupts = , >> + , >> + ; >> + interrupt-names = "alarm", "period", "carry"; >> + clocks = <&vbattclk>; >> + clock-names = "counter"; >> + status = "disabled"; >> + }; >> -- >> 2.39.2 >>