From patchwork Fri Feb 18 10:17:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Claudiu Beznea X-Patchwork-Id: 12751254 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 62733C433F5 for ; Fri, 18 Feb 2022 10:17:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=jQNmnbGMWEUDnaoi1VFapyzn2LQ4fQ8KYZhT90hJXKU=; b=vYyyfIJ95zgM3x BJFCDVSdUZODl7hwb8gC7vaB5/uPJ4lXWDvILCrH99wKeNBiYF9SqRJNROY7h/bN7USlZgVjB4j2d WlD8qBD0N5qBSYGyvEQAGLyWWliDBjI5+Q2U7Itm1MblqnK1b4QPFOg4PXpI6e1Mp0LHxzYBqUyLN xnj2pTv8vtr1zFpky3xU0bC+n3fPBMZRd0+EtLoE8VDZikqdBsj4SjnxECpKFzgmUTBvBsuO3x5PC TSJlU32DmjcJceqeydbm2Q6+jAGinhuXpGO9WBSSrWbzZTGlfArYcCflxAuICJ7UGlT16KBcRl25L YqhbaWs6Wn/siY7DhsEw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nL0JD-00Dmxt-5S; Fri, 18 Feb 2022 10:16:15 +0000 Received: from esa.microchip.iphmx.com ([68.232.154.123]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nL0J7-00DmvR-20 for linux-arm-kernel@lists.infradead.org; Fri, 18 Feb 2022 10:16:13 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1645179370; x=1676715370; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=b6jyNc5TsAM7TWNnI+hOWz6Q72t0GMAoWfyakMBe+ag=; b=dP2JwvDmBtigs7sh3xAMbhgSLBwxEZXTB6Ce8qGoba3Y/XPI+UDKjNZo q03MFFLUsXcS7ZCatxJNp4eyHC25dYyvXu4AEZDOdxjCpowazwUR10VNQ d7MBdUR6vKnHEbOFGpyJPkP1GoMnPhegXyiNiurmbIp5UnqMRMvooC5vA Ze6Q/1RJvrpuyzwpNTtiwE6F7WcBU2QatM5p3jnjbk6TWooGqkGUZKKb2 h+uO+jcnFpfwMgc8kcR/6yZxTEiKdC66Y/ZH4UmV341uIa9dDFO8eal71 Kse42+U8E++zUHISQ3wMX0nZzGPudP2XtELIocvUDGTLL8Wj6eTJCgOB6 A==; X-IronPort-AV: E=Sophos;i="5.88,378,1635231600"; d="scan'208";a="146491107" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa4.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 18 Feb 2022 03:16:08 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.85.144) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.17; Fri, 18 Feb 2022 03:16:06 -0700 Received: from localhost.localdomain (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2375.17 via Frontend Transport; Fri, 18 Feb 2022 03:16:03 -0700 From: Claudiu Beznea To: , , , , CC: , , Claudiu Beznea Subject: [PATCH 0/7] hwrnd: atmel - add runtime pm support Date: Fri, 18 Feb 2022 12:17:05 +0200 Message-ID: <20220218101712.530576-1-claudiu.beznea@microchip.com> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220218_021609_179256_ED95E73E X-CRM114-Status: UNSURE ( 7.42 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi, This series adds runtime PM support for atmel-rng driver. Along with this some cleanup and fixes patches were added to the series. Thank you, Claudiu Beznea Claudiu Beznea (7): hwrng: atmel - add wait for ready support on read hwrnd: atmel - disable trng on failure path hwrnd: atmel - rename enable/disable functions to init/cleanup hwrng: atmel - move set of TRNG_HALFR in atmel_trng_init() hwrnd: atmel - use __maybe_unused and pm_ptr() for pm ops hwrnd: atmel - add runtime pm support hwrnd: atmel - remove extra line drivers/char/hw_random/atmel-rng.c | 148 ++++++++++++++++++----------- 1 file changed, 91 insertions(+), 57 deletions(-)