From patchwork Fri Apr 8 10:17:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tony Lindgren X-Patchwork-Id: 12806382 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 88426C433F5 for ; Fri, 8 Apr 2022 10:18:40 +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=p+pX2GzLYyP4kqLGk7oHD15HT8X4Tx7o+7bH+Hp+Gqw=; b=AHkJ19SSdQwDlY byXsX5gIC8cemBBaS6Piw1SB3+v2D1fOBCd/VGVHbiNSv3qUMGHJ+oL94xwYPxcfiWUI2VgvMqR7C 7kFT0+YAFcB7ZMhnSkhzcYZw3mIgrQSnb6ES3XRUNoYTty/WBCJD9qorIJBeX5FJvpCdLQYiI/Jsp sWH0m37rZWKwZjfFJpNIsPZZHfbUnoU5sAb9EEzt+//ViBCc2YUlpOrOmpeRtfY0PBWXvNwZZ4nRW 58tGsEoms3/RTttAzKMMBtNQt0L7GhGqtw7/Kue3/qZNwaS49sV4G0I5A294/0m/+VKMJHNpC/d5e h0mChlkIzKHmFAPauMVQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nclgH-00GK5m-Ka; Fri, 08 Apr 2022 10:17:29 +0000 Received: from muru.com ([72.249.23.125]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nclgD-00GK4d-KG for linux-arm-kernel@lists.infradead.org; Fri, 08 Apr 2022 10:17:27 +0000 Received: from hillo.muru.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTP id CB5CD807E; Fri, 8 Apr 2022 10:14:58 +0000 (UTC) From: Tony Lindgren To: Daniel Lezcano , Thomas Gleixner Cc: linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Keerthy , Nishanth Menon , Vignesh Raghavendra Subject: [PATCHv2 0/3] TI timer changes for am6 Date: Fri, 8 Apr 2022 13:17:12 +0300 Message-Id: <20220408101715.43697-1-tony@atomide.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220408_031725_739923_D94FF579 X-CRM114-Status: UNSURE ( 8.98 ) 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, Here's v2 version of the timer changes for TI am6. Regards, Tony Changes since v1: - Change the new compatible to ti,am654-timer for the first compatible SoC as suggested by Nishanth - Separate out the binding to convert it to yaml first as suggested by Nishanth - Drop the header ifdefs by moving inline functions to the driver based on suggestion by Daniel Tony Lindgren (3): clocksource/drivers/timer-ti-dm: Move inline functions to driver for am6 clocksource/drivers/timer-ti-dm: Make timer selectable for ARCH_K3 clocksource/drivers/timer-ti-dm: Add compatible for am6 SoCs arch/arm/mach-omap2/Kconfig | 2 + drivers/clocksource/Kconfig | 8 +- drivers/clocksource/Makefile | 2 +- drivers/clocksource/timer-ti-dm.c | 123 +++++++++++++++++++++++++ include/clocksource/timer-ti-dm.h | 144 ------------------------------ 5 files changed, 133 insertions(+), 146 deletions(-)