Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7312659ybi; Mon, 22 Jul 2019 10:48:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqx9MnsAPw69rVg2gyogIkiWhmjH286aBr6EuLG1GqJoRnlQkgWp3tPd4VMe3l0slaBJ7v1t X-Received: by 2002:a65:430a:: with SMTP id j10mr74495936pgq.374.1563817704872; Mon, 22 Jul 2019 10:48:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563817704; cv=none; d=google.com; s=arc-20160816; b=RCl8+aRrBmzAF3aSmOCNSULHW8IIwhwx3Vh27CbvlQ3RiNmVf1LhXCHs/vGsgyh2WK rR2rMsyRWU4ub7REEErFQ0Fhyj/cft3Z91H44nQuUZqFupYw4Tov/G4YziC60dtZlHDX CDyVqXNq7dTrIJSGO10yZa+YjZHwVsLE4vhtSR4XfYLlWipo/NgrvogcuNMMIjWLFRrp un+G8UP+LNzpDGR+nKBIvWSE4D9Q8uPQF3ITaNL8iaOCgI0fY8zr+RsNmDscmnRRyAJt Rx/gCIMOwE/Dk7FF5dVFYR9lWZiB8xiSmFXqXTthMGCSCu7PCKDdV2+Ug7kEqJ7NfDio WKDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=L1CKsuR2Aj6lAs8InXlYaMJ2CXlS4I/JR7pcZ0ogj/k=; b=Gp45ydjSDUAZUm/fITofZQ2HtxaNgosNV1xgUia2lKa4yNoUIZiPBxRU0LNhgSuoVX dNzgz98QNlzykXBeXY+4HDkmnCwdJ2HevbmOJmRdGvJLQMvt56sjrYiy758P7EAjW7Un MguKwBoK5RusndyY5j2HdxqKeYAG3G0aggzojOOu0xClX1Dbv3TQldiMBV3tvuaP3p2m scqobXvwSCLHNwwDOls3Uwq42kaP9sPET5RvoZgxn7TjJh5uiJysI2eM3K/CKcUz84kV nwTZgAjdgdovC4x9niKnu7Aj+XLb+se4v2NqBVfv+admyVemAfU+5O/jAQDhd4j3xFDG HSMw== 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; dmarc=fail (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 j5si8697180pgm.427.2019.07.22.10.48.11; Mon, 22 Jul 2019 10:48:24 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730930AbfGVRNX (ORCPT + 99 others); Mon, 22 Jul 2019 13:13:23 -0400 Received: from mail-io1-f68.google.com ([209.85.166.68]:39596 "EHLO mail-io1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729058AbfGVRNW (ORCPT ); Mon, 22 Jul 2019 13:13:22 -0400 Received: by mail-io1-f68.google.com with SMTP id f4so75601966ioh.6; Mon, 22 Jul 2019 10:13:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=L1CKsuR2Aj6lAs8InXlYaMJ2CXlS4I/JR7pcZ0ogj/k=; b=DtBaP12bgZx7Z45wIFqDsp8GqL5rca6uhtNXL09n96aFdx3jRspwc0Md9HHTuH1XqA 3TgPaGT46PvzhMrJmq+r803W0CkaX7BbVMRUhug1mA5yyGi3KCf1f7QcThGgfGeT4ABz PVb51QG4+3uphQr8lXjX4zLoA4UVcrTevcZR1bjaCTDripmMl8dvZV9mzq0nd36kGsox KcfIxIqU/59eTYqmDuYzpBucyRId9dVnNXNYrXVOXQ/7yB6IByozghDPugVD5HzJnTBh flDJ7lZ5UbvblIVEn8sqpPdZi0k4OXfoCZ94WUTtPu4TXaykXHLa1gFy3QT6aPf4dgMg 0SeA== X-Gm-Message-State: APjAAAWk8u2lP2JlO5UBG/dEILqGe0rtbpy1EORAFHCxe5avv0oqgz/Q q08yxEfJInEq630aIyX2wQ== X-Received: by 2002:a6b:7b01:: with SMTP id l1mr62468845iop.60.1563815601759; Mon, 22 Jul 2019 10:13:21 -0700 (PDT) Received: from localhost ([64.188.179.254]) by smtp.gmail.com with ESMTPSA id n17sm32851341iog.63.2019.07.22.10.13.21 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 22 Jul 2019 10:13:21 -0700 (PDT) Date: Mon, 22 Jul 2019 11:13:20 -0600 From: Rob Herring To: Neal Liu Cc: Matt Mackall , Herbert Xu , Mark Rutland , Matthias Brugger , Sean Wang , Crystal Guo , linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, wsd_upstream@mediatek.com Subject: Re: [PATCH v4 2/3] dt-bindings: rng: add bindings for MediaTek ARMv8 SoCs Message-ID: <20190722171320.GA9806@bogus> References: <1561361052-13072-1-git-send-email-neal.liu@mediatek.com> <1561361052-13072-3-git-send-email-neal.liu@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1561361052-13072-3-git-send-email-neal.liu@mediatek.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Mon, Jun 24, 2019 at 03:24:11PM +0800, Neal Liu wrote: > Document the binding used by the MediaTek ARMv8 SoCs random > number generator with TrustZone enabled. > > Signed-off-by: Neal Liu > --- > .../devicetree/bindings/rng/mtk-sec-rng.txt | 10 ++++++++++ > 1 file changed, 10 insertions(+) > create mode 100644 Documentation/devicetree/bindings/rng/mtk-sec-rng.txt > > diff --git a/Documentation/devicetree/bindings/rng/mtk-sec-rng.txt b/Documentation/devicetree/bindings/rng/mtk-sec-rng.txt > new file mode 100644 > index 0000000..c04ce15 > --- /dev/null > +++ b/Documentation/devicetree/bindings/rng/mtk-sec-rng.txt > @@ -0,0 +1,10 @@ > +MediaTek random number generator with TrustZone enabled > + > +Required properties: > +- compatible : Should be "mediatek,mtk-sec-rng" What's the interface to access this? A node with a 'compatible' and nothing else is a sign of something that a parent device should instantiate and doesn't need to be in DT. IOW, what do complete bindings for firmware functions look like? > + > +Example: > + > +hwrng: hwrng { > + compatible = "mediatek,mtk-sec-rng"; > +} > -- > 1.7.9.5 >