From patchwork Wed Nov 3 09:02:51 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jens Wiklander X-Patchwork-Id: 12600439 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 33156C433F5 for ; Wed, 3 Nov 2021 09:05:26 +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 00DB8610FC for ; Wed, 3 Nov 2021 09:05:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 00DB8610FC 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=hfrg6QWggQTRr1j/j5ayjnNhuAUm3FOhE5/06DG2clU=; b=eqOpk5QLT3sT0w YcVwE1kfqPR/uMOT//FO4n7svO/cbImYNeeoKhNFzBc99dzYy65lTXFxkhrVAKe/STSTjub7Nsmgz iQcCNoa48Nlzby4hrFoWXHyc7rZPQYyQgzMFoiPtbHLqt28q4SOIdQk+tW2j8jFBKmN3VUssZra7H 0lZfUxB4+cFCu5IZekyIoiZKpk7OVLfT+Z4y7ilReu8vHdzo0gHUdZ1MLP1uhSMz+k3bRagVhPDWC pOap3rSnTd5QdIHkez1Vsz35rHCfm+4/GdULQW72HXJvdmQYPR9f6G4Lg/vYk9LbIcb0lOhmc9AwV KCBChWuFzwtBH+//NV0Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1miCBP-004ci6-Uw; Wed, 03 Nov 2021 09:03:48 +0000 Received: from mail-lf1-x134.google.com ([2a00:1450:4864:20::134]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1miCAj-004cNn-QB for linux-arm-kernel@lists.infradead.org; Wed, 03 Nov 2021 09:03:08 +0000 Received: by mail-lf1-x134.google.com with SMTP id y26so3725445lfa.11 for ; Wed, 03 Nov 2021 02:03:04 -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=l1pD+W54nOd1j1DXeZbD9xPUudJRVhA/hpogE5bgZ98=; b=W5gPWqqL/vTOCl0ikB/He/Iy6BoWQ0Gn8ugg0PNm8wupYGpo3e3eYLEgb8FY7ldvGX SRZwUJZfVue7mJEnOViHYc5X47Nq4voUBE0a6OKSX1+9QfkYFN4uQqrdLMkZVNR3F9N7 TOuMBzYeHww3ZNADfeU5FhHlGZTqIJ1qt0w+qIfIQW7lQVvoR9DqcvAbS1kP72xCyigx xwgokiBrHPHXFukSLrcvKyzI7ZOyyvV4IkmOvR7UbiTLAX31A0jLsCpEmT5P0amhTJog 0z5ls78qhhdpnV23dt541mOYqsEvNuF93jRuriu0cjnGHxp1yw6kSnLz2yf0Lt0cO3Y5 J6qg== 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=l1pD+W54nOd1j1DXeZbD9xPUudJRVhA/hpogE5bgZ98=; b=fra/8dljALPz+CF8hKfepT72+etOPZQvlzmVfMWKeAw2e7kfCnd84zRRJZg79DrqlU 5AG5sF36DiFYIwAeiqVDku1UyJiFJKsvbu6leWJIwYsAputmEofGoVnjYZaNi6VkUWEv FnwsFgrUxauZAwBpAvVxit4K3wbbjjbjUaT/gR84ytn0r/uOTl6flTWY7PWGLS+AjVKh 8SHL60/egSQzqnb3A3eAFX9QY1zZ3zF2sxpGsR8zI6uzzDBszdDjhdef5BUv2flgnZAk W7kDB9+qy/K8RY8Tbgif/SgPjmqLysm0rfnRGungMUbtorsY9pm82QvFgLCZFnfZXkXj fjMQ== X-Gm-Message-State: AOAM531aKqTXM48pHHBDFIVKTNc0ECA/4yI4cfdOiJ/g8HLapPpeYmxd scHAav6h0Hxv2+C4XmhK7TYgmQ== X-Google-Smtp-Source: ABdhPJwnUcDDLnd9SouT4svV7Vbgm80iZWY9qCLuCd/a2zGcE97Tfy89TXyAetWh/lcgVSZCknb11A== X-Received: by 2002:a05:6512:310c:: with SMTP id n12mr25109316lfb.688.1635930182929; Wed, 03 Nov 2021 02:03:02 -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 w16sm124373lfr.233.2021.11.03.02.03.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Nov 2021 02:03:02 -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 v8 2/6] dt-bindings: arm: optee: add interrupt property Date: Wed, 3 Nov 2021 10:02:51 +0100 Message-Id: <20211103090255.998070-3-jens.wiklander@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20211103090255.998070-1-jens.wiklander@linaro.org> References: <20211103090255.998070-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-20211103_020305_870788_BB6344E6 X-CRM114-Status: GOOD ( 10.58 ) 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 | 8 ++++++++ 1 file changed, 8 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..9a426110a14a 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: | @@ -42,10 +48,12 @@ additionalProperties: false examples: - | + #include firmware { optee { compatible = "linaro,optee-tz"; method = "smc"; + interrupts = ; }; };