From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EF42FC001DB for ; Mon, 14 Aug 2023 07:01:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:CC:To:From:Date: Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=78cS395pjblZkiGgfofWnL/KutJuWbB6TNTKwZ7YsLI=; b=AYZ9K7mrFqdE5KNFEQLCmsSNTk edodRSpqiiNmpFIt7yTLbo9X0YcpMlBh9Q+ONFuSJ0TDf6Sh6GPAVO/9vEekX1ZIvo7P0ej1QfCOg m2pwhYcFEgykyc3eQTa1q1w9sOHjcLV+4+N83tWKJoGGIB9PsRoxAdBP+Bz6pvykZDRFF2NbzzAZy 4i9wSxNAvKsff6J0pVFp9IA7C+XB+FR0WPIYUGHA/NRLQ9Pq1CNnjPL9kKAJEEuRAtZ2Fc7pwcgqY QdCfzSBqS6F1naaR+9zVQ/PjM5ABpMAyrDmTa2c3fl3q4YK6l7Q06EPxIGiqxTm9eqkXZECwhi+Bb CZEeI+LA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qVRZC-00GJgf-2p; Mon, 14 Aug 2023 07:00:42 +0000 Received: from esa.microchip.iphmx.com ([68.232.154.123]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qVRZA-00GJg0-14 for linux-arm-kernel@lists.infradead.org; Mon, 14 Aug 2023 07:00:41 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1691996440; x=1723532440; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=HyMtUxxgw2gVLDNuMwD4mMzvJ49O4kx94ybiRXJDRfw=; b=UqN4s0RSCMCMqnLdTDgSyAYTt2GIYP/n3qlLl4TpMxBSWn8u9ew2glqe aabU1+uvopmMPrISps68CpBSfsGMoALk+liGOOMC4ISEyoqiOfTw9tDnm uNpnNL2BZ0cwIELcLm5JXEyU0ddvry9t+Nn0WniuG+nC4zlhpWOQWBw3u 5PcPesyVOnluYgNi9elRsq+HHj38h1JXwzuzCUTDHOhAQ+n/15RuSo28M 3wgEWWl7MOWRDe1sMsp/7/nkEIuSMymOZHAT3vF8wrlqpgu2Fty1Ckz/y dvIe8N9NSGtIFmIVbO6HsAA5ik1j3AkRXHwosnrO/cFVstd/vvBhJ/UEv g==; X-IronPort-AV: E=Sophos;i="6.01,171,1684825200"; d="asc'?scan'208";a="166290856" X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa6.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 14 Aug 2023 00:00:35 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Mon, 14 Aug 2023 00:00:33 -0700 Received: from wendy (10.10.115.15) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21 via Frontend Transport; Mon, 14 Aug 2023 00:00:30 -0700 Date: Mon, 14 Aug 2023 07:59:51 +0100 From: Conor Dooley To: Md Danish Anwar CC: Conor Dooley , MD Danish Anwar , Suman Anna , Conor Dooley , Krzysztof Kozlowski , Rob Herring , Mathieu Poirier , Bjorn Andersson , , , , , , , , Subject: Re: [PATCH] dt-bindings: remoteproc: pru: Add Interrupt property Message-ID: <20230814-circus-preachy-b5b9f6ad07d0@wendy> References: <20230807110836.2612730-1-danishanwar@ti.com> <20230807-euphemism-trailing-ef4130dc7437@spud> <910a4a98-712a-5517-5a5b-ffb962f83463@ti.com> <20230808-unwomanly-generic-67d20f0e51cd@spud> <20230808-bazooka-uncoated-a3401d94b063@spud> <20230811-ladylike-snore-abba84731921@spud> MIME-Version: 1.0 In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230814_000040_454304_BFD4C6E9 X-CRM114-Status: GOOD ( 24.89 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0043472698038635434==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============0043472698038635434== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="QVaRVnEiOl5Q3z9C" Content-Disposition: inline --QVaRVnEiOl5Q3z9C Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 14, 2023 at 10:43:58AM +0530, Md Danish Anwar wrote: > On 11/08/23 8:51 pm, Conor Dooley wrote: > > On Fri, Aug 11, 2023 at 04:48:28PM +0530, Md Danish Anwar wrote: > >=20 > >>>> There are no standard defines for these interrupt types. However I c= an create a > >>>> new .h file defining all the three interrupt cells and their values = for both > >>>> PRU and RTU cores if you think that is required. Otherwise we can go= with > >>>> hardcoded values. > >>>> > >>>> Please let me know what you think should be done here. > >>> > >>> It'd be good to reference to the documentation for the cells, I don't > >>> think adding a header is necessary here. > >>> > >> > >> How should I reference to the documentation for the cells? > >> > >> Should I just add the details of cells in description of interrupt pro= perty here. > >> > >> interrupts: > >> maxItems: 1 > >> description: > >> Interrupt specifiers enable the virtio/rpmsg communication betwe= en MPU > >> and the PRU/RTU cores. The value of the interrupts should be the= PRU > >> System event number [cell 1], PRU channel [cell 2] and PRU host_= event > >> (target) [cell 3]. > >> > >> Please let me know if this looks OK to you. > >=20 > > I was thinking there'd be an binding for the interrupt controller that > > you could mentioned. >=20 > There is a binding for interrupt-controller [1] that I can mention. I tri= ed using >=20 > - $ref: /schemas/interrupt-controller/ti,pruss-intc.yaml# >=20 > But it was throwing dt binding errors so I didn't add the ref. Yeah, you're not a pruss-itc so that makes sense. >=20 > I will mention this file name in the description of the property like bel= ow, >=20 > description: > Interrupt specifiers enable the virtio/rpmsg communication between= MPU > and the PRU/RTU cores. For the values of the interrupt cells please > refer to interrupt-controller/ti,pruss-intc.yaml schema. >=20 > Please let me know if this looks OK to you. This is what I would've expected, yea --QVaRVnEiOl5Q3z9C Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZNnQ5wAKCRB4tDGHoIJi 0sOoAP493J6fgOaLp+xT4qZeoRYxhj410prJLo6DeSre5PkDgQD7BBF3IDKbwsZs ZER6gpf5G77oetGXKenPhwnAhW6RwwU= =a2k2 -----END PGP SIGNATURE----- --QVaRVnEiOl5Q3z9C-- --===============0043472698038635434== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============0043472698038635434==--