From patchwork Thu Dec 27 11:07:10 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sumit Garg X-Patchwork-Id: 154568 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp6817074ljp; Thu, 27 Dec 2018 03:08:13 -0800 (PST) X-Google-Smtp-Source: ALg8bN77oIzDUg+nll1DiwDuECUDZtKs8YBu6XQcbdxD2LCEa472W5kRvW+wAZtPbcOcHQ8iKRVJ X-Received: by 2002:a17:902:b48b:: with SMTP id y11mr22561652plr.200.1545908893260; Thu, 27 Dec 2018 03:08:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545908893; cv=none; d=google.com; s=arc-20160816; b=hlpAVA5fhvRDj1aKbhwB9InJXGrBHYj6z2D2EpHC95i1FWN+IanPBEOBsaK96AIcQK RLiAHNelabzAoPjXd5O1/y4REitTFQxuiV8awi1Z6zLv6B6zZSFa3s5+mjqb1v13MS6a b8D5ZDtK49vMnukeea6OKEV4Z70qJQDRR7qGZxm1GmEDhRV+oJXDwepRrF70gNqrx4uf pM/zSDhg95FVy1yg3YO5dQlZ92QAnTVnM6MD8WthikPB4NubhaghfB1+5w10ZwnD5w/k QZpSEwnGYeoZOUEonsnKBovZ4fSnMcC7XsNx49pUZ+wmh0MpEl2gq5qJvnVb9z0MENop U4zw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=uuHGIoyqQtttS9xE06KahrWzGw46xmUc9M7qxbxCq40=; b=Lkgy7FYS3qgIdos8W8dCKyHiUx/NK5fsAn7ECNWWQ9f/Zu3vUAW8sOt9bg4N/JVvFB oMuAUgHUN0NQCEQggUpgwDUhc4iE0+gXrEUKYFaZBZFHvs0xljvbon4zB69gJhpRk+8z 3QNLb/RzpAksVbvTHqlR0r5uGDWDkkcLeNiWPCDowPHllnEIFAXlxFKnEVFBC5r4aKFz pfaAQDs/besW5XGw1wodWZ1IOPiZtXQszNaBO/DBaUUbtI0MrrBrqM/+0TId5gxVcrJG 0g+UP9YseF7l220HL1eegpzchBV1m7clD+pD6PcG7BpopBs77OzYqRuzZtsnqU4BvrjV Mk9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OIDPQOoj; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y123si18083184pfy.18.2018.12.27.03.08.13; Thu, 27 Dec 2018 03:08:13 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OIDPQOoj; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730412AbeL0LIM (ORCPT + 3 others); Thu, 27 Dec 2018 06:08:12 -0500 Received: from mail-pf1-f194.google.com ([209.85.210.194]:41328 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729577AbeL0LIM (ORCPT ); Thu, 27 Dec 2018 06:08:12 -0500 Received: by mail-pf1-f194.google.com with SMTP id b7so9028635pfi.8 for ; Thu, 27 Dec 2018 03:08:11 -0800 (PST) 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=OIDPQOojRVw/yysvVtdJuV0+nfjn7i7oEmYq0TbwQMgA8v8gQBUNCFd/7fn7ldPJ5d 942DoOk8Vf078UaJkmYFsZ+Dkz5UnMsk1OqcgCT/y4iLxxJ8ehaix1JlG8E6KTj2nDFG ltS6JJs/i3tb0ZUk9jGIctymRt3js8tBkMIOM= 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=Qs5V9yhnXIJ1uTHTPTY+DNEexGJUgW6YaKTmyf0glXWsGfPuzjFDouRWTwJpNw4IL2 CsY5v2vQG5BmDExFU0LrVTRr8wvAcu87UJtBjucHAKpEb4xk3do4Gs4q+DKAGWARUwZD K8KpfWY6A+1fSfUWZM8Ana1fEptIXxwbaR+ItimWAuHCnsVru3qhcLH18w0B5suHxD43 qTn9MfcVM1DMnTD02QDB5dTLLkBYVq/RhP5LsBMI0mDN0P+o76Medyyrses56C4cz7H3 KB+H6dqMnrfl5kpd28Vb2k86uM+vGsPXb9OYW0T6ba6HvPIp3+WkGGC7kLLCUqsJ5Um/ ciWg== X-Gm-Message-State: AJcUukdVG73Cp6AZBkAgkKEcM4KfaZ+Ai4Lyps7lePqxeuCDWlaraVoL nBflYyQj3wCBn9tky/ks8/TPYGV2McA= X-Received: by 2002:a63:4246:: with SMTP id p67mr22052895pga.335.1545908891391; Thu, 27 Dec 2018 03:08:11 -0800 (PST) Received: from localhost.localdomain ([117.196.233.51]) by smtp.gmail.com with ESMTPSA id v89sm56068526pfk.12.2018.12.27.03.08.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 27 Dec 2018 03:08:11 -0800 (PST) From: Sumit Garg To: linux-crypto@vger.kernel.org, devicetree@vger.kernel.org Cc: mpm@selenic.com, herbert@gondor.apana.org.au, robh+dt@kernel.org, mark.rutland@arm.com, arnd@arndb.de, gregkh@linuxfoundation.org, jens.wiklander@linaro.org, daniel.thompson@linaro.org, ard.biesheuvel@linaro.org, bhsharma@redhat.com, tee-dev@lists.linaro.org, Sumit Garg Subject: [PATCH v1 1/2] dt/bindings: add bindings for optional optee rng-uuid property Date: Thu, 27 Dec 2018 16:37:10 +0530 Message-Id: <1545908831-25910-2-git-send-email-sumit.garg@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1545908831-25910-1-git-send-email-sumit.garg@linaro.org> References: <1545908831-25910-1-git-send-email-sumit.garg@linaro.org> Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.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"; }; };