From patchwork Thu Aug 26 12:30:28 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jens Wiklander X-Patchwork-Id: 502855 Delivered-To: patches@linaro.org Received: by 2002:a17:906:f46:0:0:0:0 with SMTP id h6csp162451ejj; Thu, 26 Aug 2021 05:30:42 -0700 (PDT) X-Received: by 2002:a19:504c:: with SMTP id z12mr2611295lfj.554.1629981042256; Thu, 26 Aug 2021 05:30:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629981042; cv=none; d=google.com; s=arc-20160816; b=M1KmXF7t5wikBxnLOaJ4a8wWqmZcURZEs/gAo5TlkltLhYTwmXxMw3pUUs+jXhIrgF Bp8NPggMoNxUqe1KEqFMIX34G+R6M45UD8umCUnau9/MaCIbatfR8E+YkCvIfsqB15Vc 4wlOsiaJfVQ+Yl9mUFXOnTrgEpHf7jmojPaa6lRNat0v7DMYhnJGjJtZG3p1r2nbOq9S OcwXeOLC7qpnwFayKwV0pRhXpsHWUb57pLbgdLJ+RtoPI10qOZ0s3LTGW3TdjURz4pDW ldIEW42kTvw3YWSx3pRWgF6OnnqN142nMy4CwdZu/+9DZ9jSAfOBW3ug84PK542bKlUv JRqg== 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=iDycTN9yyDhhTwc3Srtfw/Rl+6JzgcjoQzGWlzOIGrY=; b=vRaQbdXpetmAd+78ovdgFrB+rLYVO0uOapDxsY+UaG49QeijEEo4/zZuIveQpgki/D 7SVJEVT+woqgqFA2pPjV7HZGoyJCtIlKxwubpYlf0K+Q5/oPBDEqts5vDj/+G5+vAUPn 0oHE/g4mLT0RL8MgGLLqkWUrFYHkZIzzW/tT5J0Vfdd8OXQHazkhK3GupgS0VF7xP7Lo fXVcrUNY0cqOL2rY6vaklvA2vnzbCCaaAUiSfKUPCq639/IYhwxQJFAkf9s/Inm/Xwa7 5RmX3yyNbBC1JY5bafpmC6FcMi0/5u0u8rSe3cJ2Ophj7g4uRGAmkkUkdONH9tIceSGo MsTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nlXC4jk7; 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 q12sor314283lji.21.2021.08.26.05.30.42 for (Google Transport Security); Thu, 26 Aug 2021 05:30:42 -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=nlXC4jk7; 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=iDycTN9yyDhhTwc3Srtfw/Rl+6JzgcjoQzGWlzOIGrY=; b=nlXC4jk7imssziF4BZGKjdqHB/e4Rwx+jmB/xJpnO+gQjFcrnSB9voLWQJ4SVgBZsR yStK/gYOR1npSKgWdsOLRVqHr9SjxNrqB3oV+U9xtDrB5Y69puy0TGH2igM3RzqPkfx5 AkuZR9phcFzVh5FDfJcC3HwtYUz4P7F+AEMVM7tlp3yyWiQjEzSSp+lsQdxB5SUd+HBM kCXOpRjX5V3ViBIl91HhYKoLJU+m+uUpq3Vsep8K1JY9rAINAZn2Fyxy/qX5Cc1TbPXa dSnKDyB1WRM5n0GLEJUcUBOqReTT4RksS3qMFHyjpkLzl9QUUUu1upn81OhRMba8/8JM W17A== 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=iDycTN9yyDhhTwc3Srtfw/Rl+6JzgcjoQzGWlzOIGrY=; b=XuYc+InxO8PxWtCSXZnSTQ9FtzLVgW+2OPkvv1r4WDSmlIGYRih5RLQKZIcr7By/S/ rK/PTdY3IaUgVxNMPW3q7HV+3SsgBbY7uTYFmt6V5Z9Gpl95snEMZVv1a3cnRZKpiC5s K2ezs5hbXTYwEPlgiODZBkgND7IY+625nsm9SGW2txdvSvMkZfJrIFSv8xdOLNwIo0gC fRzzfI4L+1wRHKnctHFOQ2UlwIDpA/tL8UdxooEy6lHTBJ32feDqK5N/65UhMVkAENJO n3nCr+ZBBaEoKFXV23bNoAFiKOLCSor/7OAXzo14XAWbgsE28UTljMT4Qq7IOVLM/JuO 9CZA== X-Gm-Message-State: AOAM530JWmjA8rAh3NdtUeUvx0DOygrGlX+dtNbfn4DZNzQK8X6bC+uB vNKSGAJ6WyGxVCj8glR9r7YGmXM2HF2yq6eW X-Google-Smtp-Source: ABdhPJwQarP4Db9P6Gby/P9D9O3LQjajC9XAwpMTb5ACajA13QjU8NsTAlw1UOTlR0tnGBNT0NFpHA== X-Received: by 2002:a2e:91d0:: with SMTP id u16mr2862869ljg.324.1629981041954; Thu, 26 Aug 2021 05:30:41 -0700 (PDT) Return-Path: Received: from jade.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id j21sm332283ljh.87.2021.08.26.05.30.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Aug 2021 05:30:41 -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 , Rob Herring Subject: [PATCH v5 2/6] dt-bindings: arm: optee: add interrupt property Date: Thu, 26 Aug 2021 14:30:28 +0200 Message-Id: <20210826123032.1732926-3-jens.wiklander@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210826123032.1732926-1-jens.wiklander@linaro.org> References: <20210826123032.1732926-1-jens.wiklander@linaro.org> MIME-Version: 1.0 Adds an optional interrupt property to the optee binding. 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(+) -- 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 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>; }; };