From nobody Tue Feb 10 11:23:51 2026 Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com [209.85.221.49]) (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 C52C131355A for ; Fri, 14 Nov 2025 10:52:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763117530; cv=none; b=jIcDWHhVqHyH7DB6frBv7uWWn7VxQswonVGZqvU9Fs7YQW6vUG/2Ohbyv+FjH+RVZPKjFu9FNqbhinoovUnOQI1RZcev/PvqVkI89QXB4ufpWCud33tI19H5NmrSWi8GBITS1oToBIohEszRP9h85ysv1qRk6XK4ndJcUoBIb0s= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763117530; c=relaxed/simple; bh=8Bu2fKrShIIepljLuBCD9N8cR6F036LkHOFPwYoq3J0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Er9dMrMDa8WOjhKFqH+PjV3gXKcUitV0tVdmj+uZzSz9Abwl44s2ia+PMy7swchsi2QNRopu8bwuYwayHphKWGyU7w+ey9suTEV989OMXY+XjVCpWZob2QRnhckdtGoPHb3i4cKgrGYe/iaw/ufGU6Uz7tX3GSeTDqPa3hkiLaE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=JD/2V9zU; arc=none smtp.client-ip=209.85.221.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="JD/2V9zU" Received: by mail-wr1-f49.google.com with SMTP id ffacd0b85a97d-42b312a086eso1113761f8f.2 for ; Fri, 14 Nov 2025 02:52:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1763117525; x=1763722325; 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=6CYjJHm7EYtoIn1A0CwAr8hq5h6XMImyi3SSst8EGQk=; b=JD/2V9zU45BdtlwHkfmdTKNiGbUGWS0mX46XjNjVwMe3raQ/2HtbeLReQdQXZsy1Q3 qVkgXD7dE8uuUsZT9BBZR6RzonDMkLFEYB6VPoBIB2Kbfx3F4zHHWDcKRM/z+/RWZZXX 99Fn3Lcny+brEVaU6QtuMIvd3KUTfpIrXAFiHq7H0G62VcYKHDtdox9I69XqgStLkl/c qps2RweEWSUgLUbcwKSSnlmcvq/J3jcuDvBoQxvHm/Jdjxg4xboui8SVm6Wp6gj2J76W KjpU3ZnBqnlBcWtEtJeMQzFVnSk5JIFM2tre7ybTqsRdWiLejzOuInCCbt8SvEr0nn3p VlXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763117525; x=1763722325; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=6CYjJHm7EYtoIn1A0CwAr8hq5h6XMImyi3SSst8EGQk=; b=nKHF8L1RaZjHD6zRDRBqejaBs3S0LJ380Rfu5Evvl46M4WI662PwAYYnTvmCvkKe3e Ieq39e/TWSI3732fmYTlT2JuRu15a4/4jDKEKeTKgHiaKvnR1JfAFxoZtbeAVof23dK7 ZZxigUw/3kiQRLNvPiYa1KBkROD4u/SXzd64j7uq5fW9J5ieb2R2ptLb8zoTxAKA8C9w EtuiHdm+7jjc9ZQn9ewXGIS6MpJ0/I7yfCW++MjpDayPqk/vmKw9yFiLnRY9Bw6vJ9RE dXML98Vc9DKx31bHdbs61F3zLI6UWLJ9KyNF6tzCeR7cMGyrzYL659gNOk0cd5neHcRM BqLQ== X-Forwarded-Encrypted: i=1; AJvYcCW0YewdN3qYaeA3xm/4vZWF8bqbiMqRYRxG678oPSgonBsiI0BRwTsUUEIImT9rbMWvlQ0pnPMmSQ5yQLc=@vger.kernel.org X-Gm-Message-State: AOJu0YwuXvbQOMB3SMxOLN7s+iO/1CdfgTHTDZ05+pzb3D/YmUMKpNXS eO/wLeboztp3YL1zd/40T6O1zZw6EKlHPbmRez6RU0j+b1o81XUdgMOh X-Gm-Gg: ASbGncu3/7Wz1TcGiPIj06kVFBf2roUf//CXNm3bwhCJIuYXmwIEGDZetxpmYwPIFrC HTYlh7LT703m8laR3xyqWpRMrPkSZxovMoF7X6P+e+ivXfg8eQzystcX4rr46dtJ5B+XR9MirQi Cj8W5zdTMzw1X2++A8YlWibUbqOUuWXaBHvoGdUxyPfadu/JQIxMKbthlcKcIRu4/DVdwpfd563 N0ZZb6T8o/07AaSiQM6SmhYITYWFs6sy5LfG7VZC9MS7vO/OFR8qS0nMO5AVf4T5gSgWMXNJsxt tbiPhecl4LNqd2qqHbU26YaiyNGgykBp3MHpNt/MdmhGTnC16HXcujrXs5VInECEnn+uKvcLvaG apE0j2V4tofvVkK6z+m8LnQnu0YSXu2E2xCH6eGDQdDpUp5WoePmM0bebP3g80Y492cjt29I8xO NkBDUjUeoKE/tn6K5PnylNjcvFhT+FTQPDpJlASG5/aW2IqrCEhGo28yyvW/T1cvtfD+GpLSgDz wfMMGKG6XPMW+xQ X-Google-Smtp-Source: AGHT+IHYWVQb/BAJyt/+hyC87axtZ32nfypZdLafafoHUs5x4w2ZkZ+Hu+qO9TnGug6+Ee/nfA8xpQ== X-Received: by 2002:a05:6000:22c6:b0:429:cdd9:807f with SMTP id ffacd0b85a97d-42b595a1677mr2211016f8f.61.1763117524674; Fri, 14 Nov 2025 02:52:04 -0800 (PST) Received: from localhost.localdomain (host86-162-200-138.range86-162.btcentralplus.com. [86.162.200.138]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-42b53f17cbfsm9031255f8f.35.2025.11.14.02.52.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Nov 2025 02:52:04 -0800 (PST) From: Biju X-Google-Original-From: Biju To: Greg Kroah-Hartman , Jiri Slaby , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Geert Uytterhoeven , Magnus Damm Cc: Biju Das , Wolfram Sang , Lad Prabhakar , linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, devicetree@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Biju Das , Conor Dooley Subject: [PATCH v3 01/13] dt-bindings: serial: renesas,rsci: Document RZ/G3E support Date: Fri, 14 Nov 2025 10:51:10 +0000 Message-ID: <20251114105201.107406-2-biju.das.jz@bp.renesas.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20251114105201.107406-1-biju.das.jz@bp.renesas.com> References: <20251114105201.107406-1-biju.das.jz@bp.renesas.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Biju Das Add documentation for the serial communication interface (RSCI) found on the Renesas RZ/G3E (R9A09G047) SoC. The RSCI IP on this SoC is identical to that on the RZ/T2H (R9A09G077) SoC, but it has a 32-stage FIFO compared to 16 on RZ/T2H. It supports both FIFO and non-FIFO mode operation. RZ/G3E has 6 clocks(5 module clocks + 1 external clock) compared to 3 clocks (2 module clocks + 1 external clock) on RZ/T2H, and it has multiple resets. Acked-by: Conor Dooley Signed-off-by: Biju Das --- v2->v3: * Dropped 1st and 3rd items from clk-names and added minItems for the range. * Added minItems for clk and clk-names for RZ/T2H as the range is 2-3 * Added maxItems for clk and clk-names for RZ/G3E as the range is 5-6 * Retained the tag as it is trivial change. v1->v2: * Updated commit message * Added resets:false for non RZ/G3E SoCs. --- .../bindings/serial/renesas,rsci.yaml | 85 ++++++++++++++++--- 1 file changed, 74 insertions(+), 11 deletions(-) diff --git a/Documentation/devicetree/bindings/serial/renesas,rsci.yaml b/D= ocumentation/devicetree/bindings/serial/renesas,rsci.yaml index 6b1f827a335b..1a35d6fa67b1 100644 --- a/Documentation/devicetree/bindings/serial/renesas,rsci.yaml +++ b/Documentation/devicetree/bindings/serial/renesas,rsci.yaml @@ -10,17 +10,16 @@ maintainers: - Geert Uytterhoeven - Lad Prabhakar =20 -allOf: - - $ref: serial.yaml# - properties: compatible: oneOf: - - items: - - const: renesas,r9a09g087-rsci # RZ/N2H - - const: renesas,r9a09g077-rsci # RZ/T2H + - enum: + - renesas,r9a09g047-rsci # RZ/G3E non FIFO mode + - renesas,r9a09g047-rscif # RZ/G3E FIFO mode + - renesas,r9a09g077-rsci # RZ/T2H =20 - items: + - const: renesas,r9a09g087-rsci # RZ/N2H - const: renesas,r9a09g077-rsci # RZ/T2H =20 reg: @@ -42,14 +41,36 @@ properties: =20 clocks: minItems: 2 - maxItems: 3 + maxItems: 6 =20 clock-names: - minItems: 2 + oneOf: + - items: + - const: operation + - const: bus + - const: sck # optional external clock input + + minItems: 2 + + - items: + - const: bus + - const: tclk + - const: tclk_div64 + - const: tclk_div16 + - const: tclk_div4 + - const: sck # optional external clock input + + minItems: 5 + + resets: + items: + - description: Input for resetting the APB clock + - description: Input for resetting TCLK + + reset-names: items: - - const: operation - - const: bus - - const: sck # optional external clock input + - const: presetn + - const: tresetn =20 power-domains: maxItems: 1 @@ -62,6 +83,48 @@ required: - clock-names - power-domains =20 +allOf: + - $ref: serial.yaml# + + - if: + properties: + compatible: + contains: + const: renesas,r9a09g077-rsci + then: + properties: + clocks: + minItems: 2 + maxItems: 3 + + clock-names: + minItems: 2 + maxItems: 3 + + - if: + properties: + compatible: + contains: + enum: + - renesas,r9a09g047-rsci + - renesas,r9a09g047-rscif + then: + properties: + clocks: + minItems: 5 + maxItems: 6 + + clock-names: + minItems: 5 + maxItems: 6 + + required: + - resets + - reset-names + else: + properties: + resets: false + unevaluatedProperties: false =20 examples: --=20 2.43.0