[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180724231958.20659-1-paul@crapouillou.net>
Date: Wed, 25 Jul 2018 01:19:37 +0200
From: Paul Cercueil <paul@...pouillou.net>
To: Thierry Reding <thierry.reding@...il.com>,
Rob Herring <robh+dt@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Daniel Lezcano <daniel.lezcano@...aro.org>,
Thomas Gleixner <tglx@...utronix.de>,
Wim Van Sebroeck <wim@...ux-watchdog.org>,
Guenter Roeck <linux@...ck-us.net>,
Ralf Baechle <ralf@...ux-mips.org>,
Paul Burton <paul.burton@...s.com>,
Jonathan Corbet <corbet@....net>,
Michael Turquette <mturquette@...libre.com>,
Stephen Boyd <sboyd@...nel.org>,
Lee Jones <lee.jones@...aro.org>
Cc: Paul Cercueil <paul@...pouillou.net>, linux-pwm@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-watchdog@...r.kernel.org, linux-mips@...ux-mips.org,
linux-doc@...r.kernel.org, linux-clk@...r.kernel.org
Subject: [PATCH v5 00/21] Ingenic JZ47xx TCU patchset v5
Hi,
This is the V5 of my patchset that adds support to the Timer/Counter
Unit (TCU) present on Ingenic JZ47xx SoCs.
Way too much has changed since V4, we went from 8 patches in V4 up to
21 patches in V5.
I did not know if I had to submit it as V5 or start a new series.
In doubt, I sent a V5.
Very succint description of the changes:
- The interrupt, clocks, clocksource drivers have been merged into one;
ingenic-timer now inits the TCU clocks, handles the interrupts,
provides a system timer and optionally also a clocksource and
sched_clock. The TCU channel #0 will be used as system timer, unless
another channel is specified from devicetree.
- The simple-mfd and syscon are gone. The ingenic-timer driver will
probe the drivers registered as children in the devicetree.
- The watchdog driver was updated to use the WDT clock and regmap
provided by ingenic-timer. This breaks the devicetree ABI, but as
explained in the corresponding commit message, right now all Ingenic
boards compile the devicetree into the kernel anyway - so it's better
to update it now before it's too late.
- The PWM driver was updated to use the TCU timer clocks as well as the
regmap provided by ingenic-timer. Unused devicetree compatible strings
were removed (the driver was never probed from devicetree), and
support for the JZ4725B has been added.
- A new ingenic-ost driver was added, which provides a clocksource and
a sched_clock that are more accurate than the ones provided by
ingenic-timer (32 or 64-bit vs. 16-bit). It is not available on every
SoC.
- Mostly tested on the JZ4725B and JZ4770. It would be great if somebody
could test on the JZ4780 and JZ4740.
Thanks,
-Paul
Powered by blists - more mailing lists