Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp2183863lqb; Mon, 27 May 2024 10:25:47 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWDLAFiImE5LawW/xf9LTL4BMevemKfM4RyzYNKVe1edEM0eTmzsqOASKI1Hz29X37mptNZ1Q9pvxRI69QgGzo5fBjxz5DbF1+DzGLgbw== X-Google-Smtp-Source: AGHT+IFjypB//d8fGAShfwBO9X7v1C5+WS5voScRkXJNjBJHWTo6H0RQP0DFetyzpkQRRPUboNwz X-Received: by 2002:a17:90a:bc85:b0:2b9:c9d5:47d4 with SMTP id 98e67ed59e1d1-2bf5f204d6emr10072750a91.34.1716830746874; Mon, 27 May 2024 10:25:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716830746; cv=pass; d=google.com; s=arc-20160816; b=xEhQ41hA1u78eIkuu0hD1Mnh+dRJJbPIe3afyIgESNw1iKyXTr246KyvoiEV7BiR28 uaEh5/YrE2r/Oy7J04KQKZ8yyx9L0yFbJc4knuv9mRjiedPhhUiov5xcXRs1NKperxqA ygdgtb8pCclVd6MTTC2YHKWx8DFLOw5rhqAk4FH6/785PVljWeaKfPs89dxVhdNoCASl jiprkQ7m56ixoXhwrHud1KptvzKSqGT7K2h/AjzUOmRinVFWPGblwKfaGJLLQ8VE2G5S kJwSLlW04N7s+QNA/Rd+MNQq2gSg6vL8ANNIxdr2R1lpgpQH98XCfL3sz9QJQMtPSGrG adRQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=gSVtWnldnZQllmMbRum27BL7QtGmRA5VldXfXUSrfms=; fh=XMFay7q8PHgYxnJUIVTOXURgybznt8SEHzXKG13ydBY=; b=BEqI9iokhbCJLggGv8drWzp+q+ceipewdU848m2QheUFQ9FtG8NOlHb+jqsEaYjE4D l/mInPzpOcBmU4+dOiZip81y2gkAKAk7gnl/JYpiQaRv/pQS9gTERfaBEgh10g7J4h7D 8ytSgYxeV1c5O84NcS6QOZ0qNdIbgx3vn5a+YfpVZsrkBdHRN6vDJfjYr9SeOU2wGqfQ /fdvYdDIFE+HkNFRaRAVZxQ3do+yxc8AIKBseaOd2mDRKfWJ6ESGtnQ/fJOFvATUfDQS SJoK9rhtFqi8d3LUQ24qQu7GVSdJCsi96JP+xh+j7Yd8oTGPMoAUJTXZJUvrRgf3VHWh 47Tw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=xRduAUbn; arc=pass (i=1 dkim=pass dkdomain=bgdev-pl.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-190625-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190625-linux.lists.archive=gmail.com@vger.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 98e67ed59e1d1-2bf5fcced30si6343873a91.59.2024.05.27.10.25.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 10:25:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-190625-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=@bgdev-pl.20230601.gappssmtp.com header.s=20230601 header.b=xRduAUbn; arc=pass (i=1 dkim=pass dkdomain=bgdev-pl.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-190625-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190625-linux.lists.archive=gmail.com@vger.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 02E30B234FC for ; Mon, 27 May 2024 12:57:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AFC1E15EFD4; Mon, 27 May 2024 12:56:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bgdev-pl.20230601.gappssmtp.com header.i=@bgdev-pl.20230601.gappssmtp.com header.b="xRduAUbn" Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2BB0215ECE4 for ; Mon, 27 May 2024 12:56:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716814608; cv=none; b=uDkKtASCNg9hYNqJtmst36PqOb0xj/NCqt20HD3foMnnjlq8xk5780IK5hsOaIRoRegKxKc7ekxIT6wm7T8M2cf1Kyc1UnuOI3okQqJC8hiOE+ax3BuscuHPq9IEDV/5T0IL+qpvwdevlRlbx8mh+H+aReufatJw/Ml8tTmj9Bc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716814608; c=relaxed/simple; bh=PmL0knyiFwKjqefmONOyJvZ61yztGXVY3oaQIhEJ+f8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=k/ATFfdHorzit4C3FzbtWIBzex3i6LwuyIsieqdNKFrT2w/m3leTzLl2MqnEuSvl3K9jCQ1TRrVcIVNHpShupYlkkJCr3zMwCPbZ4GYwBAofPY5rilNjxRcZJ34KmARLCQHvtFsrAT6ipN60T7uhh3Cio31thGL5dNfQE2jn8y4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=bgdev.pl; spf=none smtp.mailfrom=bgdev.pl; dkim=pass (2048-bit key) header.d=bgdev-pl.20230601.gappssmtp.com header.i=@bgdev-pl.20230601.gappssmtp.com header.b=xRduAUbn; arc=none smtp.client-ip=209.85.128.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=bgdev.pl Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=bgdev.pl Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-4202ca70287so32184545e9.3 for ; Mon, 27 May 2024 05:56:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20230601.gappssmtp.com; s=20230601; t=1716814605; x=1717419405; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=gSVtWnldnZQllmMbRum27BL7QtGmRA5VldXfXUSrfms=; b=xRduAUbnD8fVQlyKaI8HA7Aj387MkspIRTZJcW6yN159iUs11oceLRHHZEiZ2TDrIn T4r+aTzvZYyoHr7sMG3XunVUIQAOu6Kpn6ogB6xnujG5yuwlXMe6ZD8tojMTM2+TAAjo z6UCjWV7+CZgaA2xEwVxU+GGREUXtu8MQll4KJLwuelSErjAKb3cS3kkUjvqzaMEGtSB /HgR10kmUINxFY9QPStcCGSu16hTGC54T2PP+BZBJVH5RvMie3LiR7MMgwnOSDavPRHj 5aaViZYigaNktnRtzmWKMdz1RjUQHwGvZWC48UBInnSE3SSnKSPweIztahQJNn6HW9Pf YMTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716814605; x=1717419405; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=gSVtWnldnZQllmMbRum27BL7QtGmRA5VldXfXUSrfms=; b=NBkOFxMy7LM2SPMsidW9PH8EmbzylTMKyTS7KZZ49ah5k7b1bxTj07ftxwgqKvIiHX uw/0csicsMvXY4yLsYP2vMFqUtftfIJWxRisRhMX9/qudZ57Ot0t6zzoU+OS8RlL8WU/ ccU4NNAHXLAIelwt5c0otpirAT/JJkJ8pq+K1KMNE1DGBlsPlsPgV50Wlf1vL4fVIV2E H9EI7HInfP2eotg7b1kIcsUdvSpCmRi2+NJeO3Ol2Iyn3psCMuZGWc26cRojkM1pZfNz SK250Mx4TT7mXAFEqE+3TugoPXoyq3+fag8NvYVx2A2QpIKivtUG3poTZy6stBVEjAQG YY+g== X-Forwarded-Encrypted: i=1; AJvYcCURlIIndONP6drCzxuX9eXj4ZXoVj4g86m+BPygldZDkHCAZCU1DlOjapfik9swBiPmpSGGyIZLcsu0t2g96j0wHtyLNYAwjGSY4s1D X-Gm-Message-State: AOJu0YylVrcfqnBetvM9jxVqQmx+PIqrGjhx+XMqMjjZzLQPFk3DY5kL jmFKuu0paPVN42OgyzIlXU0ohNMJzvA1H4dedIOCDOYG5zwV3IQF1lhrgHZjiS8= X-Received: by 2002:a05:600c:4f90:b0:41b:f979:e19b with SMTP id 5b1f17b1804b1-42108a18a20mr82816285e9.39.1716814605588; Mon, 27 May 2024 05:56:45 -0700 (PDT) Received: from [127.0.1.1] ([2a01:cb1d:75a:e000:c322:131e:ff9d:ef41]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42100f64f98sm138753635e9.24.2024.05.27.05.56.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 05:56:45 -0700 (PDT) From: Bartosz Golaszewski Date: Mon, 27 May 2024 14:54:51 +0200 Subject: [PATCH v10 01/15] dt-bindings: firmware: qcom,scm: add memory-region for sa8775p 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="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240527-shm-bridge-v10-1-ce7afaa58d3a@linaro.org> References: <20240527-shm-bridge-v10-0-ce7afaa58d3a@linaro.org> In-Reply-To: <20240527-shm-bridge-v10-0-ce7afaa58d3a@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Robert Marko , Das Srinagesh , Bartosz Golaszewski , Maximilian Luz , Catalin Marinas , Will Deacon , Srini Kandagatla , Arnd Bergmann , Elliot Berman , Alex Elder Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kernel@quicinc.com X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1335; i=bartosz.golaszewski@linaro.org; h=from:subject:message-id; bh=ImiNTKfKDCEq2Ei/PD7lBaqJ136fJAWHXhcyLN3vk+c=; b=owEBbQKS/ZANAwAKARGnLqAUcddyAcsmYgBmVIMHMxbQga0jenpeezcT1mcfHP3O2WFdrsXNk TEZx9DPVBSJAjMEAAEKAB0WIQQWnetsC8PEYBPSx58Rpy6gFHHXcgUCZlSDBwAKCRARpy6gFHHX clpRD/0aG7ylQh4jojsxziBkTqtk4v9MTFH/EBs6S4/0Gt7VqiXwXp7c4Ex8QSma6oUMTce68GH puCIl3MSyEhgTnJo3iso4WVwG+7BH8XKQ2rK8xF+iPo9jjgNpgaEMYywaw9C25BRpjDbYJqp9XM 5tJWQH19IlXgf2w41Rnd163qjS7k6+x186xEonSfeE/+Aob8+tDi3tIh/SeHp8Z6U/bg1kUqqiT KUar9IfUwX+fv+V09sWWKxAF6vRyUGslRXDg2zyYAhjIcYhLuAipMRiQ39L9LDLSE3sxBNNqRUA hq2JQGfTc6YxnIVP47k3yYj4zkETHRuyT43331yFSp7QAJRllvXTh7O5/iOAwpQzapzc2kYWAqR dBmVjrCBktferBQkVWMLlreNTIU/6xAW7N1QNrhbG4T5pkWQK6deAMJ9CF7Wg5cH5vPOmJdkKsd OWgk8piBvK1CYIz8/S0h3/fseUq+CF4q0nZhLGnAVT76VfjEmkDi3VqCiT2x30Cl4tNlvBOotIK pVFEK9AmQRHdpNqX6ehIxGQeY8yHvOF/Nz6lrfqQAuy9ooJLMjKbU3dM77bq59Cv3nwg+sIEwUK iTrVmHHfBGuU3AKGCZstJGCBkSL4TaIJHi0hWd9dbC/X/uYOtFQQpZvr0dDXqYh+HscKuIFh7Vf b9DX3Pi3DKzJ5gw== X-Developer-Key: i=bartosz.golaszewski@linaro.org; a=openpgp; fpr=169DEB6C0BC3C46013D2C79F11A72EA01471D772 From: Bartosz Golaszewski Document a new property (currently only for sa8775p) that describes the memory region reserved for communicating with the TrustZone. Signed-off-by: Bartosz Golaszewski --- Documentation/devicetree/bindings/firmware/qcom,scm.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Documentation/devicetree/bindings/firmware/qcom,scm.yaml b/Documentation/devicetree/bindings/firmware/qcom,scm.yaml index 47d3d2d52acd..2cc83771d8e7 100644 --- a/Documentation/devicetree/bindings/firmware/qcom,scm.yaml +++ b/Documentation/devicetree/bindings/firmware/qcom,scm.yaml @@ -93,6 +93,11 @@ properties: protocol to handle sleeping SCM calls. maxItems: 1 + memory-region: + description: + Phandle to the memory region reserved for the shared memory bridge to TZ. + maxItems: 1 + qcom,sdi-enabled: description: Indicates that the SDI (Secure Debug Image) has been enabled by TZ @@ -193,6 +198,16 @@ allOf: then: properties: interrupts: false + - if: + not: + properties: + compatible: + contains: + enum: + - qcom,scm-sa8775p + then: + properties: + memory-region: false required: - compatible -- 2.43.0