From patchwork Tue Oct 26 08:31:34 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jens Wiklander X-Patchwork-Id: 12584155 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 60E56C433EF for ; Tue, 26 Oct 2021 08:34:20 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 1F34C60E75 for ; Tue, 26 Oct 2021 08:34:20 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 1F34C60E75 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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:References:In-Reply-To: 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: List-Owner; bh=CLuNhXVvJ3xRUfaHibbJjg5B/S+BYMPiDF6ORxub2/s=; b=tSoIkc/7FxsBlP nlWMGR16YrjVgtJKKkM3vwTLBdGEBS9j0G2jAHfuPuzbsWpgmWrH55Mjvg/aPzhA2IagCCxUlixCN dhE6+V6QCg2CaKAnAsZgjLVOQJMCUQf3j3nG5DwkXLz5SlwktxenYDZj9nxwtz11dJX2W4N8eoB/e +OUxU5ibfEOFa/XU7x7U3L3HtUYeiaegw2swPDiuKZcq95CgxxC1SQ+fla6kE2T7+Q+QV858Y2+Aw P+2wR42LdSrxCJc7iorQBGARphkqjzdYsq5RzzSV02wIwxqLgpdSyGfI2aO84kNQSFPDpuPrm1D5e UdwuZemwK+6NzISQ95zA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mfHsZ-0012hS-GR; Tue, 26 Oct 2021 08:32:19 +0000 Received: from mail-lf1-x12a.google.com ([2a00:1450:4864:20::12a]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mfHs3-0012VI-OA for linux-arm-kernel@lists.infradead.org; Tue, 26 Oct 2021 08:31:50 +0000 Received: by mail-lf1-x12a.google.com with SMTP id bp15so17906845lfb.4 for ; Tue, 26 Oct 2021 01:31:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=lebGj46PReB/jYqLYTRNyATlJPGl1b++aN+0TzzN0dU=; b=HFPDaIe0FSG17SlNbr/XfHi9GbovkltsDSLf/2tcws62seD3SVo+eC3jN6MU8lPVPG f8d6POp/E1Qbl6st6hEi7KjHt2xmj/eUUDtUKfBcKyPUnTrz+iB4E0/TA1IkgmUYXFuJ E2OMt7K1YAar99LNiZpgnPxtHw5sF00tUSf7wdmpNCvbEOiWWSGKo6TcMUADiB3ra0KT EhXEVJZogDb7WieJB5yI+KHM9M+iQiToeMj1X36/Ax7LWb24NoSd2ThX5aaAJAi0/Nva VTfpS/AEjbwTOSG3vMpTXQwrPq9g70HHA2Qm/D5zUwE1XSZd0TNJR9KjpczJPPa6tRlp Zecg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=lebGj46PReB/jYqLYTRNyATlJPGl1b++aN+0TzzN0dU=; b=HVaPunyruvAECsR+/qx+RHyHpYTgXdaYDIbMf5RxsPMkJY9At6q2wE3ZDVdQQ7lJ5R bzwDGs94RASMVYhXIQG5yocipp6yUaNZMe0yMQXCiqt77nE8+clwN5/JSCH8v2yTZY3b qSXJ7DtnX4g57YN0Dag16HC1+iC5EWZnYg6oabRO3LQaXDQUDgahKo3+X+UvO4B77QJh /cEUTnjAW8qImT9JWxO67UMlQFfwvOXlMARpMdDWG+BN1/wDgif7CFYECUvwDnQKMyU8 DFZomTYL9RIameMZ7bNtZnGLb3UbtNpv26/HGI6OeGfZMAgHGurZ35WMDKl9mva5c3iE FHsA== X-Gm-Message-State: AOAM533aBJqNSqsqklr3aMZiE6d/g3QSfHKEMlj7lpkizvdH+kLmSxoq zmFveUDFXtJZ/2ntOZcgjPGEYg== X-Google-Smtp-Source: ABdhPJwi/NhOsJNV+7TfpXgr7mASg93GoMFK9MJYs75wQMRSAlBpmGrIrx8DxTogu/92EHklJiKG2A== X-Received: by 2002:a05:6512:1153:: with SMTP id m19mr21052153lfg.418.1635237105698; Tue, 26 Oct 2021 01:31:45 -0700 (PDT) Received: from jade.urgonet (h-94-254-48-165.A175.priv.bahnhof.se. [94.254.48.165]) by smtp.gmail.com with ESMTPSA id e4sm1944598ljn.131.2021.10.26.01.31.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Oct 2021 01:31:45 -0700 (PDT) From: Jens Wiklander To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, op-tee@lists.trustedfirmware.org, devicetree@vger.kernel.org, linux-doc@vger.kernel.org Cc: Jerome Forissier , Etienne Carriere , Sumit Garg , Vincent Guittot , Rob Herring , Jonathan Corbet , Ard Biesheuvel , Marc Zyngier , jens.vankeirsbilck@kuleuven.be, Jens Wiklander , Rob Herring Subject: [PATCH v7 2/6] dt-bindings: arm: optee: add interrupt property Date: Tue, 26 Oct 2021 10:31:34 +0200 Message-Id: <20211026083138.1818705-3-jens.wiklander@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20211026083138.1818705-1-jens.wiklander@linaro.org> References: <20211026083138.1818705-1-jens.wiklander@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211026_013147_830606_A70F8687 X-CRM114-Status: GOOD ( 10.14 ) 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 Adds an optional interrupt property to the optee binding. Reviewed-by: Sumit Garg Reviewed-by: Rob Herring Acked-by: Marc Zyngier Signed-off-by: Jens Wiklander --- .../devicetree/bindings/arm/firmware/linaro,optee-tz.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/firmware/linaro,optee-tz.yaml b/Documentation/devicetree/bindings/arm/firmware/linaro,optee-tz.yaml index c24047c1fdd5..26d46ac0dbc2 100644 --- a/Documentation/devicetree/bindings/arm/firmware/linaro,optee-tz.yaml +++ b/Documentation/devicetree/bindings/arm/firmware/linaro,optee-tz.yaml @@ -24,6 +24,12 @@ properties: compatible: const: linaro,optee-tz + interrupts: + maxItems: 1 + description: | + This interrupt which is used to signal an event by the secure world + software is expected to be edge-triggered. + method: enum: [smc, hvc] description: | @@ -46,6 +52,7 @@ examples: optee { compatible = "linaro,optee-tz"; method = "smc"; + interrupts = ; }; };