Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3056398ybi; Mon, 10 Jun 2019 03:38:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqyjzb+62tSQ4/Afe41YxCpHcGGKEBWBIZ8mfsdnYEZXE68SX5ColC88ETW5d8ILeva+U/lt X-Received: by 2002:aa7:9203:: with SMTP id 3mr75149186pfo.123.1560163092474; Mon, 10 Jun 2019 03:38:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560163092; cv=none; d=google.com; s=arc-20160816; b=E0yl99MF5r0O5TaBSy0+mUa+NgOIiRL29F7r4zECJ3iwR/zJttZP2/V01jBDSIs1dJ kwXx6R58JOBhUS08G4e+MH4Q+rByR13GlRfvd76pJEJBYvpr/xaZVl7Pw29qRdF4R0vS PJdnmgS9fd6ZaihfLVllbET+5M8RwR3GCFwGxXtwxzuV/RsHOs+4jWUCdGyjQ0X3ZOvI yUl77U7NIv4l029Ii0ItG0Dg+6D1Onpdb1n1DKnTG4YLfEeksf8Ack1cEI1WO5zql1eT iu56pXvnN+r3dprEyU9i7SVgA9XeObH0dfC57e0DVDXel0Q78VexD671bIOfjVFbVtpy H4Ug== 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=UmKQp+esDmfoQqvWFCfPh01lUaiUobfXlB0vKfFqwMY=; b=Bhc+I2C6U6a1GEV29h9syMKWljxRgYxvmGz1i8JOXyIEoHBXLJDNo6Ud1EFu6EQd+P I3sOThNLPtC4Hbsx2ISWFeeCGbUuyHygDrJ1fcAoavoHjP5oOGoGU3Anh1ATu+xkntLB 4SCYBmGqyYTv4i7ISoheCzV8lGhXrfuM6fd50NhsGkqzhbagJoZs5o6x5Lsx40MFfpHC Tt/jkLlOl5/Irl7FihsvzsvoSapA+sLR4c80OTIh4HzbILsz/8BNan/M/G/rIfziTd5b +58QDRZs2HyxLVeCg7HC5QRxRO2cnEphRti4nhLnBmyF+LGa80VdbG9GPkMIT/3TLFwU ynHQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 204si4164343pgd.520.2019.06.10.03.37.56; Mon, 10 Jun 2019 03:38:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389518AbfFJKgo (ORCPT + 99 others); Mon, 10 Jun 2019 06:36:44 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:17360 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S2389319AbfFJKgm (ORCPT ); Mon, 10 Jun 2019 06:36:42 -0400 X-UUID: aa5536ce880d42eab5ddbc920a36d885-20190610 X-UUID: aa5536ce880d42eab5ddbc920a36d885-20190610 Received: from mtkcas08.mediatek.inc [(172.21.101.126)] by mailgw02.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 1520545478; Mon, 10 Jun 2019 18:36:34 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs07n1.mediatek.inc (172.21.101.16) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Mon, 10 Jun 2019 18:36:34 +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, 10 Jun 2019 18:36:33 +0800 From: Neal Liu To: Matt Mackall , Herbert Xu , Rob Herring , Mark Rutland , Matthias Brugger , Sean Wang CC: Neal Liu , , , , , , , Crystal Guo Subject: [PATCH v3 2/3] dt-bindings: rng: update bindings for MediaTek ARMv8 SoCs Date: Mon, 10 Jun 2019 18:36:23 +0800 Message-ID: <1560162984-26104-3-git-send-email-neal.liu@mediatek.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1560162984-26104-1-git-send-email-neal.liu@mediatek.com> References: <1560162984-26104-1-git-send-email-neal.liu@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/rng/mtk-rng.txt b/Documentation/devicetree/bindings/rng/mtk-rng.txt index 2bc89f1..fb3dd59 100644 --- a/Documentation/devicetree/bindings/rng/mtk-rng.txt +++ b/Documentation/devicetree/bindings/rng/mtk-rng.txt @@ -3,9 +3,13 @@ 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 with + security RNG + +Optional properties: - clocks : list of clock specifiers, corresponding to entries in clock-names property; - clock-names : Should contain "rng" entries; @@ -19,3 +23,8 @@ rng: rng@1020f000 { clocks = <&infracfg CLK_INFRA_TRNG>; clock-names = "rng"; }; + +/* secure RNG */ +hwrng: hwrng { + compatible = "mediatek,mtk-sec-rng"; +}; -- 1.7.9.5