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=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,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 8B844C38A2B for ; Fri, 17 Apr 2020 16:55:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6F4C920771 for ; Fri, 17 Apr 2020 16:55:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727932AbgDQQzc (ORCPT ); Fri, 17 Apr 2020 12:55:32 -0400 Received: from muru.com ([72.249.23.125]:49980 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727840AbgDQQzc (ORCPT ); Fri, 17 Apr 2020 12:55:32 -0400 Received: from hillo.muru.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTP id 3D9B48047; Fri, 17 Apr 2020 16:56:17 +0000 (UTC) From: Tony Lindgren To: linux-omap@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, "H. Nikolaus Schaller" , Aaro Koskinen , Adam Ford , Andreas Kemnade , Daniel Lezcano , Keerthy , Lokesh Vutla , Michael Turquette , Stephen Boyd , Tero Kristo , Thomas Gleixner , devicetree@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 00/14] Update omaps to use drivers/clocksource timers Date: Fri, 17 Apr 2020 09:55:05 -0700 Message-Id: <20200417165519.4979-1-tony@atomide.com> X-Mailer: git-send-email 2.26.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org Hi all, Here's a series of changes 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. Daniel, if the the first two patches look OK after review, maybe you can again set up an immutable branch for the first two patches against v5.7-rc1 that I can merge in? Regards, Tony Tony Lindgren (14): clocksource/drivers/timer-ti-32k: Add support for initializing directly 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 | 2 + arch/arm/boot/dts/am33xx-l4.dtsi | 2 - arch/arm/boot/dts/am33xx.dtsi | 12 + arch/arm/boot/dts/am3517.dtsi | 16 +- arch/arm/boot/dts/am4372.dtsi | 12 + arch/arm/boot/dts/am437x-l4.dtsi | 3 - arch/arm/boot/dts/dm814x.dtsi | 66 +- arch/arm/boot/dts/dm816x.dtsi | 70 ++- arch/arm/boot/dts/dra7-l4.dtsi | 5 - arch/arm/boot/dts/dra7.dtsi | 6 + arch/arm/boot/dts/omap2.dtsi | 38 +- arch/arm/boot/dts/omap2420.dtsi | 65 +- arch/arm/boot/dts/omap2430.dtsi | 65 +- arch/arm/boot/dts/omap3-beagle.dts | 16 + arch/arm/boot/dts/omap3-devkit8000.dts | 16 + arch/arm/boot/dts/omap3.dtsi | 130 +++- arch/arm/boot/dts/omap4-l4.dtsi | 2 - arch/arm/boot/dts/omap4.dtsi | 6 + arch/arm/boot/dts/omap5-l4.dtsi | 2 - arch/arm/boot/dts/omap5.dtsi | 6 + 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 | 468 +++++++++++++++ include/clocksource/timer-ti-dm.h | 1 + 45 files changed, 1016 insertions(+), 1478 deletions(-) create mode 100644 drivers/clocksource/timer-ti-dm-systimer.c -- 2.26.1