From patchwork Fri Mar 17 17:28:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Etienne Carriere X-Patchwork-Id: 13179333 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 A2852C6FD1D for ; Fri, 17 Mar 2023 17:29:59 +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=jYn7nbsinK/waC85nsK6XmYzkCoEXwuSLZwg++jTWqY=; b=G+pwf7QCa7heKY TtEfOdowWGbmLVfV/zTPw++x87KXA2ASZ0wu18vqaqLmclMSNbWbxoQ7i5Qh/RIpVhy8f0wG+QYPn 4rAOlXt2uqsNkFY9EcUk9tiksxBuKskZJG5JWMXW7wERbWYtIoZQHcU/59G1NROJsfE2/1r3Yg5zK RMV28VK1FNU6K7tbW7tmRRFr4jmvSARIaCcF/51MZIFbfpCgCCbWIXe5zc9gjzK7wmyMHmQ7g7z8/ 8YBgmHM3hH/3uLnTwMtLdkBQ0wbqy8TmjvDLTLz9tknPVlVJFOkaC9p0LD0iolreTFAXJPbibt0gy ZyeDKln3B7Xx6dp4ADmQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pdDt5-002tCl-0n; Fri, 17 Mar 2023 17:29:07 +0000 Received: from mail-ed1-x534.google.com ([2a00:1450:4864:20::534]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pdDt2-002tBr-39 for linux-arm-kernel@lists.infradead.org; Fri, 17 Mar 2023 17:29:06 +0000 Received: by mail-ed1-x534.google.com with SMTP id er8so11513589edb.0 for ; Fri, 17 Mar 2023 10:29:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1679074142; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=0AHQcv/bratJAdxK3ULpQpAGRa2qj1qoNnym4PAT7wg=; b=P3qYQwjqIxftAhCvTvD0PfzVuZbAnV1KT502bmSIGNe7xa2LYBVdAIZ2haJaEvTuKu TP7UNBCiUOTRJ5jtoG301JmImBSIt2E+IeheEhfAwxu61iX0juRxDtyTtjGAIL+9cfyI udICmfus/NO8ciGqdnS884e4V6ptcSDPtNvZ3QaonEchkgpiZIrsBNAukzKlYfuQAmUn ahc+OwR4F0mydiL01ZKE5z+O88DLpC9WK+yyLuA5ve1QnGamLhuoelO8RVm07oQbmPyq fUuoBuQ/g0Co5qulVsmPJfWvPsIFADwxL39qClHUqtBDNrqD8nu2Ct+fGzAb2m0KEfZy hytQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679074142; 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=0AHQcv/bratJAdxK3ULpQpAGRa2qj1qoNnym4PAT7wg=; b=OGJfdN886iicuO52j5jmU3AIqGosDzfFOSv9s34ECsWPyxCvqC77iG8FQFrvMU3zLX a+QPJhkvm9h3l+tc+XRrbQwCdelEKdaBYL69N1EKD4aVf4Mt4kzbCpmWtlU5BxXcVMvw Vgif/KQTpXOB0PF9eLgmzRcyJSYwaP4sWHs6XaxqmCu9ojzsoATk0ANUK8h/U2IMg0QB XkxPmnvyTXipNzsyO8QNX4hhBs6N1jJ/3x+ji0E7SbLpI88ADfHf/nlp3+sgJ06VfYqv MATnMRrE4DqkvmUeU6qkWg2jDVQn/r2LvguHPz97x4J76WZ2nrazICAj0azi4Inkvk4Q mCOw== X-Gm-Message-State: AO0yUKUZXX/aVuv2q2gg7Nddp3yXaJJMkRsu8D7+rnkKLZ5v2oaVm1n8 zmQ8fWMfYPE4zlF5KJna4prEsxKmvMXqUt0g/Y8= X-Google-Smtp-Source: AK7set8rYAf/N7W3S+Kh3wYLQRtXPI+EzgUp0w2Y+WNXFn1+Wqw/rcS95U4yKnUMukiQ5vzVl0/Mzw== X-Received: by 2002:a17:906:17d3:b0:931:ed:e379 with SMTP id u19-20020a17090617d300b0093100ede379mr84845eje.67.1679074142534; Fri, 17 Mar 2023 10:29:02 -0700 (PDT) Received: from lmecxl1178.lme.st.com ([2a04:cec0:10af:6120:4312:7f15:6b35:a247]) by smtp.gmail.com with ESMTPSA id la18-20020a170907781200b00914001c91fcsm1200089ejc.86.2023.03.17.10.29.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Mar 2023 10:29:02 -0700 (PDT) From: Etienne Carriere To: linux-kernel@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Sumit Garg , Krzysztof Kozlowski , Rob Herring , Jens Wiklander , Etienne Carriere Subject: [PATCH v5 1/2] dt-bindings: optee driver interrupt can be a per-cpu interrupt Date: Fri, 17 Mar 2023 18:28:58 +0100 Message-Id: <20230317172859.989650-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-20230317_102905_038412_BD1C21BE X-CRM114-Status: GOOD ( 10.57 ) 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 Acked-by: Krzysztof Kozlowski --- 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]