From patchwork Wed Jun 16 10:36: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: 12324747 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=-16.9 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 6AB8EC48BE6 for ; Wed, 16 Jun 2021 10:39:37 +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 3705C61164 for ; Wed, 16 Jun 2021 10:39:37 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3705C61164 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@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=euSPrwurCdqajv/OEKT0I1pQlHfCk08k1HObdTnM2Hs=; b=doLGlrptXHoUg9 8fXGHfey6eMdaLFpsEXXgtZS4k8oivu0g9XvA1C8MtJ5peg4RqJmFPVhrhIlJmxFPlo29CRFsTzyW 5Md3E5icsfWVO6o4Zeey1dnKIr5noJ/SHKXQZ597LiRmNpCSkFXoHPRb7QWkY/cxhjfk+yFy8xLYF ESWdrshy+0WF8ypBhw2BNfZ4X6G7CNDcWucnJlnpc35/dY+ZcwWzaKtK3ZnYwE7GqFK9ThUc3IZgl hj9ueZXYWN0SdBAqLdmziNUu/Lq1isGeS9nxa48bZCR/R/r5yYeA1dpMVSjmFy5JBgEIX9qFrS8TL q9BEiwPAhHPKugOcoreg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ltSw0-005qZw-9N; Wed, 16 Jun 2021 10:38:12 +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 1ltSv4-005qDi-9S for linux-arm-kernel@lists.infradead.org; Wed, 16 Jun 2021 10:37:15 +0000 Received: by mail-lf1-x12a.google.com with SMTP id p7so3513822lfg.4 for ; Wed, 16 Jun 2021 03:37:13 -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=K9rTCswFDcSx/xadpaa8S03K2mvlJRdx5LDwjr8plho=; b=I5t43eIZCnjyPa+pKdyMqKnMr/EQajUpEvuogScKNI+ErMEJmin3AHBzvsqi3F7Ved 49qQwy0hURavSmoJCaIwZ8dVmjdLqfsi2jRYXP+/C8l5fy09a/kHDWT7UE11u5sLMj8C h0GQzuVeB4zGiuGdGPjZHgvzy28JGggJE+s7yMliKSGCW/h09IjRdygF5eVc7n66S4xH Z9kbx6w+CsSJx2cbAL+nCv0c0V8djUMkZfwg4IdiHJoNQ4YW8Uz0dXDx5qE1p5n1tHCa 66Oc3U2PfmFdFTGUVZdSzhc/W7suK+3/79px/ibN3lyI2Z5eo5mEdoU/d6O+U/z9FuIM O2Yw== 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=K9rTCswFDcSx/xadpaa8S03K2mvlJRdx5LDwjr8plho=; b=py67JEvt1gck2bsAZCK2BNKUUd6WEqTWo/u6ol7hg7SWQHTN6k/+jUkSlBpWOVFjiF 36qSyzFhevC6xUE2AX1dZc25xh8Um69BwzmTHHcJT723S5ShWLN1oKU1MDCpj/3nC/du ndasXHOvpXE+9sjwo/boG1IVk9LmjrcSfmcA8Qf9MLLdlNO/cfKkzc1w3Mj1Zcp9NvVk SVJgvt6HdENH+EzJtXfWyOBv9BT5z7wTV4C+3tDVt4uLX/cZEIX2/YeJItCfosimpe8B NKeNNP/Z8qB452bYfkrNxvLUYQMoAyO2wmzDGDWSIKZCxow55V95sXAd56p2utmS1LRX LI3w== X-Gm-Message-State: AOAM532JcdylJBWRr6CJxuYHXqYOwGtOTyGV8zmiVvCHq2r6gxf9OJ9J ozudmbXGMPT7yHxSOtTeMKT86Q== X-Google-Smtp-Source: ABdhPJyRRh0Pb8kvyCXq/Lr9lQOLxI0JWINcPh9CvxE5rvjcyHijONeFGS2Ue+Juc03F1Wjspl6pIw== X-Received: by 2002:ac2:4c0e:: with SMTP id t14mr3228126lfq.555.1623839832447; Wed, 16 Jun 2021 03:37:12 -0700 (PDT) Received: from jade.urgonet (h-79-136-85-3.A175.priv.bahnhof.se. [79.136.85.3]) by smtp.gmail.com with ESMTPSA id m17sm205621lfh.288.2021.06.16.03.37.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Jun 2021 03:37:12 -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 v2 3/7] dt-bindings: arm: optee: add interrupt property Date: Wed, 16 Jun 2021 12:36:45 +0200 Message-Id: <20210616103649.2662395-4-jens.wiklander@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210616103649.2662395-1-jens.wiklander@linaro.org> References: <20210616103649.2662395-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-20210616_033714_393990_4F33B235 X-CRM114-Status: UNSURE ( 9.85 ) X-CRM114-Notice: Please train this message. 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 --- .../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 c931b030057f..3efbe11b637d 100644 --- a/Documentation/devicetree/bindings/arm/firmware/linaro,optee-tz.yaml +++ b/Documentation/devicetree/bindings/arm/firmware/linaro,optee-tz.yaml @@ -24,6 +24,9 @@ properties: for the reference implementation maintained by Linaro. const: linaro,optee-tz + interrupts: + maxItems: 1 + method: description: The method of calling the OP-TEE Trusted OS. $ref: /schemas/types.yaml#/definitions/string-array @@ -37,6 +40,10 @@ properties: in drivers/tee/optee/optee_smc.h const: hvc +required: + - compatible + - method + additionalProperties: false examples: @@ -45,5 +52,6 @@ examples: optee { compatible = "linaro,optee-tz"; method = "smc"; + interrupts = <0 187 4>; }; };