Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1344671ybe; Fri, 13 Sep 2019 15:10:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqxMfaCbD1HtXhzOsgTnkq0LYm9fG24gZQWmcdOwDjClOosZfnai9VlJTvdrua7m5pqgkxrV X-Received: by 2002:a17:906:3746:: with SMTP id e6mr42606083ejc.35.1568412609450; Fri, 13 Sep 2019 15:10:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568412609; cv=none; d=google.com; s=arc-20160816; b=Q4JfV2zWBhuDKYc48e2uAFhQiUOZtX3MfA1NieI+D0ursBtvokCapqsvtNGPnHGpuE /kS8IM+jerKaGmjpG0YoO9UgPomwCXLULDjE/rjQ9AX/CMS0waw9ycOlxoiER7wtpGna MnUMukTp6AvynE/qCqc3a4eI/PSWoiThgiqx7ZTVuDklLRtdSK9WBUfwHF83zg4rgdjT lbhwwJX3WbSBIOuBJz55TOe8X6+t9qakBPvWFMRuuamix0tmjPAoS00E5K3fDqXFuODi 61jNcDive/5KqloxxTyXPWrSFf6gSR03f9l79t8mpDhQn6IUHsnJOxnMvc1y61ovf7eI IR+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=OBKD6rVhzKNzyILymce1cFBd5GP6i8lPzKkzXsshXWA=; b=jLF1cy57EIS5AcJ3EK63PXJV4d7LM2KMpV7yMwh5uMmiEyihOISOKNENhYPbyvKzBV igw8/+g+dwetGOAotj9n6tjSmMTA50vXKtk7tlMRXq3IsOOOTMa/3CDctzOeBdzcT1GX 8Ra9jyEfgWPYjFTGXIBhdxUk/xoeeX1jZT5sWWH6qiodrUmHmv0EuJ/jwqy/1lLOmnnH FMiJQnpAibHEkAXyJXM/nGggoyMtbxpxWXrE7rEj+dz/Hs0pvotaWq0BJuUKB6nQwH8D QL5s3+m+F0ieqpIUnCWDRNC0RCE3xH/LhNYlMdk04z+G25OjvZAN4IhdfB3h1nVSmSDU ruGA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y43si18460658edd.42.2019.09.13.15.09.36; Fri, 13 Sep 2019 15:10:09 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389689AbfIMWJ1 (ORCPT + 99 others); Fri, 13 Sep 2019 18:09:27 -0400 Received: from muru.com ([72.249.23.125]:60686 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725747AbfIMWJ1 (ORCPT ); Fri, 13 Sep 2019 18:09:27 -0400 Received: from hillo.muru.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTP id 67AF88043; Fri, 13 Sep 2019 22:09:57 +0000 (UTC) From: Tony Lindgren To: Matt Mackall , Herbert Xu , linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org Cc: linux-crypto@vger.kernel.org, Aaro Koskinen , Adam Ford , =?UTF-8?q?Pali=20Roh=C3=A1r?= , Rob Herring , Tero Kristo , devicetree@vger.kernel.org Subject: [PATCH 0/6] Non-urgent fixes and improvments for omap3-rom-rng Date: Fri, 13 Sep 2019 15:09:16 -0700 Message-Id: <20190913220922.29501-1-tony@atomide.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Hi all, Here are fixes and improvments for omap3-rom-rng that's been broken for a while. The first four patches get it working, and then the last two patches add support for runtime PM. Regards, Tony Tony Lindgren (6): ARM: OMAP2+: Check omap3-rom-rng for GP device instead of HS device hwrng: omap3-rom - Fix missing clock by probing with device tree hwrng: omap3-rom - Call clk_prepare() on init and exit only hwrng: omap3-rom - Initialize default quality to get data hwrng: omap3-rom - Update to use standard driver data hwrng: omap3-rom - Use runtime PM instead of custom functions .../devicetree/bindings/rng/omap3_rom_rng.txt | 27 +++ arch/arm/boot/dts/omap3-n900.dts | 6 + arch/arm/mach-omap2/pdata-quirks.c | 14 +- drivers/char/hw_random/omap3-rom-rng.c | 186 ++++++++++++------ 4 files changed, 162 insertions(+), 71 deletions(-) create mode 100644 Documentation/devicetree/bindings/rng/omap3_rom_rng.txt -- 2.23.0