From patchwork Mon Feb 13 09:58:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Etienne Carriere X-Patchwork-Id: 13138129 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 5C05AC636CC for ; Mon, 13 Feb 2023 09:59:47 +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-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=jFlWuL089n/gE/1fi6Ux/e9iFGA3O3IruFNhLZMSbRc=; b=eOaQ1eWEjNM1gh 6zCmrM7v9GlNzY510QBkil3OCVkSTqDq7KSCXaDPp1pjemJ86YqqutJeD5Hdm912N0WWzBYGxKOMM sybJmKmCc3Y4426uS1yWS1nYrVs5B+jTvrZiy/91jmWjf7DSY4ZDizG2AKVe9AIu05MsSUu0pgnNQ RbGBoY4odU/Vjzxv/LZdxkfTvh9ps2oGWhrgbeuxxmP6Z72CAgb1KUas6DB2TBi5nh08kJLRUWHQH U5xefzDa6/Q2DfLClFVPdWKFbiTrzDV2Rwu/sufScSXPK96Zb8Tp+4XckbP2cTcKqeyJeJ5QhVOmJ ZkUbnwlz8lG5EYWaDyXg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pRVbj-00E05f-2i; Mon, 13 Feb 2023 09:58:47 +0000 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pRVbf-00E04l-Ml for linux-arm-kernel@lists.infradead.org; Mon, 13 Feb 2023 09:58:45 +0000 Received: by mail-wr1-x431.google.com with SMTP id o15so8197166wrc.9 for ; Mon, 13 Feb 2023 01:58:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=AjMgJb2ixqUEs/67uyolQpFmh3OuMlDckhQRKi1L98Y=; b=FQ3xp3hicKBpobKBfqxwNCK/02CxQJ4R62mNhManClSG5NsgKmfTBQmkwem8t4Efey /IOe4ONZV2ruScKfjdGU6/zXVVvYxkpHQm72M/Tb84GkmUAo2DrgycyLTJ20gg6jwmEq kdzvHtIdLhdWwc1I8dHjy8FOkGpoDz2SZ+cMsClIXd1EtabqpFn5jXO9bjAzLaVEMWRT 30pVh/hGjpAG9UkkrPZHlbbDmXbubZsNYa756NiKvEpfbvmFKw+nvXuGnu6lmgtiMNtY lHlpyRlHbxQR+Sge/GUrQndhvgZG9T4uf/aU9LTLRC327SLFwSkVQNxOrYSU9BGwwplw y3Aw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=AjMgJb2ixqUEs/67uyolQpFmh3OuMlDckhQRKi1L98Y=; b=TE/VxwTE3/3xM6lnVo0WBLg6dMkc9iHgyjfMA2W9c6j0d0mQmBwTYCS7K7cemE6kUX IBMySdfSt0Fuo6A+DQqH/XnBYJYrDrRCy4Y7Hxeca0KUmICCCbzN0QECXEUYK0crlwyu mA8FFg8YClV87R8OK1xSJNDUhZ+GsTpLClDSDlIbIM1KmEMLKdVAMr3rmPwVfcJaCaG/ jv0F48fKK8AT1kHY0mhGM7yh+fkOIOThZu7lfgPezr3XpO99EC2mI+SjdNgwIHGwNifo XvpQuaYZw/IPRwWyw7Wtc4wh9UhckkKkD69uLHkiQl7ANBOIu4u/EO0KItVQMyJ7YYVv r/EQ== X-Gm-Message-State: AO0yUKW8cIb/xgMwP3MsL02bO0RiHlFRH3MlInq5n75nDB49mGvEMnVs KKzbMVfw02MmBw3Ly09y+BvRYg== X-Google-Smtp-Source: AK7set+uYZsTqtSq+FM6NZkfE+ORgajvmR481WMnarK85nUaHLkfcGcszRKZzvQkouZpmDWlLi7bSw== X-Received: by 2002:adf:fcc1:0:b0:2c3:f78f:518f with SMTP id f1-20020adffcc1000000b002c3f78f518fmr17853836wrs.39.1676282320814; Mon, 13 Feb 2023 01:58:40 -0800 (PST) Received: from lmecxl1178.lme.st.com ([80.215.89.243]) by smtp.gmail.com with ESMTPSA id k21-20020a05600c1c9500b003dd1c45a7b0sm14105801wms.23.2023.02.13.01.58.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Feb 2023 01:58:40 -0800 (PST) From: Etienne Carriere To: linux-kernel@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Sumit Garg , Krzysztof Kozlowski , Rob Herring , devicetree@vger.kernel.org, Jens Wiklander , Etienne Carriere Subject: [PATCH v4 1/2] dt-bindings: optee driver interrupt can be a per-cpu interrupt Date: Mon, 13 Feb 2023 10:58:28 +0100 Message-Id: <20230213095829.42911-1-etienne.carriere@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230213_015843_788429_81CF928A X-CRM114-Status: GOOD ( 11.38 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Explicit in optee firmware device tree bindings that the interrupt used by optee driver for async notification can be a peripheral interrupt or a per-cpu interrupt. Signed-off-by: Etienne Carriere --- Changes since v3: - Patch added in this v4 to address review comments. --- .../devicetree/bindings/arm/firmware/linaro,optee-tz.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/arm/firmware/linaro,optee-tz.yaml b/Documentation/devicetree/bindings/arm/firmware/linaro,optee-tz.yaml index d4dc0749f9fd..5d033570b57b 100644 --- a/Documentation/devicetree/bindings/arm/firmware/linaro,optee-tz.yaml +++ b/Documentation/devicetree/bindings/arm/firmware/linaro,optee-tz.yaml @@ -28,7 +28,8 @@ properties: maxItems: 1 description: | This interrupt which is used to signal an event by the secure world - software is expected to be edge-triggered. + software is expected to be either a per-cpu interrupt or an + edge-triggered peripheral interrupt. method: enum: [smc, hvc]