From patchwork Thu Sep 29 13:31:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomer Maimon X-Patchwork-Id: 611074 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 195D3C4167D for ; Thu, 29 Sep 2022 13:31:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235025AbiI2Nbf (ORCPT ); Thu, 29 Sep 2022 09:31:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48114 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234922AbiI2Nbc (ORCPT ); Thu, 29 Sep 2022 09:31:32 -0400 Received: from maillog.nuvoton.com (maillog.nuvoton.com [202.39.227.15]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A12DD137460; Thu, 29 Sep 2022 06:31:27 -0700 (PDT) Received: from NTHCCAS04.nuvoton.com (NTHCCAS04.nuvoton.com [10.1.8.29]) by maillog.nuvoton.com (Postfix) with ESMTP id 6A28D1C80E70; Thu, 29 Sep 2022 21:31:25 +0800 (CST) Received: from NTHCML01A.nuvoton.com (10.1.8.177) by NTHCCAS04.nuvoton.com (10.1.8.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Thu, 29 Sep 2022 21:31:25 +0800 Received: from NTHCCAS04.nuvoton.com (10.1.8.29) by NTHCML01A.nuvoton.com (10.1.8.177) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2176.2; Thu, 29 Sep 2022 21:31:24 +0800 Received: from taln60.nuvoton.co.il (10.191.1.180) by NTHCCAS04.nuvoton.com (10.1.12.25) with Microsoft SMTP Server id 15.1.2176.2 via Frontend Transport; Thu, 29 Sep 2022 21:31:24 +0800 Received: by taln60.nuvoton.co.il (Postfix, from userid 10070) id A1B97637C4; Thu, 29 Sep 2022 16:31:23 +0300 (IDT) From: Tomer Maimon To: , , , , , , , , , CC: , , , , Tomer Maimon Subject: [PATCH v2 0/2] rng: npcm: add Arbel NPCM8XX support Date: Thu, 29 Sep 2022 16:31:09 +0300 Message-ID: <20220929133111.73897-1-tmaimon77@gmail.com> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org This patch set adds Arbel NPCM8XX Random Number Generator(RNG) support to RNG NPCM driver. The NPCM8XX RNG uses different prescalar clock value. The NPCM RNG driver was tested on the NPCM845 evaluation board. Addressed comments from: - Krzysztof Kozlowski: https://www.spinics.net/lists/kernel/msg4523771.html https://www.spinics.net/lists/kernel/msg4523585.html Changes since version 1: - Fix dt-binding document warning. - Use driver data to handle architecture specific clock prescaler. Tomer Maimon (2): dt-bindings: rng: nuvoton,npcm-rng: Add npcm845 compatible string hwrng: npcm: Add NPCM8XX support .../devicetree/bindings/rng/nuvoton,npcm-rng.yaml | 4 +++- drivers/char/hw_random/npcm-rng.c | 14 ++++++++++---- 2 files changed, 13 insertions(+), 5 deletions(-)