From patchwork Thu Jun 9 09:40:38 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Claudiu Beznea X-Patchwork-Id: 12875120 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 57D2ACCA473 for ; Thu, 9 Jun 2022 09:39:31 +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=WAzM0jKYDcCRN5Mre848EyZ7bO5uCCWyVPYr/oKiCuk=; b=TTyzpXWWxxjQwq QMLILtQ34s0BHz5j9Fr/kpJk8jSpk4pWMJZ2/XowDnyFmywDdrRqtkqII3fNBHQTyBqCuEQh/RGil E4nE/15Vk31mWfCRtucI1PLh6HtmgIA6SnJArKFlvq9j1YWscdzGxddnO0YKHkViCyqBwgb0MD77E OqPU1vKUBVrda+/Vx/B3PhbtIP9i3nCFcdkWlNFyc+bpR+2R3hV/GYhtuFEXwi1jW+ttnKJEOhO+f fjUADqCJ9ZQFnh/Qt4yfieiiATIsbwe8+fYDAUKuIxAFiWyH6Gb6fTd7G0142nysPcBUKWplw0P1u q0bfsD62HlpKTOZAffSw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nzEcR-000hge-T8; Thu, 09 Jun 2022 09:38:24 +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 1nzEcM-000hbK-VH for linux-arm-kernel@lists.infradead.org; Thu, 09 Jun 2022 09:38:21 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1654767498; x=1686303498; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=32hAsO1+ERVsJtppF5xPs+0dE3EElahoU3zfp8Y2qTA=; b=geOvX9ufW1doEpk9UaNqEsroaiDBSd2h7bY07uWvbrCPgBURZbcbh5c3 QiK1FHDQO68V10SNKOttXkb5YIBtUofJ+1TDCJzQKnGPjJ7ZNDKdyTjX6 fwkmu6CjM6Id96EowGKIxzPSYcJS5D9zH02XBSyPgJV8i2b9AjDeEVDdU uudT/HwKZWqqGlKId2lNgf5fTit52d9zKgTkVV0fkejeIUSXnQqHqdsch rJjAILH1ana6Cvbb9cA/ZzrLx69opmGluh0rzB8K2H/EswYPFun0dD3Dl pbdPn2D18ai9ftr7h1I50oepDoBvIIrNCLl+Urou4c97VVzDd/7B09tpb Q==; X-IronPort-AV: E=Sophos;i="5.91,287,1647327600"; d="scan'208";a="162585280" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa2.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 09 Jun 2022 02:38:14 -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; Thu, 9 Jun 2022 02:38:12 -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; Thu, 9 Jun 2022 02:38:11 -0700 From: Claudiu Beznea To: , CC: , , Claudiu Beznea Subject: [RESEND][PATCH 0/3] clocksource/drivers/timer-microchip-pit64b: improve clock management Date: Thu, 9 Jun 2022 12:40:38 +0300 Message-ID: <20220609094041.1796372-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-20220609_023819_172913_8EE6EBA4 X-CRM114-Status: UNSURE ( 6.62 ) 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 improves clock management on PIT64B driver such that PIT64B clocks to be disabled in case driver has been probed to be used as clockevent but there is already a better clockevent timer available. Along with it added a patch to fix compilation warnings. Patches were initially part of series at [1]. Thank you, Claudiu Beznea [1] https://lore.kernel.org/linux-arm-kernel/80f949af-ddab-b54d-b6ee-0fbcb1f74b51@linaro.org/T/#mc9969713b69f7874dd3bc6de07e8e8bc9568ead5 Claudiu Beznea (3): clocksource/drivers/timer-microchip-pit64b: remove suspend/resume ops for ce clocksource/drivers/timer-microchip-pit64b: use mchp_pit64b_{suspend, resume} clocksource/drivers/timer-microchip-pit64b: fix compilation warnings drivers/clocksource/timer-microchip-pit64b.c | 64 +++++++++----------- 1 file changed, 27 insertions(+), 37 deletions(-)