From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f41.google.com (mail-wr1-f41.google.com [209.85.221.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BCBFF188CC3 for ; Mon, 17 Jun 2024 07:19:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718608802; cv=none; b=I6u/FBVzp7yZ+E3P4+QbJKKGzqxtGbCW3Ig48v8Tu5fiQQITRJniKCrQ5/9pCx/PT/cVSFnTa5vI7IyumjjRMNbP/FIu7GqEVbwW//uAOiiiel0/2Ayc/r0Vyv7KBdYFwvUdw7PbJ+l5ezt0iB8sm+ho4G9VySaRB3KYfirjUnI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718608802; c=relaxed/simple; bh=c+CjBespsozkl/hbKd5LlHMHMFUXXbK2hmkdWbYlXtc=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=gZCa5f0pput1XgAa2GVEO/atFr5YCxwB7GSrqwgfzMtLtJP6CsCun3nnHGQ0Gtqb7AZfFoIsJSsRhtYCnDLLy/xsM1QhtEXuAJ8zbbmf/EE2+qE+zwdCXCTtc/E29XKUiv4/EU7wUGVfH7E0mWjyquv+8Gy0TMjk3GI3R+3IGOk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=tuxon.dev; spf=pass smtp.mailfrom=tuxon.dev; dkim=pass (2048-bit key) header.d=tuxon.dev header.i=@tuxon.dev header.b=HLCfSLSr; arc=none smtp.client-ip=209.85.221.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=tuxon.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=tuxon.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tuxon.dev header.i=@tuxon.dev header.b="HLCfSLSr" Received: by mail-wr1-f41.google.com with SMTP id ffacd0b85a97d-35f1bc63981so3041471f8f.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=vger.kernel.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=HLCfSLSrDxg9+y5mp5CCYXjmdjuX/K72dQH7Foo3NtAezoJ3jrStDN1rZG7stZftOn yqXy0bfALOQxRCPswM30W3sOIGsmWV+Oa0OdSlRh2AetFfClj7X+12YKrnCltY6fkLMI cLkZYuFLOPjKDBXtFjupEzcoL3ckYblvZRYe3dVJJXOTlOdPOPyRdU9xzcPt+SuKO7uW RT6T4Mpi631uy44FSenPKXIm9yhxjRADjVGrIOgV3eXWqG30eQ/8+oRVBBEcbtP1IPAE eg6d0WmZG4A2Rl+phk2JUl/Rpj3qkC6gpoS2s8np1dRaboaZ94veCZMMTv9B6yHjkUi0 aguQ== 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=SDH79ow+BNkvIYODyrJGhbx4yY+by1DW3E/nbafz/ldeKJwbNpB/o5I/TTI67cxMcJ Esp08PqZt+CGp6zVI6manQYRPbTTl1XH1QzXL937V8iLhxnDvDEpdL3TO5sbVOCHh3/3 VxucE3SvZH93t0yOe6WgagkZroq2czK2FLCJDxh6O4Sg8mK0vZj1exa+GRxHGYRFAaXX amrRXH4o70QQmphHJZs67Vlih1THT3DN5/J6fv7S/e68HFGOKO7ZiFMsnhkNY99d5BxW XjezRBvUmms0s+Av57ZHrg7XMHQplHVkplrpPXBX6nvyYPmqs2PAERI+/Z5nhc7Tg79l X6pA== X-Forwarded-Encrypted: i=1; AJvYcCXWwRU5GKMBA2fb8MfkBhVRBKBEcgk591O9sw0DQvlSCTmFbqVvxs9iGz9gFUQUfvgikrUIF67Ogb+uTcGjzQ9FJlCxjhIHpt+W X-Gm-Message-State: AOJu0Yw2i7y9v+xh7e1QQLCfHs0a3VDJEQkkaTd1840D7TzzJcr9O8ae yT7AzVD8oyBKofda5fJjPIj/STWAcenupu/xV5qLgO8aE0iE8dEb+zIWAdDZD6w= 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 Precedence: bulk X-Mailing-List: linux-rtc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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 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 >>