Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp857818rdb; Fri, 22 Dec 2023 07:09:18 -0800 (PST) X-Google-Smtp-Source: AGHT+IFG7dck6Uqa4d1HGSLkfvRdKBvtOT4KcGCzzQ6EcnEFomvHUm+z1zumqPvtO1TFrh9XSSfL X-Received: by 2002:a05:6a00:2da8:b0:6d9:64cc:bc18 with SMTP id fb40-20020a056a002da800b006d964ccbc18mr1270486pfb.22.1703257758083; Fri, 22 Dec 2023 07:09:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703257758; cv=none; d=google.com; s=arc-20160816; b=RCu1hSX/6MlRWyYavROivNv2giQ6JOBv1ksq5+95FyhM8npBj6aAVXg/Hp1WEkdax2 rmATU7Q7dIwxAOsxcBLdZUB00P1QIJ9gJ8ANIywN2Zt0HR84VIq+ImqVyT35rOJ9nbkR fen641hQgbZSr4lscgiM+I/y5097qdEw1OqdgJGYMYaBtEuf2mnrBDo7IL7WpB3/BA2J I5w61czILbgAcLCyd/BwKrcP7CL+gES/SvyQKuAsOePC80QEunkCV4q0o9m3fvRDDnMJ LffoonFIZ97GrpOJd1nkDqVfc7pJUJ9QzR50SGcqyzmKCe1kU/pVdeQlwO9V3CnToZQg K3aA== ARC-Message-Signature: i=1; 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=QKsD7/3iN4ODvvjNv947DB6L9uQaJjdBT/a4noYL/b0=; fh=dIVbBVIxox3j7oSsahlRjGIZ/neqQJ+RCTelf5Nr6x0=; b=xsAVIpO+wDD+6+slL6oW/qZa/uE+xqK6aqWaEOOl5i7jW7JNsUPO+epmhPJ/YKwTnv xG6DUwWZjD+gEMC8csMUun7yXs31YPtM0pQirX88HLRlsJsLXAMHYcar60zoQHLS8Rz8 JnhQK5cwWCeUSWA/Tms+sG49f1ppIsjygbAtHH+fnRc/27gVzYbixHWJhaoTrUzb6XFs SMl7Kkul4zL4rNalLL/vjD8bd6dnjP8VYN3QpLQmqZsncn2Gml1mgMcEKb9BHiUy76/k b/Uy/6/shpWzJD+WJq2NNQvsSnYxFikWrWQsKtDgyRDMD0FtZLbQkyXEnp0d6yxbxk6w 4few== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Pj1auZeM; spf=pass (google.com: domain of linux-kernel+bounces-9811-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9811-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 17-20020aa79151000000b006cbd8179b4csi3346332pfi.108.2023.12.22.07.09.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Dec 2023 07:09:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-9811-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Pj1auZeM; spf=pass (google.com: domain of linux-kernel+bounces-9811-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9811-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 2E73EB252E1 for ; Fri, 22 Dec 2023 15:07:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AE90923757; Fri, 22 Dec 2023 15:07:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Pj1auZeM" X-Original-To: linux-kernel@vger.kernel.org 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 D633C1CAAD; Fri, 22 Dec 2023 15:07:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A24D4C433C8; Fri, 22 Dec 2023 15:07:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1703257640; bh=lz9jX9ZQQWUL3HJ4uKy+xNfuOW6S4uTXYnJqWi7HVSs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Pj1auZeMLIYM9vAfcdZWY598ztp4RYNvw2gVvnfZEUqC2f0V9DwMDu1JcGNXtZEm8 hsh+iRj3mrJBwcsO1dd7tlT6ot97BI0mX7a8vplphRtjiIl6dajoZat4fdHziamV0S g2mF3M7avj6MYEDrO8SMBKir2RNttPymcl8KMAQKaCkHCsCKZ2oap6l4e+tz+gtfXc bdXiTBJGz/6Suxl4oeJx43BTzHUhXliL3KdLo2NMisZVecGuUxMJvhvKtEwPDUdDNk GolJj07/sQ1UxmE6PTS25TYKhcc/plpi68fEFB0lP5H5oK1z7LqLxLykVNzEZfTet1 rZChU9wO9lZPA== Date: Fri, 22 Dec 2023 15:07:14 +0000 From: Conor Dooley To: "Jason-JH.Lin" Cc: Jassi Brar , Rob Herring , Krzysztof Kozlowski , Matthias Brugger , AngeloGioacchino Del Regno , Chun-Kuang Hu , Conor Dooley , Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-media@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Jason-ch Chen , Johnson Wang , Singo Chang , Nancy Lin , Shawn Sung , Project_Global_Chrome_Upstream_Group@mediatek.com Subject: Re: [PATCH v3 2/9] dt-bindings: mailbox: Add mboxes property for CMDQ secure driver Message-ID: <20231222-unpicked-jaundice-837baa3092ed@spud> References: <20231222045228.27826-1-jason-jh.lin@mediatek.com> <20231222045228.27826-3-jason-jh.lin@mediatek.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="5C0G5NxMMW7lzTZE" Content-Disposition: inline In-Reply-To: <20231222045228.27826-3-jason-jh.lin@mediatek.com> --5C0G5NxMMW7lzTZE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Dec 22, 2023 at 12:52:21PM +0800, Jason-JH.Lin wrote: > Add mboxes to define a GCE loopping thread as a secure irq handler. > This property is only required if CMDQ secure driver is supported. What do drivers have to do with this? Either the mailbox channel exists or it does not. That said, I am not sure why this should be in DT in the first place, can't the driver for the mailbox controller reserve a channel for its own use? Thanks, Conor. >=20 > Signed-off-by: Jason-JH.Lin > --- > .../devicetree/bindings/mailbox/mediatek,gce-mailbox.yaml | 3 +++ > 1 file changed, 3 insertions(+) >=20 > diff --git a/Documentation/devicetree/bindings/mailbox/mediatek,gce-mailb= ox.yaml b/Documentation/devicetree/bindings/mailbox/mediatek,gce-mailbox.ya= ml > index e4da0a58c943..0c17e1be99c2 100644 > --- a/Documentation/devicetree/bindings/mailbox/mediatek,gce-mailbox.yaml > +++ b/Documentation/devicetree/bindings/mailbox/mediatek,gce-mailbox.yaml > @@ -56,6 +56,9 @@ properties: > include/dt-bindings/gce/-gce.h of each chips. > $ref: /schemas/types.yaml#/definitions/uint32-array > =20 > + mboxes: > + maxItems: 1 > + > required: > - compatible > - "#mbox-cells" > --=20 > 2.18.0 >=20 --5C0G5NxMMW7lzTZE Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZYWmIgAKCRB4tDGHoIJi 0v7KAP9rXDTXnNEgdhcvQJISjTma+ULoi7AVf044gvTAiu+I4wEAhI0/WGXRcWI2 sMsJ6dV7i7ItV4+IYNJ+EBRIZruR5Qw= =gZJH -----END PGP SIGNATURE----- --5C0G5NxMMW7lzTZE--