From patchwork Fri Dec 21 09:51:51 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sumit Garg X-Patchwork-Id: 154385 Delivered-To: patches@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp712454ljp; Fri, 21 Dec 2018 01:52:22 -0800 (PST) X-Received: by 2002:a17:902:20c6:: with SMTP id v6mr1856281plg.156.1545385942853; Fri, 21 Dec 2018 01:52:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545385942; cv=none; d=google.com; s=arc-20160816; b=0Ljksdy7QhnLolhdDaFxGFzX4B0gTurYXXpDao2dWijUENOfILYT3Ids+c9Rrzbrpl dEaSur8/NEHq67bPnReDy1/p71t25lJtV8vaynFVIgacq3zSPybinX/e8otbp19aOIB0 z7ZujuQUKd5UdPVWizhrjihoE4VQfWHKg85e3fjJ02G7dtkLPTXsUYdpahKX86BfW9jl Q01Xq0ZYuKBR5rGCddCMH4RUzTqaIde3ZWL/KZp7xWsNMVk9Tniq6xXg34WNDK032oIU EoTDuMgEjtd25qDcVS1Vxhvnb4+AP9MXfB2K5wMS78aAWuvbQR2qgeAxe0f7KsBx2TCA 9Alg== 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=0lN5vBFJFsBrR97ToV47/KHh8URoA30HP0JKZg8UUDCZXrFpHmfYoPpIDzIP+tgTEO h3KHzTm3tHsneBYYqE0jjn/s3Ub6uSa3UoLz0ro+Nb9iGr24NmvR4drIg9wtjWK/iMyH i2vpRhPdwzHrQOFdobJw65+ZEgnacqW17pNDix6WnwIgJfYvgycLyqsjddkC3sX43hxa 2O3lmHZ4zOfoYWtrk5fijgyWsZnCMelv2qZUnF5bh1DVfa0EXgAjG+TmJl9o94gKcY/W 6BNx+vOmtSM2frdZ+i7xcRYy/Sip+Zr7ydX1wYDK+jdJwXfoY76j31gfbccsg3yawUJy 3jkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="kQBFb/aM"; 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 j15sor39674059pgc.41.2018.12.21.01.52.22 for (Google Transport Security); Fri, 21 Dec 2018 01:52:22 -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="kQBFb/aM"; 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=kQBFb/aMkryjTyjcVoMT9ycPjrtKT+XnD99IENUluzN0ajQNd7FIFxf/WgOGLlO6Na vOdaUGkKd1Mr7V5gDqpS3j9JZMLK0gwz5WmK/vp16kjSVJb+N/7P9pu7VRMl3XWpaH3I zTWigG3Es8RHlbCzvbnV6qBH/PP89rDTehVa4= 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=XIervI/dzaym3/RTSf15mzr7v1HswOL7E/8THhRWTVRbz1Y2eCVjSn5U6SHmu4WJkV XqJ5obd2UOXc+HA9vKE+6f8++mUV0QKlSZ8m+GfEsGM0OxVkLRzPXHog8sC3ebIm5I+2 jVPqZaBCb6sAUvazwxtoSoZvAhacUOSyOER2W+zP4U/vlMFsz1ttnUCBbbWSdS4G5f3y /zubDIUJ6PUjc+LZs4ttIZMJC8+QBMAPP900JX0asD8wYb2nOsO6SssCBO4lHy/sNLmr v7OaVw1Cb8w2IxUuovdWvlhxHeKv9RUmq7o5CA2941SS1Sz057aTQlHmlcM9qCO5KvA/ 7yeA== X-Gm-Message-State: AJcUukfytP+a+cv8E813CXuKBNMXRsUOWDmNPgI4/CYVDQTcTQEsPZ90 InO+iYoaimWv6Jrhf1CuoFOeFSSm X-Google-Smtp-Source: ALg8bN5AegeKMJ5KPF7uAN5pUnUbp1yk6mk5TKaXuMm0/2WmbMugDn034hN30TPs+hGddcbi85VgWA== X-Received: by 2002:a63:2744:: with SMTP id n65mr1700262pgn.65.1545385942409; Fri, 21 Dec 2018 01:52:22 -0800 (PST) Return-Path: Received: from localhost.localdomain ([117.196.232.175]) by smtp.gmail.com with ESMTPSA id u29sm30605908pgn.23.2018.12.21.01.52.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 21 Dec 2018 01:52:21 -0800 (PST) From: Sumit Garg To: daniel.thompson@linaro.org Cc: patches@linaro.org, Sumit Garg Subject: [PATCH v3 1/2] dt/bindings: add bindings for optional optee rng-uuid property Date: Fri, 21 Dec 2018 15:21:51 +0530 Message-Id: <1545385912-19068-2-git-send-email-sumit.garg@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1545385912-19068-1-git-send-email-sumit.garg@linaro.org> References: <1545385912-19068-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"; }; };