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: 461387 Delivered-To: patches@linaro.org Received: by 2002:a02:735a:0:0:0:0:0 with SMTP id a26csp487143jae; Wed, 16 Jun 2021 03:37:13 -0700 (PDT) X-Received: by 2002:a05:6512:507:: with SMTP id o7mr3286127lfb.453.1623839832808; Wed, 16 Jun 2021 03:37:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623839832; cv=none; d=google.com; s=arc-20160816; b=SuhFB22IZesYr06g+pdmZ0uV2uIbZJumZc1+1tryK/yfuWM0c3N8OnyZ6tqljGS6AF badrzDEAX5gN3j84zjg+J7mZQFZ9TUr+sxn9CluOC6cqObzX4JMJMnYPFbGgq3XUkgJR m7kE6CgfXFfOV76Dwk3+wtoJKMbSuiViOfb634yRa0IRCjGxdc3Vzih80JoK2LQH771f oO1LOEIvBthtA1LvsKBpi6/9itrRFLIVdfWk7F7bdRZhR/KhQ8MZZRci+D8TDLghyEGy +XBwaCCeXpq6qDLo2XzovzYKUuA7dN28qk2YXjNrwGbzrogaMHzyaYv7vJZ/hA1zmAYe mowg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=K9rTCswFDcSx/xadpaa8S03K2mvlJRdx5LDwjr8plho=; b=yiHUdAu007Ps6UYMI7p1CKSAz/2jqNXf3cYBiQ7hyngvXY8H2nW8Tx1yBxQ9cIuDjm fFpWVnseQiXlDElxh+OtEAxx4+LETcR7qHPdJS1uPYwv96axGLLNG8w4pyqmJJG8DF2v /oveGFOL6Oelvp1H0fgo/lFxK/EhL/DXoE6q3Fx39FvqFuxQD8l4Jiobdke+eBpmpIcy huCBQ2kLb06tjrrBL0yu+aNqRCuiZ6Mpk/H/Iq4sfv8hp++bIMg+TBG+FbJQBwMLVkXu pzB4zcxhPz7nlEssZ0w78DC3jxbuKkT6hztSXwG3PAqxH8WLwxN22qVZPyyXjKGIMjP4 Ah3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=I5t43eIZ; spf=pass (google.com: domain of jens.wiklander@linaro.org designates 209.85.220.41 as permitted sender) smtp.mailfrom=jens.wiklander@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id c7sor369664lft.6.2021.06.16.03.37.12 for (Google Transport Security); Wed, 16 Jun 2021 03:37:12 -0700 (PDT) Received-SPF: pass (google.com: domain of jens.wiklander@linaro.org designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=I5t43eIZ; spf=pass (google.com: domain of jens.wiklander@linaro.org designates 209.85.220.41 as permitted sender) smtp.mailfrom=jens.wiklander@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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=Jt3BzCQsof0qHn01SMhsTTMscK7oT6xsbh/pdW+e1B/tsD1if5vgrZ6j6mQA4Pxu1w 0xjLb/3Khr58p96t/lDQfZNDveklE7P+zJIPRpIqA4u3B2IRvUq0UNejZvXM1SrN0WJS EkEqYD24sGFNXoesPnRbndumrDYyfju5WWJ9razUEaQO0NTLun913JnrZBGHtnxOVab3 AdR5AsnTwUrjXSXsCKc5HMrci0UMFsdhMEN6tSYdGLuLwVXSre5KP3yjQVTpCl8tBPz5 O62JOAoxRRV6+UWpuwup01KsCa5loQqbRmkzVsJLOYyp6bLUh9RcKS8r/JobAuOZ6QZL VlkQ== X-Gm-Message-State: AOAM530i0ChOZtPpWTBZdDXxEg2tpCoUGsfMJCwXpJxQozMEeYxqusUn Rt+SljYUwS8+vq4pJ/Z+WejPxYNP 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) Return-Path: 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 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(+) -- 2.31.1 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>; }; };