From: Tony Lindgren <tony@atomide.com> To: Daniel Lezcano <daniel.lezcano@linaro.org>, Thomas Gleixner <tglx@linutronix.de> Cc: linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, "H. Nikolaus Schaller" <hns@goldelico.com>, Aaro Koskinen <aaro.koskinen@iki.fi>, Adam Ford <aford173@gmail.com>, Andreas Kemnade <andreas@kemnade.info>, Brian Hutchinson <b.hutchman@gmail.com>, Graeme Smecher <gsmecher@threespeedlogic.com>, Grygorii Strashko <grygorii.strashko@ti.com>, Keerthy <j-keerthy@ti.com>, Lokesh Vutla <lokeshvutla@ti.com>, Michael Turquette <mturquette@baylibre.com>, Rob Herring <robh@kernel.org>, Stephen Boyd <sboyd@kernel.org>, Tero Kristo <t-kristo@ti.com>, devicetree@vger.kernel.org, linux-clk@vger.kernel.org Subject: [PATCHv3 00/14] Update omaps to use drivers/clocksource timers Date: Thu, 7 May 2020 10:23:16 -0700 [thread overview] Message-ID: <20200507172330.18679-1-tony@atomide.com> (raw) Hi all, Here's v3 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 Rob, and added support for selecting the preferred timers to use. 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 Changes since v2: - Drop extra compatible and use timer capabilities instead as suggested by Rob - Add support for detecting the preferred system timers to use Changes since v1: - Updated to be self-contained based on comments from Daniel 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 arch/arm/boot/dts/am33xx-l4.dtsi | 6 +- arch/arm/boot/dts/am33xx.dtsi | 20 + arch/arm/boot/dts/am3517.dtsi | 24 +- arch/arm/boot/dts/am4372.dtsi | 20 + arch/arm/boot/dts/am437x-l4.dtsi | 7 +- arch/arm/boot/dts/dm814x.dtsi | 74 +- arch/arm/boot/dts/dm816x.dtsi | 78 +- arch/arm/boot/dts/dra7-l4.dtsi | 7 +- arch/arm/boot/dts/dra7.dtsi | 10 + arch/arm/boot/dts/omap2.dtsi | 31 +- arch/arm/boot/dts/omap2420.dtsi | 68 +- arch/arm/boot/dts/omap2430.dtsi | 68 +- arch/arm/boot/dts/omap3-beagle.dts | 33 + arch/arm/boot/dts/omap3-devkit8000.dts | 33 + arch/arm/boot/dts/omap3.dtsi | 134 +++- arch/arm/boot/dts/omap4-l4.dtsi | 4 +- arch/arm/boot/dts/omap4.dtsi | 10 + arch/arm/boot/dts/omap5-l4.dtsi | 4 +- arch/arm/boot/dts/omap5.dtsi | 10 + 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 | 731 ++++++++++++++++++ 43 files changed, 1372 insertions(+), 1485 deletions(-) create mode 100644 drivers/clocksource/timer-ti-dm-systimer.c -- 2.26.2
WARNING: multiple messages have this Message-ID (diff)
From: Tony Lindgren <tony@atomide.com> To: Daniel Lezcano <daniel.lezcano@linaro.org>, Thomas Gleixner <tglx@linutronix.de> Cc: Rob Herring <robh@kernel.org>, Grygorii Strashko <grygorii.strashko@ti.com>, Aaro Koskinen <aaro.koskinen@iki.fi>, Lokesh Vutla <lokeshvutla@ti.com>, "H. Nikolaus Schaller" <hns@goldelico.com>, Michael Turquette <mturquette@baylibre.com>, Graeme Smecher <gsmecher@threespeedlogic.com>, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, Tero Kristo <t-kristo@ti.com>, Stephen Boyd <sboyd@kernel.org>, devicetree@vger.kernel.org, Andreas Kemnade <andreas@kemnade.info>, Keerthy <j-keerthy@ti.com>, linux-omap@vger.kernel.org, Adam Ford <aford173@gmail.com>, Brian Hutchinson <b.hutchman@gmail.com>, linux-arm-kernel@lists.infradead.org Subject: [PATCHv3 00/14] Update omaps to use drivers/clocksource timers Date: Thu, 7 May 2020 10:23:16 -0700 [thread overview] Message-ID: <20200507172330.18679-1-tony@atomide.com> (raw) Hi all, Here's v3 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 Rob, and added support for selecting the preferred timers to use. 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 Changes since v2: - Drop extra compatible and use timer capabilities instead as suggested by Rob - Add support for detecting the preferred system timers to use Changes since v1: - Updated to be self-contained based on comments from Daniel 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 arch/arm/boot/dts/am33xx-l4.dtsi | 6 +- arch/arm/boot/dts/am33xx.dtsi | 20 + arch/arm/boot/dts/am3517.dtsi | 24 +- arch/arm/boot/dts/am4372.dtsi | 20 + arch/arm/boot/dts/am437x-l4.dtsi | 7 +- arch/arm/boot/dts/dm814x.dtsi | 74 +- arch/arm/boot/dts/dm816x.dtsi | 78 +- arch/arm/boot/dts/dra7-l4.dtsi | 7 +- arch/arm/boot/dts/dra7.dtsi | 10 + arch/arm/boot/dts/omap2.dtsi | 31 +- arch/arm/boot/dts/omap2420.dtsi | 68 +- arch/arm/boot/dts/omap2430.dtsi | 68 +- arch/arm/boot/dts/omap3-beagle.dts | 33 + arch/arm/boot/dts/omap3-devkit8000.dts | 33 + arch/arm/boot/dts/omap3.dtsi | 134 +++- arch/arm/boot/dts/omap4-l4.dtsi | 4 +- arch/arm/boot/dts/omap4.dtsi | 10 + arch/arm/boot/dts/omap5-l4.dtsi | 4 +- arch/arm/boot/dts/omap5.dtsi | 10 + 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 | 731 ++++++++++++++++++ 43 files changed, 1372 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
next reply other threads:[~2020-05-07 17:23 UTC|newest] Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-05-07 17:23 Tony Lindgren [this message] 2020-05-07 17:23 ` [PATCHv3 00/14] Update omaps to use drivers/clocksource timers Tony Lindgren 2020-05-07 17:23 ` [PATCH 01/14] clocksource/drivers/timer-ti-32k: Add support for initializing directly Tony Lindgren 2020-05-07 17:23 ` Tony Lindgren 2020-06-01 13:11 ` [tip: timers/core] " tip-bot2 for Tony Lindgren 2020-06-01 13:11 ` tip-bot2 for Tony Lindgren 2020-05-07 17:23 ` [PATCH 02/14] clocksource/drivers/timer-ti-dm: Add clockevent and clocksource support Tony Lindgren 2020-05-07 17:23 ` Tony Lindgren 2020-06-01 13:11 ` [tip: timers/core] " tip-bot2 for Tony Lindgren 2020-06-01 13:11 ` tip-bot2 for Tony Lindgren 2020-05-07 17:23 ` [PATCH 03/14] clk: ti: dm816: enable sysclk6_ck on init Tony Lindgren 2020-05-07 17:23 ` Tony Lindgren 2020-05-07 17:23 ` [PATCH 04/14] bus: ti-sysc: Ignore timer12 on secure omap3 Tony Lindgren 2020-05-07 17:23 ` Tony Lindgren 2020-05-07 17:23 ` [PATCH 05/14] ARM: OMAP2+: Add omap_init_time_of() Tony Lindgren 2020-05-07 17:23 ` Tony Lindgren 2020-05-07 17:23 ` [PATCH 06/14] ARM: dts: Configure system timers for am335x Tony Lindgren 2020-05-07 17:23 ` Tony Lindgren 2020-05-07 17:23 ` [PATCH 07/14] ARM: dts: Configure system timers for am437x Tony Lindgren 2020-05-07 17:23 ` Tony Lindgren 2020-05-07 17:23 ` [PATCH 08/14] ARM: dts: Configure system timers for omap4 Tony Lindgren 2020-05-07 17:23 ` Tony Lindgren 2020-05-07 17:23 ` [PATCH 09/14] ARM: dts: Configure system timers for omap5 and dra7 Tony Lindgren 2020-05-07 17:23 ` Tony Lindgren 2020-05-07 17:23 ` [PATCH 10/14] ARM: dts: Configure system timers for omap3 Tony Lindgren 2020-05-07 17:23 ` Tony Lindgren 2020-05-07 17:23 ` [PATCH 11/14] ARM: dts: Configure system timers for ti81xx Tony Lindgren 2020-05-07 17:23 ` Tony Lindgren 2020-05-07 17:23 ` [PATCH 12/14] ARM: dts: Configure system timers for omap2 Tony Lindgren 2020-05-07 17:23 ` Tony Lindgren 2020-05-07 17:23 ` [PATCH 13/14] ARM: OMAP2+: Drop old timer code for dmtimer and 32k counter Tony Lindgren 2020-05-07 17:23 ` Tony Lindgren 2020-05-07 17:23 ` [PATCH 14/14] bus: ti-sysc: Timers no longer need legacy quirk handling Tony Lindgren 2020-05-07 17:23 ` Tony Lindgren 2020-05-18 16:58 ` [PATCHv3 00/14] Update omaps to use drivers/clocksource timers Daniel Lezcano 2020-05-18 16:58 ` Daniel Lezcano 2020-05-18 17:00 ` Tony Lindgren 2020-05-18 17:00 ` Tony Lindgren 2020-05-18 17:01 ` Daniel Lezcano 2020-05-18 17:01 ` Daniel Lezcano
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20200507172330.18679-1-tony@atomide.com \ --to=tony@atomide.com \ --cc=aaro.koskinen@iki.fi \ --cc=aford173@gmail.com \ --cc=andreas@kemnade.info \ --cc=b.hutchman@gmail.com \ --cc=daniel.lezcano@linaro.org \ --cc=devicetree@vger.kernel.org \ --cc=grygorii.strashko@ti.com \ --cc=gsmecher@threespeedlogic.com \ --cc=hns@goldelico.com \ --cc=j-keerthy@ti.com \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-clk@vger.kernel.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-omap@vger.kernel.org \ --cc=lokeshvutla@ti.com \ --cc=mturquette@baylibre.com \ --cc=robh@kernel.org \ --cc=sboyd@kernel.org \ --cc=t-kristo@ti.com \ --cc=tglx@linutronix.de \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.