Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp3114810rwb; Mon, 7 Aug 2023 08:27:15 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGlFBbGgl+I0pPxjVvWBO2DAVHveUEnM+Knx67kHNmJ8X1CcT9fUuEzNdorr6V8KmjgiiM7 X-Received: by 2002:a05:6a20:f3a8:b0:13d:315f:26b7 with SMTP id qr40-20020a056a20f3a800b0013d315f26b7mr7316986pzb.1.1691422034623; Mon, 07 Aug 2023 08:27:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691422034; cv=none; d=google.com; s=arc-20160816; b=iAanTLhlO2mQC69h/sAheVwbs7bGE2jkQLol3uT2zLLg4JTjL7Gr8yH9cLINGU3uxh tpo7fnak6A+qQoteoqMFHe/P4Vi+feqZEHmjHEvBibLKCFGf2KXrcIERqylKCbzXc+T5 AP9+11OvG7WKx8I+qGaZ3L9eDBK0j8hdquBC5SaL/4/J24RuqeCiNvDZ0vESpSomDs19 EUk4hejv1kLL/E7MaxkxCZvj+rDHtmGcDi2RA/0OQwONEiFF6Dnd3J+zbai3PZ1cBWw2 gtBSb3VP9EpVX51JlvyszL7DxAVNSO9eBspJurVOHN/MiMp1iOm+3I9wBG/24dPKliXd Ru3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=NAP9cG2x5Tc+kijB+YTPp+8viJH6beHLiDYbMX6m/CU=; fh=1omtimlr+KSfOA6IYUZa3DGKl2yPMCVqSwIFTXKKGjY=; b=urila/LBH1AaiKxZENNaNf2et5m85F33Q7BR0C58Oct9clo9qxNQhWYX54gorNO5MR wmQEp7+nacjmKeu6+z4ojlgzH9xicGI2xWjvi7drZH2CyPX3m046njqzMLli/9GuaHOD p8Mxdf3S6SGwpIFCUffM6ka2yfY2/oyhKhDae37mCChofQRj8wfyiZYOt70sn1Rzly/9 rj+bKBy8mV0Z21q5NHdKxG1lSZXIppS+/rxHNceXtf5VFgVBreok2kgUhkGxn0idps7V 3m8J7/7+K90GehtbwW8ozKRpuRWw+Tdezv2iMNMqEpLba6UA2NMbCnHb3h7hMzkLO8bj +jDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XyObQZUI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e4-20020a656784000000b005572b13d228si5738649pgr.277.2023.08.07.08.27.02; Mon, 07 Aug 2023 08:27:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XyObQZUI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234735AbjHGOjb (ORCPT + 99 others); Mon, 7 Aug 2023 10:39:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50210 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232968AbjHGOja (ORCPT ); Mon, 7 Aug 2023 10:39:30 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5BB0A10DC; Mon, 7 Aug 2023 07:39:29 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id EDA1161D5E; Mon, 7 Aug 2023 14:39:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4259DC433C7; Mon, 7 Aug 2023 14:39:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691419168; bh=iQco7pxNtitwKp1HMGQSoYJsu9kvGpQLvoFE/amgGtQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=XyObQZUI96AhyQVk1KiJRgyc+06JUEN3JWAeVsYTu9Auesm40X6tyStZ2VEF+445D 5KX/jJW04r+pqmmph88HEwa86wtORSzzOEBkovvWzwc2P+FaascJwvkxYR4Yd7X5NE Tm4ltGmdBLS8taEqA4MpDAsJaYX36De+cuoWCHHtL4rO/dLIG4kHIN5bo6OpzETDmG rM/oA2YmtSNMYY33tqdQVF2urVWi2BSNbBaDJisp6dHsKXJdj52MtaPP4xJlL3S+2j mRRFXkU8ZqvAWFqkgcpek2Wj6uiZozb65CJZu5sRRUe47EPnca5y8uiCMvypkot5VF Ex5u6xGiWQzuA== Date: Mon, 7 Aug 2023 15:39:22 +0100 From: Conor Dooley To: MD Danish Anwar Cc: Suman Anna , Conor Dooley , Krzysztof Kozlowski , Rob Herring , Mathieu Poirier , Bjorn Andersson , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-remoteproc@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, vigneshr@ti.com, srk@ti.com, nm@ti.com Subject: Re: [PATCH] dt-bindings: remoteproc: pru: Add Interrupt property Message-ID: <20230807-euphemism-trailing-ef4130dc7437@spud> References: <20230807110836.2612730-1-danishanwar@ti.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="1jdWVwq42WtLkpBA" Content-Disposition: inline In-Reply-To: <20230807110836.2612730-1-danishanwar@ti.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --1jdWVwq42WtLkpBA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 07, 2023 at 04:38:36PM +0530, MD Danish Anwar wrote: > Add interrupts and interrupt-names protperties for PRU and RTU cores. >=20 > Signed-off-by: MD Danish Anwar > --- > .../bindings/remoteproc/ti,pru-rproc.yaml | 22 +++++++++++++++++++ > 1 file changed, 22 insertions(+) >=20 > diff --git a/Documentation/devicetree/bindings/remoteproc/ti,pru-rproc.ya= ml b/Documentation/devicetree/bindings/remoteproc/ti,pru-rproc.yaml > index cd55d80137f7..6970316943bb 100644 > --- a/Documentation/devicetree/bindings/remoteproc/ti,pru-rproc.yaml > +++ b/Documentation/devicetree/bindings/remoteproc/ti,pru-rproc.yaml > @@ -66,6 +66,16 @@ properties: > Should contain the name of the default firmware image > file located on the firmware search path. > =20 > + interrupts: > + maxItems: 1 > + description: > + Interrupt specifiers enable the virtio/rpmsg communication between= MPU > + and the PRU/RTU cores. > + > + interrupt-names: > + items: > + - const: vring > + > if: > properties: > compatible: > @@ -171,6 +181,9 @@ examples: > <0x22400 0x100>; > reg-names =3D "iram", "control", "debug"; > firmware-name =3D "am65x-pru0_0-fw"; > + interrupt-parent =3D <&icssg0_intc>; > + interrupts =3D <16 2 2>; > + interrupt-names =3D "vring"; > }; These examples would probably be more helpful if they used the appropriate defines, no? > =20 > rtu0_0: rtu@4000 { > @@ -180,6 +193,9 @@ examples: > <0x23400 0x100>; > reg-names =3D "iram", "control", "debug"; > firmware-name =3D "am65x-rtu0_0-fw"; > + interrupt-parent =3D <&icssg0_intc>; > + interrupts =3D <20 4 4>; > + interrupt-names =3D "vring"; > }; > =20 > tx_pru0_0: txpru@a000 { > @@ -198,6 +214,9 @@ examples: > <0x24400 0x100>; > reg-names =3D "iram", "control", "debug"; > firmware-name =3D "am65x-pru0_1-fw"; > + interrupt-parent =3D <&icssg0_intc>; > + interrupts =3D <18 3 3>; > + interrupt-names =3D "vring"; > }; > =20 > rtu0_1: rtu@6000 { > @@ -207,6 +226,9 @@ examples: > <0x23c00 0x100>; > reg-names =3D "iram", "control", "debug"; > firmware-name =3D "am65x-rtu0_1-fw"; > + interrupt-parent =3D <&icssg0_intc>; > + interrupts =3D <22 5 5>; > + interrupt-names =3D "vring"; > }; > =20 > tx_pru0_1: txpru@c000 { > --=20 > 2.34.1 >=20 --1jdWVwq42WtLkpBA Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZNECFwAKCRB4tDGHoIJi 0uAAAQCv+PBOP8/27AfSbERfPzfJ8qe0qOYDPQZg6GEo/lmsPAD+Nb/9LP9+9o+J 8HIuSivmkOmx6egC3SyRduL0FiYz9gs= =IG6P -----END PGP SIGNATURE----- --1jdWVwq42WtLkpBA--