Received: by 2002:ab2:3319:0:b0:1ef:7a0f:c32d with SMTP id i25csp57385lqc; Thu, 7 Mar 2024 10:10:09 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUwCahZSDulSx0cHhu/Y0JxK1wIWbmP6kvf3h+lAKRy27/6/JmbEvUC87ptV9Oz9VUCt9tvyP56AECZtV6/aHQExpoHiJjfpKDVK/O95A== X-Google-Smtp-Source: AGHT+IH/fDK2R5Czzw8LyI4KkC1vc7uAFDeji3dAFq77eqZQjS67zeJoPJJKwa4HcypjlEc/oza2 X-Received: by 2002:a17:90b:a05:b0:29b:9bb0:ef26 with SMTP id gg5-20020a17090b0a0500b0029b9bb0ef26mr1483699pjb.3.1709835008848; Thu, 07 Mar 2024 10:10:08 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709835008; cv=pass; d=google.com; s=arc-20160816; b=uRTEBFHWJWAZE5vYGsb2cgB18FtInk+b75wqds3xisLIFO8urvhD0O0KhsNm0pUF7m ECAfT2RgLZSNc3q7QSrnLEPbC7C0gC1H/4uxHSsZwG8wythQdcC84NK9HzzyzzvQJS1A VL/YvspMgYZJU/7qNJCxAnz26dwUmU/kacOu9JuXMGRTKA8ATmczx90CdosViQBIFprz YTPDtk4Pyv3DTas3eA3VYL7YAq8pv5qy48ox8QaL2vAhDOh76ZQeVuk0utICloFYmXHT l0kXAZBWRDMZE0GQnLVqwJhs5Bjro16EVkuMjUs3IylRDCG5lQAOJP5voeZqKBDemYn+ Audg== 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=Ozb6VCxCIo+jaWauUj/jSCc/v+1dacNwe3Hq49dJFos=; fh=0XnNe4Lk2qRBMfy26DV3GBUYxcrbo1cpBUrBuGBx210=; b=jk6L7tqsBHYYmHnrP8XT3C+MeiQsrD8IV05xM5np0k31gncYiJENkzhHfcnkCB+lKm 5tRaJk4y3LRvhjsUQpqTn0PqgZYryaRkMf/cjRu+LsU0EGiTIvcJ4jb2VbE+LUqoM66t nFuwRVriQdztUZiemfOSkSn4fEptrdRRNuCCqYBTIpYO6Hed96GhArNyp9S9Lkm5VO8h /Wu8AUdnsHlKCQFsSU+yuq6kCRfONk7mrmjsUkVWNVlPBE50RmoqxCoZe8P1R/eKWVyh x5hGgTRU0i7/xBkjmiBQtUN+gyvRBeL+/Nu+gZUp4zolUZnGXi8MYV5nyPXKD7EZbF5O QLkQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="Rtgi5Y/T"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-95997-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-95997-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. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id j11-20020a17090a94cb00b0029b875cb70esi2120911pjw.31.2024.03.07.10.10.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Mar 2024 10:10:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-95997-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="Rtgi5Y/T"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-95997-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-95997-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 80EE12850AE for ; Thu, 7 Mar 2024 18:10:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 77B4A131E31; Thu, 7 Mar 2024 18:10:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Rtgi5Y/T" 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 8BE6E161; Thu, 7 Mar 2024 18:09:59 +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=1709834999; cv=none; b=dNZzekNWEoSl8bMnRpV3RlNbD4bu9919lvVU6g+GeMRZItwVQssmbnDg4tsx285Lzkhb6v+i7ykOA8Wt3q8VAqlb/ppAZcsWjI6pj5xWCWZo9hVOsvcTwa86Q7MC+VtGoWpp4qciI+oazo6zpdS58rMS4qAqEM/ffEG2t0nm0wc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709834999; c=relaxed/simple; bh=kbVZqvLa1aqlyB3vVu8jRk+f0oMHO8cw/P5eYurNs08=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ZYOAkS05o3IUCrtmNfhbS9tFjRnpa4NJQNym1BkRaJ8K3tKqcAPJO5E4hOhGRFpx9P+WtZte6p6MoN8n551kuPl/0xuscZq/pty6QDpKyV08m/9jgTe+f8z7DiA3l4QykJyuOBlMUg8Aa473fuI7HBLIEgU+kSux58s+HgkAQpo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Rtgi5Y/T; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4D219C433F1; Thu, 7 Mar 2024 18:09:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709834999; bh=kbVZqvLa1aqlyB3vVu8jRk+f0oMHO8cw/P5eYurNs08=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Rtgi5Y/TTHBALriEjOpaxqLTfiGFJpriaiBh9q6KG7N4sl2eDnKIQYwp/KIusV4kh OxNUpzMTKwVvou90Kd5Ub5QfJkRl/6HNtzX+lSUHLbdDa2/zhy/2WPjHyp6vbNieNS ds0ZrHO+9x5Xl9hsTOowG1N5UUNQgIBTQ2D3RpwqtKTcJx0HX0wEewnI1djUeVKkK9 CgxOb58kMyJgEtip4eE0SsfxHxLn48sa/jS+kxnVOhyc1NF4KhllClXOm9UKHY55mS OZpPfvxo6u7hmPYhe1EbRicjRmHN2FgytTqUSoHtlcT+DqU8e+I7o+6+/hM0avoyGp E+qftcapZ5mfA== Date: Thu, 7 Mar 2024 18:09:53 +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, linux-serial@vger.kernel.org, devicetree@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Fabrizio Castro , Lad Prabhakar Subject: Re: [PATCH v2] dt-bindings: serial: renesas,scif: Document R9A09G057 support Message-ID: <20240307-unaired-pawing-7e5183a89c97@spud> References: <20240307114731.34953-1-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="kqshKBrZL8ASvBWS" Content-Disposition: inline In-Reply-To: <20240307114731.34953-1-prabhakar.mahadev-lad.rj@bp.renesas.com> --kqshKBrZL8ASvBWS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 07, 2024 at 11:47:31AM +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 only difference being that the RZ/V2H(P) SoC has > three additional interrupts: one for Tx end/Rx ready and the other two for > Rx and Tx buffer full, which are edge-triggered. >=20 > No driver changes are required as generic compatible string > "renesas,scif-r9a07g044" will be used as a fallback on RZ/V2H(P) SoC. >=20 > Signed-off-by: Lad Prabhakar > Reviewed-by: Fabrizio Castro Acked-by: Conor Dooley Thanks, Conor. > --- > v1->v2 > * Added validation to check interrupts and interrupt-names count >=20 > Note, this patch applies on top of series [0]. >=20 > [0] https://patchwork.ozlabs.org/project/devicetree-bindings/cover/202403= 07114217.34784-1-prabhakar.mahadev-lad.rj@bp.renesas.com/ > --- > .../bindings/serial/renesas,scif.yaml | 31 ++++++++++++++++--- > 1 file changed, 27 insertions(+), 4 deletions(-) >=20 > diff --git a/Documentation/devicetree/bindings/serial/renesas,scif.yaml b= /Documentation/devicetree/bindings/serial/renesas,scif.yaml > index 6ba6b6d52208..a9c60334d702 100644 > --- a/Documentation/devicetree/bindings/serial/renesas,scif.yaml > +++ b/Documentation/devicetree/bindings/serial/renesas,scif.yaml > @@ -77,6 +77,7 @@ properties: > - renesas,scif-r9a07g043 # RZ/G2UL and RZ/Five > - renesas,scif-r9a07g054 # RZ/V2L > - renesas,scif-r9a08g045 # RZ/G3S > + - renesas,scif-r9a09g057 # RZ/V2H(P) > - const: renesas,scif-r9a07g044 # RZ/G2{L,LC} fallback > =20 > reg: > @@ -91,6 +92,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) > =20 > interrupt-names: > minItems: 4 > @@ -101,6 +105,9 @@ properties: > - const: bri > - const: dri > - const: tei > + - const: teidri > + - const: rxi-edge > + - const: txi-edge > =20 > clocks: > minItems: 1 > @@ -197,15 +204,31 @@ allOf: > compatible: > contains: > enum: > - - renesas,scif-r7s9210 > - - renesas,scif-r9a07g044 > + - renesas,scif-r9a09g057 > then: > properties: > interrupts: > - minItems: 6 > + minItems: 9 > =20 > interrupt-names: > - minItems: 6 > + minItems: 9 > + else: > + if: > + properties: > + compatible: > + contains: > + enum: > + - renesas,scif-r7s9210 > + - renesas,scif-r9a07g044 > + then: > + properties: > + interrupts: > + minItems: 6 > + maxItems: 6 > + > + interrupt-names: > + minItems: 6 > + maxItems: 6 > =20 > unevaluatedProperties: false > =20 > --=20 > 2.34.1 >=20 --kqshKBrZL8ASvBWS Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZeoC8QAKCRB4tDGHoIJi 0r/5APwKFTZsYs6kP59xEaj+Cj1JP9q4vyRIEmkRiuEDlPR3gQD/eC44HjW8j8Yp Cbx1d+0Ow5bozd4yQTk1H9WgMNJo8QY= =2N9o -----END PGP SIGNATURE----- --kqshKBrZL8ASvBWS--