Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp1337232ybi; Thu, 30 May 2019 15:57:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqylOTTJJvZUzwDrvLAzEtzotJyhp2LUWyf4QJL1qezjK4ng6rKDsU8DqHZoRJbhUhuPTbG2 X-Received: by 2002:a63:2d0:: with SMTP id 199mr5820991pgc.188.1559257050212; Thu, 30 May 2019 15:57:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559257050; cv=none; d=google.com; s=arc-20160816; b=V19KEYnjpMyvc/EN1O7TK26O00iSabUWMIVxo26itEVnPZkibdgpmfir7PmW2351Xy cYrYowI75G+J3C62peiBivlhJ9iyoTQ28QZuTnN81Q/3e8zC5gCQrz3fHztlC147Qm6z 4LBqZaUATVHDHrwo2UmxwDMUKt7am6HDM0tWVGrzXVRU0D0ymhK1fMVrR3Y8kF37Asly nk5UoSKUckD53A3UUZ3wUK5u66GjBhPIMYRaKk35V4/qr0X6jcBWGhJyJFdDWop47SkX +0R/CmwuG418k/z9eLVda5yyR3kntmizWzMSss7Vaf4AnWO8CqlvHQnaqMn3WDDtzC0i YOnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=iu260pHjkHq8EzGJdGKDRjHzjiuefU/TpWrg03DO+/Y=; b=fjCkSEAFS47myoHR5jF5u+63ZgtPBvV8wvUW4zhfNZq42/3taKM6Hfa5LsJqia/B8/ DffILjbIK05n0ZDvc1tLFfSiDdBaQTmFsungZmiMePN9nAy+CCSa3xLvUNXMQVOI+yRY 4IcfdFMsIk3C4KRlScjLXyyzDyAHjts+kfxaVfQqnce2l79SlGiLdZFrTtE2ngcAjlVQ low7sp8dNL63kFJQofY2m+Jm4k2/f58k/917yAS46Qn/7khVKgz0cJT/X826hgQmEVuG h+JZtCdrp87Hw00Uyv9E0haWsF8rfIqdhjZwYNUvBYU1RjrUcyDbFQlV7LWKesYHQddE NI7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=eDQuxbkG; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 189si4540233pff.281.2019.05.30.15.57.16; Thu, 30 May 2019 15:57:30 -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; dkim=pass header.i=@kernel.org header.s=default header.b=eDQuxbkG; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726355AbfE3W5J (ORCPT + 99 others); Thu, 30 May 2019 18:57:09 -0400 Received: from mail.kernel.org ([198.145.29.99]:60968 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726045AbfE3W5I (ORCPT ); Thu, 30 May 2019 18:57:08 -0400 Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com [209.85.221.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 09E78262D1; Thu, 30 May 2019 22:57:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1559257027; bh=iWlHwQIQWXgJxw5M7bJPq4MrgLHO4zyeNxvUKrcQDJs=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=eDQuxbkGjkCAjxTDwhjOqsUUKwS5T+l9GzaPR7RBxLxTl+iBKmcTUMdrT+fiJdW+/ kKRS+2KsvqgM5EqpG8kq54+6i7djmBKARo6z3QPbMHFi7wxOubOmP56RGfYFMvk9za 7Gd+MU8CdRzFhTJyrd436HeCx2cUeKXtLt7sUdxc= Received: by mail-wr1-f49.google.com with SMTP id h1so5237366wro.4; Thu, 30 May 2019 15:57:06 -0700 (PDT) X-Gm-Message-State: APjAAAWWRiMwClP1MkrImTklWxojrmHlSVaZO0IDG43CX/t5AqAEr4wa C80WGISLN1I0hPIOU1T8qFxQi89FKFR4IzBqhVE= X-Received: by 2002:adf:afd5:: with SMTP id y21mr4064469wrd.12.1559257025604; Thu, 30 May 2019 15:57:05 -0700 (PDT) MIME-Version: 1.0 References: <1558946326-13630-1-git-send-email-neal.liu@mediatek.com> <1558946326-13630-3-git-send-email-neal.liu@mediatek.com> In-Reply-To: <1558946326-13630-3-git-send-email-neal.liu@mediatek.com> From: Sean Wang Date: Thu, 30 May 2019 15:56:55 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 2/3] dt-bindings: rng: update bindings for MediaTek ARMv8 SoCs To: Neal Liu Cc: Matt Mackall , Herbert Xu , Rob Herring , Mark Rutland , Matthias Brugger , linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-arm Mailing List , "moderated list:ARM/Mediatek SoC support" , lkml , wsd_upstream@mediatek.com, Crystal Guo Content-Type: text/plain; charset="UTF-8" Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Hi, Neal On Mon, May 27, 2019 at 1:39 AM Neal Liu wrote: > > 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 No make any change for those lines not belong to the series > + "mediatek,mtk-sec-rng" for MediaTek ARMv8 SoCs I thought "mediatek,mtk-sec-rng" is only for those 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 +22,7 @@ rng: rng@1020f000 { > clocks = <&infracfg CLK_INFRA_TRNG>; > clock-names = "rng"; > }; For those MediaTek ARMv8 SoCs with security RNG > + > +hwrng: hwrng { > + compatible = "mediatek,mtk-sec-rng"; > +}; > -- > 1.7.9.5 >