From patchwork Wed Mar 22 13:22:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Etienne Carriere X-Patchwork-Id: 13184041 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 0CAAAC6FD1F for ; Wed, 22 Mar 2023 13:23:24 +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=DRBNNhurP0ow8ZAWOe6/vATN7g/SaBvhuTmGv6+NpOE=; b=17lm5OTIEb1KVd Qh1fc3ZDIprKzAqvXPP8zA0D4QMcKls9pqjrROgqNgMzq2opU0v+Rt3YvSoOu55T8TwePcN4IaZca IBx5mH0rjdtjZt2Kghy9qxN0F1092KKPQvTWG9GuA8mP5/at26aHd68HNiqebx9LHNay/aSiP10Zc NR/7cucN6JmvZ0zWtnC5ghzcigANe9uz3abYt0mZRxaz0hcx8hNVZrpjnXcOqZ5Tn92AdfvMO3DZF jnuLX3SmYziFJ+qpQWS0vEnPkq82QUoSUc9+BEoKmbEV9rcIYS7MSNLNC6+sOHg20ADbOtI7GElJ1 fzQw8rOYXWFd9CPOG0MA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1peyQ4-00G5ij-2t; Wed, 22 Mar 2023 13:22:24 +0000 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1peyQ2-00G5gu-0X for linux-arm-kernel@lists.infradead.org; Wed, 22 Mar 2023 13:22:23 +0000 Received: by mail-wr1-x42c.google.com with SMTP id l12so17049243wrm.10 for ; Wed, 22 Mar 2023 06:22:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1679491337; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=/th2kVXqjdns9liPbOqVpfvQOOnugD39HQJSOA9ztTc=; b=pL+wBj+0z0up+rhipjI0mF/YWlGkhnUhxRFWlY0VrM8H7RGDLDT8NVnvtrXDbH/qxv oo8f5XZ2oLFdtUPxLOGq060KNa3KYV2DSyxyZfy+ORtuvas/UPvb1GWgR1hPwrvFXk/c w/NIYwsSO7Ab57meYQ8MVZT2yRw0h34ldBlFpK7PjyR1NHijNHtS1lrjMNWfQwC+LeUP sOAPDYNYf+Kzg7Oq56SCLOV81q2eYa6ciqlw6dCS4ijHvbXkvq4qEGYM1A1Rgm7SLXon 9fjtSqjfMQGGE0MGk40DgOsqDW72WAhgo0SVJ1CRkRYVabLNrgmHcv2usdKMLDsUk0Sv TMHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679491337; 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=/th2kVXqjdns9liPbOqVpfvQOOnugD39HQJSOA9ztTc=; b=jVYeaIzfafLteDpIOU5UsdcnOGrSmGpnAHwUbaW5WUfbhBLJH1UUc6D3I1PxDXkkaS yQcIptRAirRmVK4EdFkw4GF5o8BK+HjksU3ln4t+Qy8CtiwB8pkotDmqDElYqVq457F6 XWHWQNNWCgMLV1/9IEFbqJ1g7tW1aqclhXTziSuEvRxXz32JdQ1tz18kX67ng3O4VC0l 2hmcSzcVEp8tIO9xhWIRU3hj0ufaMCq3ny6Ot5HWwktHpU2VIHnd7kEaMxHFkLPlBPzL OSBUkE1AghvBDMrJRbOMXa+bDxu/SzqYCrquYQQ7hBIO4NChn8Orrd9RQr+cfhqk3edy YrrQ== X-Gm-Message-State: AO0yUKU/8DSxlQxYJ1FQcGkjJ0LJIHVtCyx7GIIaBYEOYvTgVztPwLZf jlUWocwDShfz0P0E9tk5icg1uw== X-Google-Smtp-Source: AK7set86MU4ZYUAdrbcE61ulD+05sFsSTTWYsqJ/0JpKmJYJ93tqt8VQJ3y810OcoH+0SaOGq9k8uw== X-Received: by 2002:adf:e405:0:b0:2cf:efa5:f505 with SMTP id g5-20020adfe405000000b002cfefa5f505mr5453463wrm.43.1679491337429; Wed, 22 Mar 2023 06:22:17 -0700 (PDT) Received: from lmecxl1178.lme.st.com ([2a04:cec0:1013:81e9:8520:c2b5:32d0:9bd9]) by smtp.gmail.com with ESMTPSA id b15-20020adfe30f000000b002c706c754fesm13867142wrj.32.2023.03.22.06.22.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Mar 2023 06:22:17 -0700 (PDT) From: Etienne Carriere To: linux-kernel@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, op-tee@lists.trustedfirmware.org, Rob Herring , Krzysztof Kozlowski , Sumit Garg , Jens Wiklander , Etienne Carriere Subject: [PATCH v6 1/2] dt-bindings: optee driver interrupt can be a per-cpu interrupt Date: Wed, 22 Mar 2023 14:22:11 +0100 Message-Id: <20230322132212.3646972-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-20230322_062222_227162_AA9BC415 X-CRM114-Status: GOOD ( 11.65 ) 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 Reviewed-by: Sumit Garg --- No change since v5 No change since v4 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]