Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp529486rdb; Thu, 22 Feb 2024 10:55:55 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXRMi9EuUOtgNf23ODehKKI3EXJUEQC3MNMRmHBFcekK/R4z9HoY5oBF+9FXFQxfbN/OHwiGQaqe6xInpTO5wjbkvgVmGUPXwjKLUU0mg== X-Google-Smtp-Source: AGHT+IFq+cl1xVgsBCnM4Yd6MWPzKSTlUQ+RzPiDmH3ZaduiegCzuN/ED5QrWHXMZrSYeLLjz3W0 X-Received: by 2002:a17:90b:286:b0:299:9e7c:8c2e with SMTP id az6-20020a17090b028600b002999e7c8c2emr10567339pjb.25.1708628155032; Thu, 22 Feb 2024 10:55:55 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708628155; cv=pass; d=google.com; s=arc-20160816; b=vVPA/wBMfZN9+ndGjV18pQkQQKqcOZq1O9cCvO6n/S98I2WqomFxiJX2XKhHHcQx4K YRF7pZZZbf5pLvZQUJclv1b2xnAXRaXlQGCj6HU7WTESZKbgoWgJpzmL/el0Dte4huSF /moxdVed9UoSOTej8Yl0oZVXm5amRKwMtMgukPlzeslK1PzNJGWJ3yYZx30Rn7eAZZ5Z GBNIMCsfzQDIpFfxp3ku5Cd4VwBjPVLm62Z1J/I7A/Jzfqa3IpiLqqFo6vtHRk/ajp8z b0vAIbfZXCvkYKO7pld94pNm2IHui3W9pHFCtsvtUkse2ZKmX+vkWTkwFvolwalct2t3 MdeQ== 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=ipPFURMytp5+sCyx5ZwVQSUsXUYCl4+xqMSN0DMIap8=; fh=1u0CoxoltGjgjqwF9fdlGBt4W07e3ONUj9gNorp8XW0=; b=u5Lnwe5QUimqxvQFgv6Lgzfvayx+7Gw0x/LFWAv6ulzvivQ+QKEa0a7iwwGQoFQBJt +Uo7ITtsa5+d5wuPAcq9Yi597B/5PAyRuuSxu+dp5vkzC3T5BbAtUuRHjNQQXtgF4hmo ilRyJFSjr+uFKhmZRSba8f/p+Cc0zahi3oJ0BisF/X0zX6wQrWUrd0uHVWWNSIEgQORP ChxZ9FGf89DvhPI/D8AZV1h6Dm5/D+pkcHs4euygptbVRpXQcUXUXfyLl+YgWQ46yUKc ErtfLWfupTUu0zfQ6vRJCtfftVV2tiE649IpQd9RsE+te185lLNkCH4AiXFAjzbE+ycE /VDQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ENDhL9Lh; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-77133-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-77133-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. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id nu12-20020a17090b1b0c00b002994a6ac160si4201689pjb.84.2024.02.22.10.55.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 10:55:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-77133-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ENDhL9Lh; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-77133-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-77133-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 E7D38B23F4D for ; Thu, 22 Feb 2024 18:36:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CD1BB73F06; Thu, 22 Feb 2024 18:24:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ENDhL9Lh" 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 2E9AA5491E; Thu, 22 Feb 2024 18:24:35 +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=1708626276; cv=none; b=T+2iN2ZTW784Bnk9qWa7sY6/5nRIo1G/afk5I/hM6Zk9K5PnO6arFPskDOevD0l/7D9WR+yJJY7M7Yr1niVfVvNEDl7/JJHuCTPeUECSumXcM87/aLBx2Tz4CtyEwhRVJBvxN92/T3HcJwdLPvhyFgryYMhBj7eOQOlq5HJdO90= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708626276; c=relaxed/simple; bh=x42gYfFIle5hMZRh275TRKsrYsjhPinQRyYzAvbClLc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Zb/ZkJZ6S7ampiTDUk5HWB7p27St4g3A3EXzET4vauMhtYKBaaZzUmU94NvH5cVWZ2bnOWSoXuGAl7tigxi6VVkh7FTEiP1RCZOMBn75nR7su7VF8JzTpdFwJlyeOgLiSOw9zTEZ7dX8f/8bncBz7lGPBZgXlpEA7RuHfGUI9B4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ENDhL9Lh; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 43084C433C7; Thu, 22 Feb 2024 18:24:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708626274; bh=x42gYfFIle5hMZRh275TRKsrYsjhPinQRyYzAvbClLc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ENDhL9Lh247wVsy1yzU4AHQUn/r2Ra+9U5W5T1nwoWvQUHORHYW2dQJDMX6us/SsZ Kf+MH+cHbgHt8DLocbrYtO7O8/GszCzgx1/Cjwro0PU7rhoF3iB1Bd1ee3pIKvyBSh II4WRU5jieQ1yMD4OH3gJOxfef8bvwAPuqen1n9tw9uvrV7iNgwXXc2BTesd6/sFTe PMxgrqel9tEJmKPhUC2FFSJkK9JWCWyBrjdg1sUfWylGyiJ+/wNJ3Ne9yvihrjmKf2 UDSHZ9YOyDhgdI/K/nh2yjVOWLlhTSdJ7KW2WRvaCMf9kwxhyWDGjUfBflwCi3aSWs 8pY9PbfPtjvEw== Date: Thu, 22 Feb 2024 12:24:30 -0600 From: Rob Herring To: Arnaud Pouliquen Cc: op-tee@lists.trustedfirmware.org, Mathieu Poirier , linux-stm32@st-md-mailman.stormreply.com, Rob Herring , linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, Conor Dooley , Bjorn Andersson , Jens Wiklander , linux-arm-kernel@lists.infradead.org, Krzysztof Kozlowski , linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 5/7] dt-bindings: remoteproc: Add compatibility for TEE support Message-ID: <170862626977.3652711.10744856298270939089.robh@kernel.org> References: <20240214172127.1022199-1-arnaud.pouliquen@foss.st.com> <20240214172127.1022199-6-arnaud.pouliquen@foss.st.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240214172127.1022199-6-arnaud.pouliquen@foss.st.com> On Wed, 14 Feb 2024 18:21:25 +0100, Arnaud Pouliquen wrote: > The "st,stm32mp1-m4-tee" compatible is utilized in a system configuration > where the Cortex-M4 firmware is loaded by the Trusted execution Environment > (TEE). > For instance, this compatible is used in both the Linux and OP-TEE > device-tree: > - In OP-TEE, a node is defined in the device tree with the > st,stm32mp1-m4-tee to support signed remoteproc firmware. > Based on DT properties, OP-TEE authenticates, loads, starts, and stops > the firmware. > - On Linux, when the compatibility is set, the Cortex-M resets should not > be declared in the device tree. > > Signed-off-by: Arnaud Pouliquen > --- > V1 to V2 updates > - update "st,stm32mp1-m4" compatible description to generalize > - remove the 'reset-names' requirement in one conditional branch, as the > property is already part of the condition test. > --- > .../bindings/remoteproc/st,stm32-rproc.yaml | 51 ++++++++++++++++--- > 1 file changed, 43 insertions(+), 8 deletions(-) > Reviewed-by: Rob Herring