Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4526789yba; Tue, 7 May 2019 21:01:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqyKXjKaRpklVnzidECibTCnVFNwn03oHjgz23o6FwCZjPCRAvVaY1y/dm4bDlMEqEbxuCPJ X-Received: by 2002:a62:4281:: with SMTP id h1mr45632151pfd.162.1557288065519; Tue, 07 May 2019 21:01:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557288065; cv=none; d=google.com; s=arc-20160816; b=T6JyJwbQW3GsjqCGNpBxUILUNvYc9wJ+NuPNExGkaOo7oQMACkcAL6BonSBA/pfsdQ CZ1Hpg05M8HlXunez7EVqfYd4lTqHpuOA7xkr+KKTW11THQ9Gr9Q2UyrhHPSA+c9wVaN aJAxfCxM/Udr4MQ73OrnJLKxpA/j7riR81++HOjRKZuRYfy9bwKIU4WTqJntytIHda09 4eMwR0s2vkVZv16lfdX+ywI24HN+dpkcVfrXh8nvxvcBuCxNb/oalf5Hmpqf3V0e0NYW QcoetQT3Tu9imoEE3zyzZcWlGWgbO7YYlBb3NYf9BEsuKx88pe+Lj4YdJjM7ngabVcW8 ETkA== 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=ghiHqorOiHKjzYwMW766Muhxu+B6NvzhlOfLEPDG414=; b=Vy88sizvz39/ilB69MEXWPWwtIARtLjy0rLIO3QIzZugLec6FSAOmG5TqDwtdd/Xzi +zgeTcg0UhXWoIjKClRe2l5KuhCNdLJ86Yz7IWyIIi2tldeaz+fh2ut1hpF2+CrejUxe OkDCn1TGk/+iqH3V1nS6OoW58Y1swFJSUWks/5djtETwrgjXTIAspcR0bkFnnuBgZ8C2 icU6emStqIaEnow/3IwE10XFaiCFyWXMrv2rDobsZpWZBmzmJNQ21n8PU04dXVbuSQAK rn5XmSqoYsf1jsiIec7lrRPw9EPFHvcnnKDbXKJ3azTCAOencsR7buz8oI+BytxwiqGz JIvg== 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 60si21465667pla.335.2019.05.07.21.00.49; Tue, 07 May 2019 21:01:05 -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 S1727106AbfEHD74 (ORCPT + 99 others); Tue, 7 May 2019 23:59:56 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:5536 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1727053AbfEHD7z (ORCPT ); Tue, 7 May 2019 23:59:55 -0400 X-UUID: 2e7a773f80f84351866eb209fb35bfa7-20190508 X-UUID: 2e7a773f80f84351866eb209fb35bfa7-20190508 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw01.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 1036691782; Wed, 08 May 2019 11:59:49 +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; Wed, 8 May 2019 11:59:47 +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; Wed, 8 May 2019 11:59:47 +0800 From: To: , , , , CC: , , , , , Neal Liu Subject: [PATCH 2/3] dt-bindings: rng: update bindings for MT67xx SoCs Date: Wed, 8 May 2019 11:58:56 +0800 Message-ID: <1557287937-2410-3-git-send-email-neal.liu@mediatek.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1557287937-2410-1-git-send-email-neal.liu@mediatek.com> References: <1557287937-2410-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 From: Neal Liu Document the binding used by the Mediatek MT67xx 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..5f40316 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,mt67xx-rng" for MT67xx 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,mt67xx-rng"; +}; -- 1.7.9.5