From patchwork Fri Jun 14 07:19:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Claudiu Beznea X-Patchwork-Id: 13697972 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 1CAFBC27C77 for ; Fri, 14 Jun 2024 07:20:19 +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: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=r7siOFVYUaSSVi4rSlfod3aMeNU0h2Ys5AF3R/iRB18=; b=jK0zCorssa+41SMKRMapU21k6A OZwFrHM33vHbzlZHGP0tn2n+1waWmN2UvX28MoA9rV44v6jtOs6zLu9KA2E9o1Rbd20KSVL67UfnH 82DS7wAxsN7vrN1ZWwo2LFMh7rx2rFVGmmQ2M5GyHqlzE4QEfMS26ZkIyD5u8yqhQRnlesC7sfyZr R6Y+ZRCajz/FIXpXLcrYkYjXsmSAoLgDQQRwQVPmA7e1SOwKaY1V7iHcH/k6KMqN11DwiYRFyoeBn RaKCFeB+sMknFVurr3oG4w0KPLrhutoXFp4tA+j05tCiIY0zI+84H1nuDo6zizYUZI4EPHKhwi+pC gKVPX0mw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sI1ED-00000001jVN-3V24; Fri, 14 Jun 2024 07:20:05 +0000 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sI1E7-00000001jQa-2to8 for linux-arm-kernel@lists.infradead.org; Fri, 14 Jun 2024 07:20:01 +0000 Received: by mail-wm1-x336.google.com with SMTP id 5b1f17b1804b1-4218314a6c7so17283225e9.0 for ; Fri, 14 Jun 2024 00:19:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxon.dev; s=google; t=1718349598; x=1718954398; darn=lists.infradead.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=r7siOFVYUaSSVi4rSlfod3aMeNU0h2Ys5AF3R/iRB18=; b=P9mu5MQKqMNdszkC+OJDRde2sdSKSnJ922DyB8YFU01J/TuiGw8nJQZo77ryeVzmdI 8QAvohoDNqLZk7kuZLS4qBa4hdinEpX0evQ4Qg5YvAaKrOWdd0GvY8XCZIT29azx/Ttk 3ZCpAlHB0bsfCKmGOH9VJHurt+AfTtWHfzK3e/SZgVzN/AAzRYw+fTaTYb6DnDAYf3FX BxXuvF857MZWmCIOrIbf4AMgyuMW6/QC9RCSaj35x/fa3JHufPJKmMDUFU4qFYZT9YqJ vbx5irfNVBcwh4FuFfXdb1GCjzPwQLnGr8JzgY6z8FInaUCq60th1hW/TN28QhJ1RUsN kg1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718349598; x=1718954398; 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=r7siOFVYUaSSVi4rSlfod3aMeNU0h2Ys5AF3R/iRB18=; b=B4eTCZ7ePhLX20+qTqAFbvGxqEbLbxagUS8pRe2tPUr0qBst1oxpku1bgfdP0GeQLw b7WV+5uCtCwIryCTvuPEt1cmKVxudvNUrL56TPPLK9ZbJjXvO08HOibOLaHznnzdVEJU 6dDR9ldM5ZQmYVOmfFtD9QtG3QeA2PfwdcXhO+MaWVfyRCpI8jV63aurKeBrrexKVqgW /F+2KG8Pao7woTNcbRZ/Xm424mmZGsf22J+RQf1r+5SoHqokShdNVxTXjHAYFq02qeTA D9wxfO/1A+PbFTMPkPOAr0mxr5Ru5VOt1rTbeSEkB8yht/oS+W2IdyF10XXXS0K2wZZ3 YZlA== X-Forwarded-Encrypted: i=1; AJvYcCXmrtokU/e8sj2laJre5GdD4imaW4nRr16TY4U47UcxVig/34Dvnfy+L4qSzu+bplwsJKPrAZ3+9oKyRqyPN9my4qbX5HO/ux+FQOsE7rufbR6ePT8= X-Gm-Message-State: AOJu0Yy4D+7vv5iRtdLeJPZKA3S/DGgramqMenAJhfIVmLOrH1ShNUeN MG2lxJX34Qi6eUbuqhXqVNzo21GQbjAaLEyFb1v6GienmBSfW6d8DiNQUAo7A3s= X-Google-Smtp-Source: AGHT+IHvJbe0MPxxmAy0Jaa+i29h6XRm4HO3GS+nYni4SEUr1oyYsazmbKlbSli1ZCLA+9ThckA7xQ== X-Received: by 2002:a05:600c:a43:b0:421:ad:f104 with SMTP id 5b1f17b1804b1-42304827c4emr19665955e9.10.1718349598308; Fri, 14 Jun 2024 00:19:58 -0700 (PDT) Received: from claudiu-X670E-Pro-RS.. ([82.78.167.189]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42286eef9eesm87272555e9.9.2024.06.14.00.19.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jun 2024 00:19:57 -0700 (PDT) From: Claudiu X-Google-Original-From: Claudiu To: 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 Cc: 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@tuxon.dev, Claudiu Beznea Subject: [PATCH 05/12] dt-bindings: rtc: renesas,rzg3s-rtc: Document the Renesas RZ/G3S RTC Date: Fri, 14 Jun 2024 10:19:25 +0300 Message-Id: <20240614071932.1014067-6-claudiu.beznea.uj@bp.renesas.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240614071932.1014067-1-claudiu.beznea.uj@bp.renesas.com> References: <20240614071932.1014067-1-claudiu.beznea.uj@bp.renesas.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240614_001959_754917_20BFF97F X-CRM114-Status: GOOD ( 12.21 ) 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 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 + +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"; + };