Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp4758041rwb; Tue, 8 Aug 2023 13:23:58 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGtYrvm6+fsaapMfDil1HJWNPCvWu4DxFC/xwWJ1xrWcmoBAjzjz4OE+lOWvp9ggrSbSmd3 X-Received: by 2002:a05:6a20:5487:b0:127:72c3:6428 with SMTP id i7-20020a056a20548700b0012772c36428mr1100754pzk.18.1691526238360; Tue, 08 Aug 2023 13:23:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691526238; cv=none; d=google.com; s=arc-20160816; b=1LdMC6OvHrSLYperlgan6rQyZ0EE9grVYyt4NSsplRPdsfu1BFBmIZAv9asObmvnKF +dobHOhr/nz2OXWJusZlfG8ktX7fOozrbpeE4xOMFJJXyQd983KBCedjdzmzZBndC6uW QdJSnY5wnzUDhOGdvtVJwk8cNWGc5EnIgpIn0CNU59F4dZeMFnZWvl6HEnVeeVO/X7AA ZqB1ZOjJJi+yxVHAxCBz1XX3Pc8B9pwNLkUXac6c7d8inIVJsEqAG6jy8DwNEjVJc3Uu M9TWvS1woq0ZjXMWDCERGva67V3nBQnThUiypPlOsZ7vGy1xtm/caIN9eWlVssaA5Shj Dppw== 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=fUnPxukj2Qr6L2l0wdTC7eMcpALODKh4Naj3HyhR1hE=; fh=QBquaLAwX+Xt77drwDqmWXKb23zffSSkUkF4wos9Irc=; b=UOU9tPwJRX0WM9MsJI8GaiCsCOCRIS679s0Hw0CY0WhFg0yWNUWFnumpgGoBV0lq1F sHz/uv6KOusgKiVS8SXYKZI8dPn662S0W21nNM8tZ5xirVwCekylRWY0hfcZecO53yLy Toyxe8b93XAmYxmQ08ComnVY7l0QC2UHetvr5uOJzTpky8vZrxnzCg1abvk+YyZq5YmD R4EwLWNwFtM8arNznSLzwvOQVBvH5yYRNf4nzIMQ2jW8KiAEF8Jdqn3UtQmHU01WpeG0 JyAFWYhwkfwS5LT+avHGy/a5VR0XLwSAr7cgsBsROERnuwZHpUVS0xKn9S8AUO+hAYBs fpOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rsIaGXcA; 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 c6-20020a633506000000b0054ff38f6448si7715617pga.238.2023.08.08.13.23.46; Tue, 08 Aug 2023 13:23:58 -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=rsIaGXcA; 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 S236019AbjHHTWk (ORCPT + 99 others); Tue, 8 Aug 2023 15:22:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60374 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236184AbjHHTWA (ORCPT ); Tue, 8 Aug 2023 15:22:00 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5EA1310E9C8; Tue, 8 Aug 2023 09:45:43 -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 5E096624A6; Tue, 8 Aug 2023 10:48:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B3F57C433C8; Tue, 8 Aug 2023 10:48:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691491687; bh=g4Al6u/oxW9sOdVO40WZiYWYztfE/tWlGU1STUdbHRs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=rsIaGXcA79+KRvi55vDwZcaycKr5Mc/tVkLjU9fnNOY0UZLyw4vPkks1ugyvNMdZv srirx/T+v64qvDgrub2wSDxGiS/PYNi3uuTSQoz89p7MJQy3+2poNJRzUWKNVWRLpg wQP0U7Mdof49bv8EQ0mxaWPbO00xd64PzEDXDyLSCKUw1N6Kwpdr+2B21tHFn1aTwp E2oma7Au+eu76VP9dHf8q2a11dhwdmCzggYmbElo7c2WGOjSEHsYn3sM6kZdXQeANH EvYNDPEwf6tVZEpntFzO6jB/RyIpiIdleHwr0hQTx3SD77GNmeoiHOgVaKiRK8405H RaOFRZFBn8QcQ== Date: Tue, 8 Aug 2023 11:48:02 +0100 From: Conor Dooley To: Md Danish Anwar Cc: MD Danish Anwar , 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: <20230808-unwomanly-generic-67d20f0e51cd@spud> References: <20230807110836.2612730-1-danishanwar@ti.com> <20230807-euphemism-trailing-ef4130dc7437@spud> <910a4a98-712a-5517-5a5b-ffb962f83463@ti.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="RzfM45YTf9+4RvqO" Content-Disposition: inline In-Reply-To: <910a4a98-712a-5517-5a5b-ffb962f83463@ti.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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 --RzfM45YTf9+4RvqO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 08, 2023 at 03:14:31PM +0530, Md Danish Anwar wrote: > Hi Conor, >=20 > On 07/08/23 8:09 pm, Conor Dooley wrote: > > 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. > >> > >> Signed-off-by: MD Danish Anwar > >> --- > >> .../bindings/remoteproc/ti,pru-rproc.yaml | 22 +++++++++++++++++++ > >> 1 file changed, 22 insertions(+) > >> > >> diff --git a/Documentation/devicetree/bindings/remoteproc/ti,pru-rproc= =2Eyaml 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 betw= een 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"; > >> }; > >=20 > > These examples would probably be more helpful if they used the > > appropriate defines, no? > >=20 >=20 > PRUSS Interrupt controller doesn't have any appropriate defines. This doe= sn't > use GIC so defines from arm-gic.h can not be used here. These are specifi= c to > PRUSS INTC. I was deliberately vague in case the gic stuff applied too, but my main question was about the standard defines used for interrupt types. > I think these example are OK. Please let me know if this is OK to you. --RzfM45YTf9+4RvqO Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZNIdYgAKCRB4tDGHoIJi 0sfFAQDUGTaUH2VxL1ST+sf18hKE5yCqpFEUkOJu+bgGPLkmuQD/XAUCs4HrdF2v 1lu3PdJ0QSaQoDb36Qrpa6k3hHGvUQg= =l++a -----END PGP SIGNATURE----- --RzfM45YTf9+4RvqO--