Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2131936rwb; Thu, 29 Sep 2022 06:40:22 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6Bk00fCduCOxVflO+3HBbg0/ZhYKA2GQfa8gBYAQYoIIzm96w1rOr9+p//VwUa0WqbGOTu X-Received: by 2002:a17:90b:3e89:b0:202:ab9f:6ee5 with SMTP id rj9-20020a17090b3e8900b00202ab9f6ee5mr16851241pjb.112.1664458822596; Thu, 29 Sep 2022 06:40:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664458822; cv=none; d=google.com; s=arc-20160816; b=h8pIbCHRTVkRb3jiky5ueJFCh+dQLH2a27ujnRgXChAqEZIy7gEx4nToRNB35UMbmv ip0QegiDtC3/TYAQx02F0u7FlxSwz1/1w/uGSpFDcFTPRlg8rnw392YzR7+g2qYzv3eG CYoCTUY1ebqSHEjY9hQd0vQ81LJ6RJqf9g4A2ygjoQAAnV43MQtPtfXQWc+tbKZY4IHf 1/7yLXLBPYTy46n5FHzMqu3DlYFWWMhhLuO1fJrOEHSnijIPx3d3p37AIdN19nvj3epY 3AYjxsDNo/LJKvf5up/yAikubD9+d//EtfCT3I4NhbaXovlaxb/TCyYVC6yNv3JWLqIK n/WA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=e9Sgls2eMVDaHSb7HA7EdekE6Yw80pjPVl7bF2GlMqc=; b=GdMa6FtVJqbxYfXpGm3VtGhN7tdlK4nCmgSiRN0cPb3BEIDMeLJc3J1WxCNnEQpkuh 7F5GoD38odCd/MJA+Al7KS749WJmNhijEvGzMGYVYHrhq205k3llYuYLbGkYt4N4vVaO ++Tn+cKyB8cxWXuTRyYa1DppmpjFLbbBOGfMR2jdZGr61GJHT8g70Cvn86dEuiTwlNqE zEOSDZJF6RTyAvO0FbNs70SS/BfOqHA6UQXy0SV5YKBMU+Woynk+3dSyWAAB5uab76Ky 5PFoejuVAheMyfwajBpw7j0RyVFeCfoN0HV58toxtuTW+rmHm5ed7hRwFrWlryA+mU44 xZ6Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id oj5-20020a17090b4d8500b00200ae8c504dsi8198032pjb.65.2022.09.29.06.40.10; Thu, 29 Sep 2022 06:40:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235018AbiI2Nbr (ORCPT + 99 others); Thu, 29 Sep 2022 09:31:47 -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 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=0.5 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FORGED_GMAIL_RCVD,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,NML_ADSP_CUSTOM_MED,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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(-) -- 2.33.0