From patchwork Fri Sep 13 22:09:16 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tony Lindgren X-Patchwork-Id: 11145401 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id DFAC276 for ; Fri, 13 Sep 2019 22:09:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id CB2022084F for ; Fri, 13 Sep 2019 22:09:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389689AbfIMWJ1 (ORCPT ); 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_Roh=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 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 Reviewed-by: Sebastian Reichel