From patchwork Mon Aug 13 15:53:42 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jens Wiklander X-Patchwork-Id: 144028 Delivered-To: patches@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp3247005ljj; Mon, 13 Aug 2018 08:54:11 -0700 (PDT) X-Received: by 2002:a19:4c57:: with SMTP id z84-v6mr11469359lfa.67.1534175651786; Mon, 13 Aug 2018 08:54:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534175651; cv=none; d=google.com; s=arc-20160816; b=N9NEO72pveLM9iaGAHYUQWboH+9JLJnpcyljlwFOtT00koudPyVDDCo8jWgsMCzOK+ qOb7RWrRbfZW4Scho7660/da/e3qwtsl+TVdxYxqo0fUxs5fWvef+JEN6bZQs8RNN1co lQDanRzdCeYJYlOD3jsl98IPff8IHu4PEsNJy/gy+74A99yE32YxpCX7q2ihfYQI0CGe OgcbUKSn1PvUzDaW0HElcykwvn9SDXyY21ayNNBnu4XwJ7F3NMWFSbOdWdiVbNiYkBty MNhQYgxPHBnP56RteYCHLoZHGbBW6qSeDe7az+AgbpgDWgnPUgKbgTydphA9EJU7l/u1 YlBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=4IE86cb3LJqqnw69+nNkWX3MjSAstndpuaRV8lGh8zc=; b=JkJchOhqa7AaH4M57R7+PyYhffAIUW7Vrpb/QJNC3AIuqQiI9S0QCeocMLSzhBX6Ks GnlmgskzZoqRpEAe7ML1Jy4kvszStFiC6PuF4IuNhsBMxpBt8wwY+Q5mZ6MbbEzKRz81 VqvBRrpcMdjbwR7BGa3za+NoDBsGshAnpfluybvd3iNXUITXT03+ffibAWaFmgaDzsfJ t/57T0A35pMw13kwoFSRdX/VrU/pqQcr4csbmmKS3ozxK7G2djDAnvcjocKiZnTuhsKn mZt1Wn1xuONxfn6dEhBz7HA0nDm+4ps4z6UvQTdStHDFOLS8tHvl/nqjX6406s65iSg1 3bUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=S9rWfks3; spf=pass (google.com: domain of jens.wiklander@linaro.org designates 209.85.220.65 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-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id l28-v6sor1715192lfi.142.2018.08.13.08.54.11 for (Google Transport Security); Mon, 13 Aug 2018 08:54:11 -0700 (PDT) Received-SPF: pass (google.com: domain of jens.wiklander@linaro.org designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=S9rWfks3; spf=pass (google.com: domain of jens.wiklander@linaro.org designates 209.85.220.65 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; bh=4IE86cb3LJqqnw69+nNkWX3MjSAstndpuaRV8lGh8zc=; b=S9rWfks3Pr7cWvTKuXSpcuKOF6zfRsqHMTSn+fNEGEACvqC78/NysybvwsD+NdU4nz iAwnE37GS9InkgtPa9eekiBwOASSYlclOlflRd85PRXXX6WXqEuERGI4V0mWPWS+Rvzl GT+8nno9B02ZXT4l4249+rJFKI5PA4kYMpj3s= 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; bh=4IE86cb3LJqqnw69+nNkWX3MjSAstndpuaRV8lGh8zc=; b=Jp2JHR+0eQinGVQW/Y2HlJYAzKooINSIDFBPaH5hgh6zj9bF8g+A/qhuEhA2psX49C riE0cVq3xdf3y+qX7x8tcfaRrjGVcOLeOsyVo27xS1NmRYs/EW5dHZUszS8iCJ47BDbU Ek3cPo9FnlpWHbK57ZxXUAHUAVoE/ps6vDC1NgCp/ml9vAvBegJ2Io6fNiWSN7xCwi/1 8MtP/9qzpyfOL1Pb5SHbHOk3J3mNlq2jKTRa4vp5TyoiVWDmggeNDp+nK82ux6onIs6l LT0ArkBVhe2XvDnPe/u5tVBl/0XrVGgs4kHWIP5N5GAfTmi0xVj2JNjqgDgbtHiR6T4K eA3A== X-Gm-Message-State: AOUpUlHhrO0UX7wJqxrXTa67UdEJUpnfNR0FQPcSOP6yRjgKq5HJ9LKL nKWh3YmarAPcTGsn8bycvKZ9mnFm X-Google-Smtp-Source: AA+uWPwaaQQ+OHX+VP9JF7BZyAWmReOhOZkxv+JePSkANRM/uhN5pys222RrNKb41L3col8QefNQsQ== X-Received: by 2002:a19:dd5c:: with SMTP id u89-v6mr11546228lfg.83.1534175651467; Mon, 13 Aug 2018 08:54:11 -0700 (PDT) Return-Path: Received: from jax.urgonet (h-84-105.A175.priv.bahnhof.se. [79.136.84.105]) by smtp.gmail.com with ESMTPSA id q12-v6sm2791624lfc.26.2018.08.13.08.54.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 13 Aug 2018 08:54:10 -0700 (PDT) From: Jens Wiklander To: u-boot@lists.denx.de Cc: Simon Glass , Igor Opaniuk , Tom Rini , Jaehoon Chung , Pierre Aubert , Albert Aribaud , Peter Griffin , Michal Simek , Jens Wiklander Subject: [PATCH 05/10] dt/bindings: add bindings for optee Date: Mon, 13 Aug 2018 17:53:42 +0200 Message-Id: <20180813155347.13844-6-jens.wiklander@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180813155347.13844-1-jens.wiklander@linaro.org> References: <20180813155347.13844-1-jens.wiklander@linaro.org> Sync with c8bfafb15944 ("dt/bindings: add bindings for optee") from Linux kernel. Introduces linaro prefix and adds bindings for ARM TrustZone based OP-TEE implementation. Signed-off-by: Jens Wiklander --- .../firmware/linaro,optee-tz.txt | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 doc/device-tree-bindings/firmware/linaro,optee-tz.txt -- 2.17.1 diff --git a/doc/device-tree-bindings/firmware/linaro,optee-tz.txt b/doc/device-tree-bindings/firmware/linaro,optee-tz.txt new file mode 100644 index 000000000000..d38834c67dff --- /dev/null +++ b/doc/device-tree-bindings/firmware/linaro,optee-tz.txt @@ -0,0 +1,31 @@ +OP-TEE Device Tree Bindings + +OP-TEE is a piece of software using hardware features to provide a Trusted +Execution Environment. The security can be provided with ARM TrustZone, but +also by virtualization or a separate chip. + +We're using "linaro" as the first part of the compatible property for +the reference implementation maintained by Linaro. + +* OP-TEE based on ARM TrustZone required properties: + +- compatible : should contain "linaro,optee-tz" + +- method : The method of calling the OP-TEE Trusted OS. Permitted + values are: + + "smc" : SMC #0, with the register assignments specified + in drivers/tee/optee/optee_smc.h + + "hvc" : HVC #0, with the register assignments specified + in drivers/tee/optee/optee_smc.h + + + +Example: + firmware { + optee { + compatible = "linaro,optee-tz"; + method = "smc"; + }; + };