Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp1334984lqp; Fri, 22 Mar 2024 11:42:05 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXZNU60d0FVIbSMBNV/2O6NprR96AFL1H/QOiEMfuDH7+eUROcZKAT185MPNVaTkkp2bglQOPzG0JZsfe0Q0HM+h+lJck40Bt3Y2Jui1Q== X-Google-Smtp-Source: AGHT+IFwJg/j7XIQ/EC95WAygoTaUWPSCSC2eClY80p1L+HueHrkg8WaHOq/DKFu0jEnaXzdJoEz X-Received: by 2002:a05:6a00:a23:b0:6e6:830:cd13 with SMTP id p35-20020a056a000a2300b006e60830cd13mr581953pfh.23.1711132925375; Fri, 22 Mar 2024 11:42:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711132925; cv=pass; d=google.com; s=arc-20160816; b=E276RudGACc57ESxx293EpGclT/ZROr1K5N/WwZpr5k4feLGpGOW/gIC6ZDxOk3KMj suG1o+Yy10iENJncnlVqzhw3mbwglFNMQ0yp1qMTP4bgL4FID9avsxA0O+qOBPNSSWAv trDp+9wEmS9tg1xQFdQcWH9WcURnRWrQEGc2JJsulH56j0o0cWtCWW7z1CC0icj+mn3X XcSg1+UomG4uGGJ+DE90VH89ghCY2vK+k38/fsGEeDgGz2pPEYrjUevJjo318tnWj7nB b2Stpl8rPV3F++MvcVSu/Q9R/lV01yCjt6pIMu5RR2py3UebTHv0j5XCaWQhMxUfe3zk GEYQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=4okIhhA5xfieYLyJFYb1G+RBC9qC1xzSuWGsbfQVDnw=; fh=DVApcIjmk7EWG6C3yWo5wARauJBR+4OUFJQ3gglM5s4=; b=f3+riI0HydyU17UMjVV4pWB60AbCrxeC2fxaSdX3LTSMkSAxlWfCVVXm9kO3WO52gD x1J1bGK8+oW6AeM+pFyngj9jgn48oNT+rWyZmpKv7r/PhjFH2VJBpBfIC/5+XnVQ5GWY ANCAKwwE8g4DGuwb4U+bVr1WRxLCHDAUjRRIyTf51V/r+pztCPhHtAx+Em1X+6xFogie 9A6686fUnZsSDv8H9mOERe03EIoeMF8yLwUxyHwAhx4agolyfPUibkAn7nztTbdxap6M oZM3C4FP1lq22s0aPMPqc/dfPFMZCwE1aN0lZfUrGwNiAukyd1CifGtOcHzkvHXRD0i8 9xWA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=j5Lyk2Yf; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-111962-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-111962-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id n18-20020aa79852000000b006e6aaae7d14si105351pfq.294.2024.03.22.11.42.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Mar 2024 11:42:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-111962-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=j5Lyk2Yf; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-111962-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-111962-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id E412A288410 for ; Fri, 22 Mar 2024 18:42:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0D3B26A8B5; Fri, 22 Mar 2024 18:42:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="j5Lyk2Yf" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 255895FDC9; Fri, 22 Mar 2024 18:41:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711132919; cv=none; b=ItNRL1mOhwKYuEwJn01UxR9tUtECG/nksPq0E4hjhiyrgN8+3k+jWSIWZkbFRXTr+zvAZZWwry6IJIGbawNVPUAElYVTm83MF7B5YcmXoc2AK2zECqsKneDuKiaVCrFJomLrtsXVYquREbw762Lwgleh1p585PKqIVA7t21CU1k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711132919; c=relaxed/simple; bh=F11k4iI02tzCqpoumpy2ptLTRb5nTvwahbpqwzebvKI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ran5rZ3i0LV1/MAm6j3JTwmYymznbdPpofdRWGUYhtcp2nXMuSg/fKLpgZ3JohiUd46ahtbVg6DgwrsTLzGbtT2qsvJwQatYJywtcoQPAuu95LUc+gxOV8/DSsXu51OVat8TwVH6DDiIIlx6LonBlDyAq7+xyabL61b7TEODOok= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=j5Lyk2Yf; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 05A0CC433C7; Fri, 22 Mar 2024 18:41:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711132918; bh=F11k4iI02tzCqpoumpy2ptLTRb5nTvwahbpqwzebvKI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=j5Lyk2YftVMKaJ9QA+oLv/BWSAsGEYXT/O9U4taywknWePLo6uZDQrL9JZFfaSKAl St2bIrbsE2P75d5lEvYCbAMsUd83jvz8Ik4D5YG3gyIDVWV7Emg37kuj66NxkAJUdO 4VmTUaHFu2M8uIjc+GpRoqPjrRi83HfotABCghV4jB0UOoAI2EjUX2ZuR0ztatKBD1 jHdB+8oh3zCTjQI1nWlWjXi4GcEEs330XBMKVW6+IYnJKEeRdtYmlYKcDtZc8gAcj0 PvNUx+kPXQ0c0ZGJOxzOUHa6Bmrjy+wDte0n7McFiCOsTytCPtc1jF5zRdHbrO9ToQ brsM9GWBU5FEw== Date: Fri, 22 Mar 2024 18:41:52 +0000 From: Conor Dooley To: Prabhakar Cc: Geert Uytterhoeven , Greg Kroah-Hartman , Jiri Slaby , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Magnus Damm , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-serial@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Fabrizio Castro , Lad Prabhakar Subject: Re: [PATCH v4 4/5] dt-bindings: serial: Add documentation for Renesas RZ/V2H(P) (R9A09G057) SCIF support Message-ID: <20240322-donor-undying-d941fc3db445@spud> References: <20240322144355.878930-1-prabhakar.mahadev-lad.rj@bp.renesas.com> <20240322144355.878930-5-prabhakar.mahadev-lad.rj@bp.renesas.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="kbZNjUf7uTigHDC3" Content-Disposition: inline In-Reply-To: <20240322144355.878930-5-prabhakar.mahadev-lad.rj@bp.renesas.com> --kbZNjUf7uTigHDC3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Mar 22, 2024 at 02:43:54PM +0000, Prabhakar wrote: > From: Lad Prabhakar >=20 > Document support for the Serial Communication Interface with FIFO (SCIF) > available in the Renesas RZ/V2H(P) (R9A09G057) SoC. The SCIF interface in > the Renesas RZ/V2H(P) is similar to that available in the RZ/G2L > (R9A07G044) SoC, with the following differences: >=20 > - RZ/V2H(P) SoC has three additional interrupts: one for Tx end/Rx ready > and two for Rx and Tx buffer full, all of which are edge-triggered. > - RZ/V2H(P) supports asynchronous mode, whereas RZ/G2L supports both > synchronous and asynchronous modes. > - There are differences in the configuration of certain registers such > as SCSMR, SCFCR, and SCSPTR between the two SoCs. >=20 > To handle these differences in the driver, a new SoC-specific compatible > string is added, ensuring proper handling of the unique features and > register configurations of the RZ/V2H(P) SoC. >=20 > Signed-off-by: Lad Prabhakar Reviewed-by: Conor Dooley Thanks, Conor. > --- > v3->v4 > - Appended the interrupts instead of adding SoC specific > - Added restriction for clocks and reset >=20 > v2->v3 > - Added SoC specific compat string > --- > .../bindings/serial/renesas,scif.yaml | 30 +++++++++++++++++++ > 1 file changed, 30 insertions(+) >=20 > diff --git a/Documentation/devicetree/bindings/serial/renesas,scif.yaml b= /Documentation/devicetree/bindings/serial/renesas,scif.yaml > index c13b31c28049..93fc7b75e2e5 100644 > --- a/Documentation/devicetree/bindings/serial/renesas,scif.yaml > +++ b/Documentation/devicetree/bindings/serial/renesas,scif.yaml > @@ -79,6 +79,8 @@ properties: > - renesas,scif-r9a08g045 # RZ/G3S > - const: renesas,scif-r9a07g044 # RZ/G2{L,LC} fallback > =20 > + - const: renesas,scif-r9a09g057 # RZ/V2H(P) > + > reg: > maxItems: 1 > =20 > @@ -93,6 +95,9 @@ properties: > - description: Break interrupt > - description: Data Ready interrupt > - description: Transmit End interrupt > + - description: Transmit End/Data Ready interrupt > + - description: Receive buffer full interrupt (EDGE trigger) > + - description: Transmit buffer empty interrupt (EDGE trigger) > minItems: 4 > =20 > interrupt-names: > @@ -104,6 +109,9 @@ properties: > - const: bri > - const: dri > - const: tei > + - const: tei-dri > + - const: rxi-edge > + - const: txi-edge > =20 > clocks: > minItems: 1 > @@ -160,6 +168,7 @@ allOf: > - renesas,rcar-gen3-scif > - renesas,rcar-gen4-scif > - renesas,scif-r9a07g044 > + - renesas,scif-r9a09g057 > then: > required: > - resets > @@ -209,9 +218,30 @@ allOf: > properties: > interrupts: > minItems: 6 > + maxItems: 6 > =20 > interrupt-names: > minItems: 6 > + maxItems: 6 > + > + - if: > + properties: > + compatible: > + contains: > + const: renesas,scif-r9a09g057 > + then: > + properties: > + clocks: > + maxItems: 1 > + > + clock-names: > + maxItems: 1 > + > + interrupts: > + minItems: 9 > + > + interrupt-names: > + minItems: 9 > =20 > unevaluatedProperties: false > =20 > --=20 > 2.34.1 >=20 --kbZNjUf7uTigHDC3 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZf3Q8AAKCRB4tDGHoIJi 0rSuAQDQBPGUs8icPLxwGsWSeXy4khapO+KonhR3hhzZarFPagEA+J5rYERXAPIm ZqcsXcmdvvFPcibF6kTToxC6lUyChgs= =JU55 -----END PGP SIGNATURE----- --kbZNjUf7uTigHDC3--