From patchwork Mon Mar 7 15:40:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Conor Dooley X-Patchwork-Id: 12772008 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 759B6C433EF for ; Mon, 7 Mar 2022 15:37:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235983AbiCGPiQ (ORCPT ); Mon, 7 Mar 2022 10:38:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57210 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240008AbiCGPiP (ORCPT ); Mon, 7 Mar 2022 10:38:15 -0500 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C448791AFC; Mon, 7 Mar 2022 07:37:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1646667440; x=1678203440; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=HqBJCaUgOl4ABA5A2mBxWwr43jmzmLhKACc11IzWAck=; b=aZFLeAZnQ+X0PpmHYWyXWDTrM5qqhBO9MN9hnSm0g17geNqD+mHd+dC9 /5ZoTa5+AQhSVup5ArQfaBq9RjOlNOeOtFr7fqId33hJH3+4DQpQt/YA3 2ZLr+5tA3Ch0lIhyGq3gLFo9grA7P5Z8qrYB6MfajtQw6CFTwY0whRVdX gEczAVqOcowci00NkmN+Yp3kcwfjEjOeVR/qUliFWhvTyb7Dgrbq0NKZz 1i2xPkRz8f06biodwzMmd9SY/kmLT9Roy5ZDiqRGN8HBSvLXbOEbOtp24 YiKKGU9CkHFKnypqFRX4kyh3nU4sSX/abj9+CNJA7I36nqgM9dFbj5wgQ w==; X-IronPort-AV: E=Sophos;i="5.90,162,1643698800"; d="scan'208";a="148340403" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa4.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 07 Mar 2022 08:37:19 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.17; Mon, 7 Mar 2022 08:37:19 -0700 Received: from wendy.microchip.com (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2375.17 via Frontend Transport; Mon, 7 Mar 2022 08:37:18 -0700 From: To: , CC: , , , , "Conor Dooley" Subject: [PATCH 0/2] Add support for hwrng on PolarFire SoC Date: Mon, 7 Mar 2022 15:40:22 +0000 Message-ID: <20220307154023.813158-1-conor.dooley@microchip.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org From: Conor Dooley As it says on the tin, add support for the hardware rng on PolarFire SoC, which is accessed via the system controller. While we're at it, add the rng driver to the list of files included as part of the SoC support in MAINTAINERS. Base commit is in arm/soc branch of the soc tree as the hwrng driver depends on the system controller, which is to be introduced via that tree in 5.18 Conor Dooley (2): hwrng: mpfs - add polarfire soc hwrng support MAINTAINERS: update PolarFire SoC support MAINTAINERS | 1 + drivers/char/hw_random/Kconfig | 13 ++++ drivers/char/hw_random/Makefile | 1 + drivers/char/hw_random/mpfs-rng.c | 103 ++++++++++++++++++++++++++++++ 4 files changed, 118 insertions(+) create mode 100644 drivers/char/hw_random/mpfs-rng.c base-commit: a483b1b232e616d0095a59b987ffc739bc1b56bc