From patchwork Thu Dec 20 10:16:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sumit Garg X-Patchwork-Id: 154326 Delivered-To: patches@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp5976062ljp; Thu, 20 Dec 2018 02:16:58 -0800 (PST) X-Received: by 2002:a17:902:765:: with SMTP id 92mr23602736pli.242.1545301018215; Thu, 20 Dec 2018 02:16:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545301018; cv=none; d=google.com; s=arc-20160816; b=A2xwHfHEHwhtv6Lr7dido5D0wXpdeHIUQG1sHVGK+YJ2/LawPuXlJ+1vbhz7PJYbIS YhsmPzFHlDyGqm2dynoDG2M0lSIswaYuOyrMi5EHfhZxgitlli8X05PXJ+M6YQ7/67H7 N7tT4HdZJQqYHIeW8PWyT7WnOGNaC7a6BvjNEO45zHJ/mWi2DySxvKv0xEhVh4BWx9Kw tXJNgO3wIPnwiYcGv6ufZDH/qkDekbgv+6oESeUBeS1ec6R1B0HvSlj52YMpha3KyyXe Lb0dwKBeYlAr1CrVq2af/wV7ZOjOrjuBas5M1fynigdotyzStKXvtHkGSjY5RiWCHyZ7 qyTg== 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; bh=uuHGIoyqQtttS9xE06KahrWzGw46xmUc9M7qxbxCq40=; b=IFC28b43awviBwpFt0a9DS4u0iKv+aUY0ERh9E+qkKRSxXinHwNHFTU0zYQ+Hg5I0q 5w8iWkYShGlQciQ1S2Q5GPaLWbmYN7BpxwAd647MAHVMGRM4u6iYfEF3DcDbHcsxrZi6 sIEwlyUFdsergWzZqiazUwbQ1+4Li8+h+NdiJ7+fIWQUDGhvp9SclswUKYO1IB7LdGBv elSQ7z1pVwUCbLzUVgKmSVzsFjZHNGZbg/2RKR7NjZnnEUpss2Q6KBBIZJnUcuMDs/hy L7tWgTvW8bnwiPhXI+XSwGUperi8LxWfFWNd3m8mu9N9Pbqi5zRnhA3NpxSQG1kiHHQZ AAvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ajGP46U6; spf=pass (google.com: domain of sumit.garg@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=sumit.garg@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 p22sor34546372pfi.50.2018.12.20.02.16.58 for (Google Transport Security); Thu, 20 Dec 2018 02:16:58 -0800 (PST) Received-SPF: pass (google.com: domain of sumit.garg@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=ajGP46U6; spf=pass (google.com: domain of sumit.garg@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=sumit.garg@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=uuHGIoyqQtttS9xE06KahrWzGw46xmUc9M7qxbxCq40=; b=ajGP46U6NjpHHRC56S2lY2G8EiPjWcpkOTCPpfxZrSiKWMQkovY+oUtJbnRywHK4vh WtAxJ6U31J8hDVu3OiFtusnowPLR7rkKyV5nHaE34hsVx360F7UgzpeuQfgcBjCnM4f3 prTX3sqk9BM9xURso6fUBYW5uibh6gdxIos+8= 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=uuHGIoyqQtttS9xE06KahrWzGw46xmUc9M7qxbxCq40=; b=LsGoUye3NpuFBDra7tYfHStR4pGQ46I8oQ+jXrG8gImA3nte1sNLC+Q9yXcxuoS+bt mY33g07iteLmE4m6klubZxfdZ9tJjppVR2K3RJi99001gOCGZXy5+/ag72audRo/N+Au 5pIRAthXKKK7QsVmjmiVpZGzeR8Qdckh8Ns4MaUHWc8JMd3yCfb4p3IFnRSFrufSXN/1 03ZV0/6BUiv4v0mdG94ZBOQFH2TBEqy97350he1E93pZZyvuClsA1lJgiASjdPb9lcKg 764HX7Lw/Y2dfs/gg1xy3G5fcahxfHOBbjyS3Ti1/Mo1pit/VbezsiQTP0xy/YGb0ENl y9sg== X-Gm-Message-State: AA+aEWZ/201lLREjmtZKwkPhGYSGyDnoug6kCy/f3Vx2xco5nFSG5O0y 43ZM5RiIfDVi0U0f1enHefvu5EP3+27wQA== X-Google-Smtp-Source: AFSGD/ViCsqsUXha6hUL05d6/42Q9eFK0flslWvjDgXCwj64+YM2grad3zS2XsuuIJaJ6r4mMuAW+Q== X-Received: by 2002:a62:2a4b:: with SMTP id q72mr23444652pfq.61.1545301017731; Thu, 20 Dec 2018 02:16:57 -0800 (PST) Return-Path: Received: from localhost.localdomain ([117.196.232.175]) by smtp.gmail.com with ESMTPSA id f67sm44097089pff.29.2018.12.20.02.16.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 20 Dec 2018 02:16:57 -0800 (PST) From: Sumit Garg To: daniel.thompson@linaro.org Cc: patches@linaro.org, Sumit Garg Subject: [PATCH v2 1/2] dt/bindings: add bindings for optional optee rng-uuid property Date: Thu, 20 Dec 2018 15:46:37 +0530 Message-Id: <1545300998-10069-2-git-send-email-sumit.garg@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1545300998-10069-1-git-send-email-sumit.garg@linaro.org> References: <1545300998-10069-1-git-send-email-sumit.garg@linaro.org> Add bindings for OP-TEE based optional hardware random number generator identifier property. It could be used on ARM based devices where entropy source is not accessible to normal world (linux in this case). Signed-off-by: Sumit Garg --- Documentation/devicetree/bindings/arm/firmware/linaro,optee-tz.txt | 4 ++++ 1 file changed, 4 insertions(+) -- 2.7.4 diff --git a/Documentation/devicetree/bindings/arm/firmware/linaro,optee-tz.txt b/Documentation/devicetree/bindings/arm/firmware/linaro,optee-tz.txt index d38834c..e3a4c35 100644 --- a/Documentation/devicetree/bindings/arm/firmware/linaro,optee-tz.txt +++ b/Documentation/devicetree/bindings/arm/firmware/linaro,optee-tz.txt @@ -20,6 +20,9 @@ the reference implementation maintained by Linaro. "hvc" : HVC #0, with the register assignments specified in drivers/tee/optee/optee_smc.h +- rng-uuid : Optional OP-TEE based RNG service identifier in case + hardware entropy source is not accesible to normal world + (Linux). Example: @@ -27,5 +30,6 @@ Example: optee { compatible = "linaro,optee-tz"; method = "smc"; + rng-uuid = "ab7a617c-b8e7-4d8f-8301-d09b61036b64"; }; };