Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3540974ybi; Mon, 27 May 2019 01:39:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqwLwRgdVsdz7JlrHimy2ffDma9400Uouv3x+6dDPaj7Zh/jSMMLz3HhIqOYB1+V6rZTHnGg X-Received: by 2002:a62:e90a:: with SMTP id j10mr66424671pfh.147.1558946381431; Mon, 27 May 2019 01:39:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558946381; cv=none; d=google.com; s=arc-20160816; b=UMCRylyzUGxUZoShILkWXdzHKE6N4Q7jPMjxUfFGGGYofgPuqKd8fYnzju69d9qGeb Rq/Gw4Qyv8Aorl2PE0ZZQMiA00fEjMCcUJMm0NutqPKGMKnonU2FrnH4fzxu6MZWzL2E xfTXj0RjGrfj2DiVmfx7gnijAq8GK9vvbhAOQmGHrdKjrRdIJPJbFH14W/JI+mBNBeBO zO3+y31117S0cl4biP7kKX4ZfX+sUbVoVUq9OD4DQlONVto8JFoe6EaG+OCGulQaVLPW UTaNZOdOWuztnyClC/Srsa7tutY2etgusoivFslHdqXxWHaoc2cLIEJ1BTJcN6IeOvbF j0rg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=hoLSviAZY1J0E6Dwc8eq3WiPyAL1ENd6adg5l6QDRF8=; b=oLp5mvDZqbukcriiWCnCq7cdPCRMVflFz4rZXfCBaytlZk8o20khvJ+/LjO425Lcxr WA0eD2L1IFkYSXGqPkdnhpdxbsw0gu45Rl9epNr/DFcJV1nfjwC2iJ3yYOHWXiIqGSpM cSNr2htIdckWrgJPzCyP/8a2ptnp1DVDCuKKlcqoxUQj05e9+/Wb6Mmi6AqSkBk+JFcA 3t8xy+FRiy7fw3tVTWfVfW2IK9bc1VRtE3L25Zu6oBR3z6XJSOXxgZFlAklnw3zhc8YR dCgK1cEPvch+gUgSHL8/1s772nuTTQe9wUwuN8dXfXQ1vgL1mJi7BvJ6yq3fiV1mWbAX CQ6w== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h123si19279344pfe.21.2019.05.27.01.39.21; Mon, 27 May 2019 01:39:41 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725940AbfE0IjQ (ORCPT + 99 others); Mon, 27 May 2019 04:39:16 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:48638 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725869AbfE0IjQ (ORCPT ); Mon, 27 May 2019 04:39:16 -0400 X-UUID: bc8897b2a22f41efb805b7ea54e38a29-20190527 X-UUID: bc8897b2a22f41efb805b7ea54e38a29-20190527 Received: from mtkmrs01.mediatek.inc [(172.21.131.159)] by mailgw02.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 1564028708; Mon, 27 May 2019 16:39:11 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs01n1.mediatek.inc (172.21.101.68) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Mon, 27 May 2019 16:39:08 +0800 Received: from mtkswgap22.mediatek.inc (172.21.77.33) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Mon, 27 May 2019 16:39:08 +0800 From: Neal Liu To: Matt Mackall , Herbert Xu , Rob Herring , Mark Rutland , Matthias Brugger , Sean Wang CC: Neal Liu , , , , , lkml , , Crystal Guo Subject: [PATCH v2 2/3] dt-bindings: rng: update bindings for MediaTek ARMv8 SoCs Date: Mon, 27 May 2019 16:38:45 +0800 Message-ID: <1558946326-13630-3-git-send-email-neal.liu@mediatek.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1558946326-13630-1-git-send-email-neal.liu@mediatek.com> References: <1558946326-13630-1-git-send-email-neal.liu@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Document the binding used by the MediaTek ARMv8 SoCs random number generator with TrustZone enabled. Signed-off-by: Neal Liu --- Documentation/devicetree/bindings/rng/mtk-rng.txt | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/rng/mtk-rng.txt b/Documentation/devicetree/bindings/rng/mtk-rng.txt index 2bc89f1..1fb9b1d 100644 --- a/Documentation/devicetree/bindings/rng/mtk-rng.txt +++ b/Documentation/devicetree/bindings/rng/mtk-rng.txt @@ -3,9 +3,12 @@ found in MediaTek SoC family Required properties: - compatible : Should be - "mediatek,mt7622-rng", "mediatek,mt7623-rng" : for MT7622 - "mediatek,mt7629-rng", "mediatek,mt7623-rng" : for MT7629 - "mediatek,mt7623-rng" : for MT7623 + "mediatek,mt7622-rng", "mediatek,mt7623-rng" for MT7622 + "mediatek,mt7629-rng", "mediatek,mt7623-rng" for MT7629 + "mediatek,mt7623-rng" for MT7623 + "mediatek,mtk-sec-rng" for MediaTek ARMv8 SoCs + +Optional properties: - clocks : list of clock specifiers, corresponding to entries in clock-names property; - clock-names : Should contain "rng" entries; @@ -19,3 +22,7 @@ rng: rng@1020f000 { clocks = <&infracfg CLK_INFRA_TRNG>; clock-names = "rng"; }; + +hwrng: hwrng { + compatible = "mediatek,mtk-sec-rng"; +}; -- 1.7.9.5