From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7E25BC83007 for ; Wed, 29 Apr 2020 21:54:46 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 3ECDE20757 for ; Wed, 29 Apr 2020 21:54:46 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="eFoVjg1Z" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3ECDE20757 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=atomide.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject: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=nybLN7cKZqxcVqzFJpOHrKjxaD37/ygNVUfXx1JIMZE=; b=eFoVjg1ZlqBtS5 feqw7AzHmNV6K0+gU2PLjZslpsLQeVcVNkiJ7qUcUT2noCnPCai4lE+Q6MuReDLrxtINaBi9QkLvu dK+TxZQ00vIDpkfZawLGqDB2ZFBkrBHvYVw/FZ750P7d4P3ASZ5Q8ZtyPP/Gs+wbPLlNXyqz6QqGs EyYSoCKaBXmBmEb9JJJ1/jz37oSGP0IIivLSZ8ccg87QAWjXT0w82QLHintOkLJl3Whv4IDIkG7n1 KF2Mx1PAn+KUJlD2Niz/7Yk2fhfa0Tk7rKU3pRREcWhIsKK/4apBe0FkeLOOe1SG454dHwtumczVG RAY17gWGoJSUz7XpjAgA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jTufB-0002UY-8O; Wed, 29 Apr 2020 21:54:41 +0000 Received: from muru.com ([72.249.23.125]) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jTueg-000274-D6 for linux-arm-kernel@lists.infradead.org; Wed, 29 Apr 2020 21:54:11 +0000 Received: from hillo.muru.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTP id E73E4810A; Wed, 29 Apr 2020 21:54:53 +0000 (UTC) From: Tony Lindgren To: Daniel Lezcano , Thomas Gleixner Subject: [PATCHv2 00/15] Update omaps to use drivers/clocksource timers Date: Wed, 29 Apr 2020 14:53:47 -0700 Message-Id: <20200429215402.18125-1-tony@atomide.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200429_145410_477445_1676EB0E X-CRM114-Status: GOOD ( 12.18 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Aaro Koskinen , Lokesh Vutla , "H. Nikolaus Schaller" , Michael Turquette , Graeme Smecher , linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, Tero Kristo , Stephen Boyd , Andreas Kemnade , Keerthy , linux-omap@vger.kernel.org, Adam Ford , Brian Hutchinson , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi all, Here's v2 series to udpate omaps to use drivers/clocksource timers for the 32k counter and dmtimer, and to remove the old legacy platform code. Please review and test. I've updated the timer-ti-dm-systimer.c patch based on the comments from Daniel, and also updated the dts files accordingly. Then for merging when folks are happy with this series, Daniel if you can please apply the first three patches into an immutable branch it would be great. Regards, Tony Tony Lindgren (15): clocksource/drivers/timer-ti-32k: Add support for initializing directly dt-bindings: timer: add ti,dmtimer compatible for for system timers clocksource/drivers/timer-ti-dm: Add clockevent and clocksource support clk: ti: dm816: enable sysclk6_ck on init bus: ti-sysc: Ignore timer12 on secure omap3 ARM: OMAP2+: Add omap_init_time_of() ARM: dts: Configure system timers for am335x ARM: dts: Configure system timers for am437x ARM: dts: Configure system timers for omap4 ARM: dts: Configure system timers for omap5 and dra7 ARM: dts: Configure system timers for omap3 ARM: dts: Configure system timers for ti81xx ARM: dts: Configure system timers for omap2 ARM: OMAP2+: Drop old timer code for dmtimer and 32k counter bus: ti-sysc: Timers no longer need legacy quirk handling .../devicetree/bindings/timer/ti,timer.txt | 1 + arch/arm/boot/dts/am33xx-l4.dtsi | 6 +- arch/arm/boot/dts/am33xx.dtsi | 24 + arch/arm/boot/dts/am3517.dtsi | 28 +- arch/arm/boot/dts/am4372.dtsi | 24 + arch/arm/boot/dts/am437x-l4.dtsi | 7 +- arch/arm/boot/dts/dm814x.dtsi | 78 ++- arch/arm/boot/dts/dm816x.dtsi | 82 ++- arch/arm/boot/dts/dra7-l4.dtsi | 7 +- arch/arm/boot/dts/dra7.dtsi | 11 + arch/arm/boot/dts/omap2.dtsi | 31 +- arch/arm/boot/dts/omap2420.dtsi | 69 ++- arch/arm/boot/dts/omap2430.dtsi | 69 ++- arch/arm/boot/dts/omap3-beagle.dts | 33 + arch/arm/boot/dts/omap3-devkit8000.dts | 33 + arch/arm/boot/dts/omap3.dtsi | 135 ++++- arch/arm/boot/dts/omap4-l4.dtsi | 4 +- arch/arm/boot/dts/omap4.dtsi | 11 + arch/arm/boot/dts/omap5-l4.dtsi | 4 +- arch/arm/boot/dts/omap5.dtsi | 11 + arch/arm/mach-omap2/Makefile | 4 +- arch/arm/mach-omap2/board-generic.c | 32 +- arch/arm/mach-omap2/common.h | 7 + arch/arm/mach-omap2/omap_hwmod_2420_data.c | 20 - arch/arm/mach-omap2/omap_hwmod_2430_data.c | 19 - .../omap_hwmod_2xxx_interconnect_data.c | 8 - .../mach-omap2/omap_hwmod_2xxx_ipblock_data.c | 47 -- .../omap_hwmod_33xx_43xx_common_data.h | 2 - .../omap_hwmod_33xx_43xx_interconnect_data.c | 8 - .../omap_hwmod_33xx_43xx_ipblock_data.c | 62 -- arch/arm/mach-omap2/omap_hwmod_33xx_data.c | 10 - arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 146 +---- arch/arm/mach-omap2/omap_hwmod_43xx_data.c | 45 -- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 90 --- arch/arm/mach-omap2/omap_hwmod_54xx_data.c | 89 --- arch/arm/mach-omap2/omap_hwmod_7xx_data.c | 176 ------ arch/arm/mach-omap2/omap_hwmod_81xx_data.c | 74 --- arch/arm/mach-omap2/omap_hwmod_common_data.h | 3 - arch/arm/mach-omap2/timer.c | 568 +----------------- drivers/bus/ti-sysc.c | 25 +- drivers/clk/ti/clk-816x.c | 1 + drivers/clocksource/Makefile | 1 + drivers/clocksource/timer-ti-32k.c | 48 +- drivers/clocksource/timer-ti-dm-systimer.c | 511 ++++++++++++++++ 44 files changed, 1179 insertions(+), 1485 deletions(-) create mode 100644 drivers/clocksource/timer-ti-dm-systimer.c -- 2.26.2 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel