From patchwork Mon May 22 21:12:23 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rick Altherr X-Patchwork-Id: 9741399 X-Patchwork-Delegate: herbert@gondor.apana.org.au Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id A7A71603F1 for ; Mon, 22 May 2017 21:12:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9B5682872A for ; Mon, 22 May 2017 21:12:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9027D2873C; Mon, 22 May 2017 21:12:47 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.5 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_HI,RCVD_IN_SORBS_SPAM autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3FB1E2872C for ; Mon, 22 May 2017 21:12:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932935AbdEVVM3 (ORCPT ); Mon, 22 May 2017 17:12:29 -0400 Received: from mail-pf0-f169.google.com ([209.85.192.169]:34235 "EHLO mail-pf0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935785AbdEVVM2 (ORCPT ); Mon, 22 May 2017 17:12:28 -0400 Received: by mail-pf0-f169.google.com with SMTP id 9so93434769pfj.1 for ; Mon, 22 May 2017 14:12:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=lJRYzMtg6pJLfOgNhPVveXq6qdJi8wnFiyP28RwjWrk=; b=vJw30gKUnMuP6ZBPuSCeT/g41pTe7DGn1Bhaare1QQtoNvl2quq1v5JjnVu7njFRMp LRqq/vUVJI+AuZC/dVBUoTTG5SVdFPwfrFantNnys8+7JDH0xOUFSZqMO1PiRQA1cu1j pC/jzDduFBeyii6kgTiyu7uIxaQWFALcb7ka3MNfl5puZHCBgn5/zV6EeAdM67h1s4XT eDvIuEWRTDUGwahhiHe1nMJBNT5M7UudPFkMyQBOtLpoDJ5tP6UUGfba4vyUHMAgIZNf lGf4QoOB9ZB5g1mU/aHkzNgzRPS2syt8BugY6HZubIGwHcaQtcNmf0NsUPsajE0LVBrw KrXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=lJRYzMtg6pJLfOgNhPVveXq6qdJi8wnFiyP28RwjWrk=; b=MHViK/5P02KU4jJkXf2rUcFHftDPHQyALx+Q/c0Yy2Ey4J2tkelQX89ROOL160OEyQ sza678bYJ8HFGdiLuSnboWvbD96BzTExfrHoVgeijuoD8SWiZvdKWrtLv1EhZnwegq/n 21Cd5VFK5fUuPG2SKTpG5lQ3gccO3513uQWcCPBYghXz6dYXU8Ht+q7W1AKcOOkClx62 LAw0JzvbDZ4SzaO7AcEMaf4zn1lI0RK7j7mPrDoJiGvSaRDRJdmSM51J/xzKC9rsqqYC wR7ZIulso/Yq4Pp62af63b6+QXNVKOvupknr/GWjOdRrUUqYxfGFA3CPMkGXmWHw0U0a z3LQ== X-Gm-Message-State: AODbwcBeF1jclWnHNyb4hWwcN+vP1H95FjoNcHOQauA5LdI8Fks8Yk0J HV6B6wyo/0YPf2a6CIYZ6Q== X-Received: by 10.99.126.20 with SMTP id z20mr27056423pgc.158.1495487547415; Mon, 22 May 2017 14:12:27 -0700 (PDT) Received: from raltherr-linux.svl.corp.google.com ([100.123.242.49]) by smtp.gmail.com with ESMTPSA id p3sm33395240pgd.36.2017.05.22.14.12.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 22 May 2017 14:12:26 -0700 (PDT) From: Rick Altherr To: linux-crypto@vger.kernel.org Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Rob Herring , Herbert Xu , Mark Rutland , Matt Mackall Subject: [PATCH v2 1/2] dt-bindings: timeriomem_rng: Add entropy quality property Date: Mon, 22 May 2017 14:12:23 -0700 Message-Id: <20170522211224.12202-1-raltherr@google.com> X-Mailer: git-send-email 2.13.0.303.g4ebf302169-goog Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Rick Altherr --- Changes in v2: None Documentation/devicetree/bindings/rng/timeriomem_rng.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/rng/timeriomem_rng.txt b/Documentation/devicetree/bindings/rng/timeriomem_rng.txt index 6616d15866a3..214940093b55 100644 --- a/Documentation/devicetree/bindings/rng/timeriomem_rng.txt +++ b/Documentation/devicetree/bindings/rng/timeriomem_rng.txt @@ -5,6 +5,13 @@ Required properties: - reg : base address to sample from - period : wait time in microseconds to use between samples +Optional properties: +- quality : estimated number of bits of true entropy per 1024 bits read from the + rng. Defaults to zero which causes the kernel's default quality to + be used instead. Note that the default quality is usually zero + which disables using this rng to automatically fill the kernel's + entropy pool. + N.B. currently 'reg' must be four bytes wide and aligned Example: