From patchwork Wed Aug 18 10:18:45 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jens Wiklander X-Patchwork-Id: 12443857 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1EF7FC4338F for ; Wed, 18 Aug 2021 10:22:40 +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 D3AB960F35 for ; Wed, 18 Aug 2021 10:22:39 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org D3AB960F35 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=Yq4oSWVtXO21reC6s2rrtqk1CSV60FR+31zS1/1KFnE=; b=BM/lXGfZ1ePmvm pfzNHngnZCqPQeourcd9lvH0H9FD7AI5mGZroE3XcyRdp+vKALOVKnoKID5hHXKVFGQtUFMPTpyql OUj8TCNSZqccf+SI6pBsM4gMEtWY7Bz5H3tFoo/fhpIhIw3KFoLBQ9kfhEftsQmCnio1Kv2sYdMl/ gIWaZ7gfDgCScDz09TCIgEzLiGuFwnQB6A52+QJGrhmW/Zd/SrjaLLjT4gF0Wz0/VQZ/wZR3ZYy8F WU8CUKlBflp+wu930GdRRr6AErnTN0eYNMt8KXEATEGpTBOwjQ6CpOwhrjLG+Zy/8HHM6i8fGAyl0 a1s8Qc11m1/zaTQUJDOg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mGIfv-00550Y-69; Wed, 18 Aug 2021 10:19:59 +0000 Received: from mail-lj1-x231.google.com ([2a00:1450:4864:20::231]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mGIf6-0054ob-Ug for linux-arm-kernel@lists.infradead.org; Wed, 18 Aug 2021 10:19:15 +0000 Received: by mail-lj1-x231.google.com with SMTP id s3so4102875ljp.11 for ; Wed, 18 Aug 2021 03:19:08 -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=+EURWhH8sGR9daHaYkT3BdDLoArts6pdVBSEXGUtCzg=; b=BiJ9teTdKajkzKGPUoRipcHjcD3HB2lGdLC5Mk6PQ9QExSAsNPFeRM2BIhC50Bjxsr plLphumV70hQBqVMeLKeQkW2mi6np9BsajgR59HEcABi2XJKqplwnv/Il1n4zd2HsxDQ QGUef1FnT+JBikAyJ91dqi0Zp0cW22j1TE9pihWbx4N3vUSuOFU9vY/IdH+xEf8LsdCn 23dYqAtWqsr57aRbE6wCYJ5Ng/MyeJyFzEbmMBq9VVZcPiHTMN+d2Rngf2Ikmwickdq3 45CaKJmYxv/Klg0RYXb/HJANjeKuhZyh9I6N6uDH0eqRLAQTwd0Y868e+fTJF+slNR3z 8qZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=+EURWhH8sGR9daHaYkT3BdDLoArts6pdVBSEXGUtCzg=; b=emtm7cFvdm3YTaqrf/NXr8/JQOJJ0JRXm65RTHnCx06CJ1A3zsJ9TGlSLfAkZsQ8d2 GQ1wnzpCM+rzVYje5oZuKBIaaRwtPWRQsgcxB2J8amnE4Yz6dlnWKlY4Ajzb9lbOqSbT VfVRc7sgH1cKgNyPJ8FxCOgkfRraw7hRxIzhwM+sFBavZWuBxIuALJfgQJaM9kUhWOkR FyNKL1ivoBsGLfYZ86YCCTGbejvAq+PW9gZgDWbLHfIgz46QWm2NnRkLPRXUfTd4ICov t/2ZPvMaMjiUg0iZ0hWW+KzevNwDuoN7VZldY3jic20YkSynxYiaI5UyTmOzCq/mnIsT MfuA== X-Gm-Message-State: AOAM530npNmzhT8/XobXOyq1VE3FAxfAcINdy+Mwfryxkdf/MUQu6s8+ DDoYD5mnz4ZOT97xcRdMKTIkfg== X-Google-Smtp-Source: ABdhPJzOW7Kozgoiry8RIxKir+y+alfHCPtAaAe4Vn32DNb1r3/zYM1moeKdnBFFo1/nvx0mRBhdzA== X-Received: by 2002:a05:651c:490:: with SMTP id s16mr7228280ljc.214.1629281947028; Wed, 18 Aug 2021 03:19:07 -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 l27sm451160lfp.245.2021.08.18.03.19.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Aug 2021 03:19:06 -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 Wiklander Subject: [PATCH v4 2/6] dt-bindings: arm: optee: add interrupt property Date: Wed, 18 Aug 2021 12:18:45 +0200 Message-Id: <20210818101849.602257-3-jens.wiklander@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210818101849.602257-1-jens.wiklander@linaro.org> References: <20210818101849.602257-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-20210818_031909_049753_AA6BF0B0 X-CRM114-Status: GOOD ( 10.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 Adds an optional interrupt property to the optee binding. Signed-off-by: Jens Wiklander Acked-by: Marc Zyngier Reviewed-by: Rob Herring --- .../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..40c9f1901e3f 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 = <0 187 1>; }; };