From patchwork Thu Aug 23 10:43:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jens Wiklander X-Patchwork-Id: 144912 Delivered-To: patches@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp30591ljw; Thu, 23 Aug 2018 03:43:48 -0700 (PDT) X-Received: by 2002:a19:93d6:: with SMTP id w83-v6mr13610037lfk.63.1535021028728; Thu, 23 Aug 2018 03:43:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535021028; cv=none; d=google.com; s=arc-20160816; b=G7OHvkehkuK3cBwQc7U+/DYb773THuYAlSlxNspG+/4dw5dAagqjrbvbIkH2s/86hZ VIEy/k3Q18R5Z4mJclcKsbnPGLA3Wa3cFrliCPleUXghinkoZt6hqsJqzFgqhkl/8XrD d4slD5bIWlplboZtmggFQdJVk2pNRAdOWVNPM1lIp4Aa2j5ovHs9WvEXj+jZrrWFEtSK TTzv7mlpAWbb8frlja9v+GC6Pzeq9jFNoBN6+4ofCxkcqWAuJu1h5Y3LNTKgh7rBl6zf Vvvz4kQtz1WV2cv30AXYFeLHaMtJrTAJck7wRKrCtJOrTYaXaXUvVxVCcgtHlPFrMkNq kSYA== 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=vo0JHy/wQtmea0doRde595W9eigdmWXsYBtFvMhiquvBcF7E0Ssvr/Xlx/85Hz3PqR nFMHYYdPPBknsM8vLsSb5hlPyKXDK71JU3XoQvvIP/ioEg/9I/KeT4QnhQyn+CjxvK+M wiRgxrA1rmSUQZGZrqiBIttjCd3ex8B5AOg1D7i8sPbYwvqqxqNUD/oCa9TOo23/zbzj yTlICMGub1Ft6aKWSt71iq4+kqtH2naIHhfQnIb00Imxp/XPFsjVQo7l4dXqMgJ88Aen RBk3iw6JJpHHyTJlL7dYPParmb5uoMz/9bBf62Rx70geuSKfGE/bbdD9H430yufMbGDs INKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Rg93FVmp; 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 f20-v6sor521161lfg.0.2018.08.23.03.43.48 for (Google Transport Security); Thu, 23 Aug 2018 03:43:48 -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=Rg93FVmp; 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=Rg93FVmpLe0/Nhyb7zW9ycuDMjrlXIxkRRHLKtuwkDmVnDud6A4lsIBEmQ5Dr6nLml zQjiDnN4u/07sktWg2WFBg3kZg+RjmwpGHIyktth4Wf24Rey+HMKEo6+zuCobYQowX3n hzlvxKu0fd6Rh0ofSt8b4tP37D6skbszlr2uM= 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=ceQ163t/ukecOWIZF70viVFggnZIjfQrT0HutF2vk0uhUnvjdpF8MKmXCDVrtlZTZy e0mn0m0pEdeCvWzbobuPBsl2ZsDjr7LkPq7BeJZR55MLEgppMggojvjpno3EmRqv8hoQ 8wMcxgpXpYbyvif+QHzPMsXDe6vYhK43EEQ3h/695o3Lw5P2GtML45Ny9qj+3zxQoIts CXKI+7aVBG0MttFEs7LI8RTXpEkmjDcP+agjb+1wgCq08KPBZXH5MYnUJrULdgAk0xQf V6aHnyia1Az1FXBTN68rslFZXMifrN+YWI6x4Ff1xeenUiqY1Rtu6eQbxtuGAEYG+fGF 9Suw== X-Gm-Message-State: AOUpUlEY8ph5Qe0Ijh/kLp11ZSgJBtpyFDhb31yfDoqPOrqUanBuec4m x9IoHc3nDHevLkcDOePeNTVWYEThUSaUbQ== X-Google-Smtp-Source: AA+uWPwPSx0/iJ6YEj9ZMWj2ySHisLVedI9boJYj0/ZZyIQNlRCSnCxwSXyrxabmAYgIllpIa1QnMg== X-Received: by 2002:a19:be55:: with SMTP id o82-v6mr16254512lff.58.1535021028548; Thu, 23 Aug 2018 03:43:48 -0700 (PDT) Return-Path: Received: from jax.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id y5-v6sm679771ljj.75.2018.08.23.03.43.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 23 Aug 2018 03:43:47 -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 v2 06/15] dt/bindings: add bindings for optee Date: Thu, 23 Aug 2018 12:43:25 +0200 Message-Id: <20180823104334.16083-7-jens.wiklander@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180823104334.16083-1-jens.wiklander@linaro.org> References: <20180823104334.16083-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"; + }; + };