From nobody Tue Feb 10 17:30:58 2026 Received: from mail-wm1-f46.google.com (mail-wm1-f46.google.com [209.85.128.46]) (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 827582EA151 for ; Thu, 30 Oct 2025 17:58:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.46 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761847098; cv=none; b=qnxaooPekneVbLe+AUScVcdN6RQHwsQ5FUeRauaz+n40N3zwq1h7/IUy7nPqhsiwadBXNHrJAuHqZmh7kBcbuQgAbBKAonIWeby99P7MSuzMAkbeSOb53upsgz3fFaRWCJwl2hgL/Jyctp5VPZGrBSFoFhccsPWEOkdHT6WIxts= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761847098; c=relaxed/simple; bh=3z2mhzRxyfQNv1R0hi7ZTnOWImB9S2k6FugjQXRhwUY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ia1fB4gFdMzMNJlJFwWuvwFfgG1RsfZJZhet8/qOSOcpL/Hoq6Y/x3CnHKvGCOvoPfMEY59pPbRKSGLfksRVsaU2rJnEjWBifkzKlA9lswGt1seDrZylSoW9BdjO1oqIbZmhJf9zU4hIneuh8S9whFNoWnW2d5udLjzjoiutAaY= 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=CIinMekw; arc=none smtp.client-ip=209.85.128.46 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="CIinMekw" Received: by mail-wm1-f46.google.com with SMTP id 5b1f17b1804b1-4711b95226dso17769905e9.0 for ; Thu, 30 Oct 2025 10:58:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1761847095; x=1762451895; 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=m8YnOhLYa4+B1Ekt7MbimeIIDg/J8LnZDYbx9DRe05Y=; b=CIinMekwGQ3fN31rSkF4qOfK52HPYRwt8CU5EA//fipNZ25F0qTS/ogihBvQHpi2Xg ogC6qWoYf8qJQPG4bWrJpF3LQ4l9V8gy02CKSP+uKPefN3Q/kj574XDlk9mAXMT09Cf1 VhTDXeDMjZfbkiBoLvZmxua+UsxJzasre4Sm0CFTF8Sgjg+269lpIMT5kaqhLco9PcaF I6I+7ds6M5xQ+3JsIF4znCkEdYaBlRw/gAGFxWTu7GEgMp1fIURhSTqewERiKDtozjuN VpsYmasRGwzAlZYeUxEdVqGiuZtf2JNmZn4oeW4M+J7E4O6nogZKbTdf+8CxFxlRlsHq EsVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761847095; x=1762451895; 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=m8YnOhLYa4+B1Ekt7MbimeIIDg/J8LnZDYbx9DRe05Y=; b=JE3Lfm6rWYwotg9MQfaoXiO2PfZa2jZhy/UQBnJZkd4gWMRpgCpc1DxCufsHGKQXL6 5x17Sx6LnUxKB+/6O5lVZHI5Td8WsWZsNUZUwolNGQocPBM03ciYFyBcsWqUBqJs5KI8 jiSpSnInj68NpOvoFl7CL1beb0aU8hxav0AKNtcBeTLuNkvoq0/P8Q6t9lv7FeMbo9Bn ffmNXHo7lCmKVp4pTXSTDDRVqZ92M+/ZP5KahosLPXXTyvHKQhIyd1ipoRGjkQHj1c78 HMsz8WKwbKnKyR+kBrvP87/Kt8mkBk8yfh48Ut8CCzB4rdFYojPGkB0jQIchJkGCnYh7 ZihA== X-Forwarded-Encrypted: i=1; AJvYcCVwrR6Ve0LaoC4EahqrL6DEm+bpdhG+te5yc+gCVfnmw0q56WftzFEPiNfXp9IhXQbuusVf+iqYrDCOjLA=@vger.kernel.org X-Gm-Message-State: AOJu0YzgAFZrUTuTmBwGPSablOkoGb3amvR0w64t2pT8/CaZnnlkU18a XbXHoQ8W7QDFsyuDbVWvptJ+paig7rcV/NBUbS32ImRWDrZy1kbxv6LO X-Gm-Gg: ASbGnctIobbeHiiiOuYInvN537akPstjV/xRgk2qlBwOMoyiTG96vhMNzkrvljrZiww PPif6kfL7Hm+w6Xt2Fwve12z61BpQxLFBlHGGvA/e+uTK2M+dJrUrxvP+7FSTO3l6rwdvNzlxpi FHHy8YGTQSgBiP3lJBEp6VW9lzfTLqXNLmpwKxWYm8fXvIVD7k2XQbGBFWursETCRatU88nVVNe VEH4nrbGLc2+C+9Y2xtL84HyyvTOK2pjNJOmtjWkpF8hJBUI1e2w9ZfUkXR88rCpsh8B+YnRZyA /pM6ENXf6XzbfDLg+KjAKCAKH4oJLWDA+2FuOTiaumkDvwBW6GZuksBdLePoNdmFq/j7DKF0TLH SA8DVe+psq1Civhw1YviNwbQCH+xbAWku+g2xsYAxMmrsBLJTihUzrxHOrDdWzhMh/wWg0fBoX+ Up0mrMcY726xPV16i/XVSCFjc+Bl3y5I6PdhYGiyNApXgwt9NjP6U5QYb+EdkVDoptNo6LZ3Q= X-Google-Smtp-Source: AGHT+IE1FuZnnp5NmXH6wKHeFVq3jsmIh/MUmdAqP8BqCay4i4c5dgPUHmDX609AIkhZuUJDO3bVbw== X-Received: by 2002:a05:600c:820b:b0:471:c72:c807 with SMTP id 5b1f17b1804b1-4773087af79mr5773565e9.22.1761847094521; Thu, 30 Oct 2025 10:58:14 -0700 (PDT) Received: from biju.lan (host86-162-200-138.range86-162.btcentralplus.com. [86.162.200.138]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4772f53aad6sm15098055e9.13.2025.10.30.10.58.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Oct 2025 10:58:14 -0700 (PDT) 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 , Lad Prabhakar , linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, devicetree@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Biju Das Subject: [PATCH v2 01/13] dt-bindings: serial: renesas,rsci: Document RZ/G3E support Date: Thu, 30 Oct 2025 17:57:49 +0000 Message-ID: <20251030175811.607137-2-biju.das.jz@bp.renesas.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20251030175811.607137-1-biju.das.jz@bp.renesas.com> References: <20251030175811.607137-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. Signed-off-by: Biju Das Acked-by: Conor Dooley --- 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..1c2ed4cd58fd 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,40 @@ properties: =20 clocks: minItems: 2 - maxItems: 3 + maxItems: 6 =20 clock-names: - minItems: 2 + oneOf: + - items: + - const: operation + - const: bus + - items: + - const: operation + - const: bus + - const: sck # optional external clock input + - items: + - const: bus + - const: tclk + - const: tclk_div64 + - const: tclk_div16 + - const: tclk_div4 + - items: + - const: bus + - const: tclk + - const: tclk_div64 + - const: tclk_div16 + - const: tclk_div4 + - const: sck # optional external clock input + + 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 +87,44 @@ required: - clock-names - power-domains =20 +allOf: + - $ref: serial.yaml# + + - if: + properties: + compatible: + contains: + const: renesas,r9a09g077-rsci + then: + properties: + clocks: + maxItems: 3 + + clock-names: + maxItems: 3 + + - if: + properties: + compatible: + contains: + enum: + - renesas,r9a09g047-rsci + - renesas,r9a09g047-rscif + then: + properties: + clocks: + minItems: 5 + + clock-names: + minItems: 5 + + required: + - resets + - reset-names + else: + properties: + resets: false + unevaluatedProperties: false =20 examples: --=20 2.43.0