From: Thierry Reding <thierry.reding@gmail.com>
To: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Cc: Nicolas Ferre <nicolas.ferre@microchip.com>,
Boris Brezillon <boris.brezillon@free-electrons.com>,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org,
Antoine Aubert <a.aubert@overkiz.com>,
Daniel Lezcano <daniel.lezcano@linaro.org>,
devicetree@vger.kernel.org,
Douglas Gilbert <dgilbert@interlog.com>,
Fabio Porcedda <fabio.porcedda@gmail.com>,
Gregory CLEMENT <gregory.clement@free-electrons.com>,
Gregory Hermant <gregory.hermant@calao-systems.com>,
Joachim Eastwood <manabian@gmail.com>,
linux-pwm@vger.kernel.org, Marek Vasut <marex@denx.de>,
Martin Reimann <martin.reimann@egnite.de>,
Peter Rosin <peda@axentia.se>,
Raashid Muhammed <raashidmuhammed@zilogic.com>,
Rob Herring <robh+dt@kernel.org>,
Rodolfo Giometti <giometti@linux.it>,
Se
Subject: Re: [PATCH 00/58] ARM: at91: rework Atmel TCB drivers
Date: Thu, 6 Jul 2017 08:40:55 +0200 [thread overview]
Message-ID: <20170706064055.GE16144@ulmo.fritz.box> (raw)
In-Reply-To: <20170530215139.9983-1-alexandre.belloni@free-electrons.com>
[-- Attachment #1: Type: text/plain, Size: 1372 bytes --]
On Tue, May 30, 2017 at 11:50:41PM +0200, Alexandre Belloni wrote:
> Hi,
>
> This series reworks the Atmel Timer counter Block drivers. Those blocks
> each have 3 counters with 2 channels each and can be used for
> multiple functions:
> - timers
> - PWMs
> - Quadrature decoders
> - Stepper motor counters
>
> Up until now, each TCB was fully used by each driver, possibly wasting
> counters/channels.
>
> There is a second issue motivating that rework. Until now, the PIT is
> still used to boot then later in the boot sequence, the clocksource is
> switched to the TCB. This ends up not working well with preempt-rt
> because on some SoCs, the PIT interrupt is shared with the DBGU uart.
> When using preempt-rt the interrupt flags for the PIT and the DBGU end
> up being incompatible.
>
> The rework breaks the DT ABI. Backward compatibility can be kept by
> keeping tcb_clksrc and atmel_tclib but as AVR32 is now gone from the
> kernel, I don't think it makes much sense to keep them.
>
> Also, there is no other choice than breaking the mainly unused
> pwm-atmel-tcb binding. Only the kizbox is actually using it.
>
> I think the bindings are now ok and I hope we can take the DT changes
> for 4.13.
Has anyone volunteered to pick this up? What are the dependencies here
and how did you plan to get this merged?
Thierry
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
prev parent reply other threads:[~2017-07-06 6:40 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-30 21:50 [PATCH 00/58] ARM: at91: rework Atmel TCB drivers Alexandre Belloni
2017-05-30 21:50 ` [PATCH 01/58] ARM: at91: Document new TCB bindings Alexandre Belloni
[not found] ` <20170530215139.9983-2-alexandre.belloni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
2017-06-07 21:17 ` Rob Herring
2017-05-31 6:34 ` [PATCH 00/58] ARM: at91: rework Atmel TCB drivers Peter Rosin
2017-05-31 7:21 ` Alexandre Belloni
[not found] ` <20170530215139.9983-47-alexandre.belloni@free-electrons.com>
[not found] ` <20170606152104.GC2345@mai>
[not found] ` <20170606180559.pkrr7ux2qqnmsd6y@piout.net>
[not found] ` <20170607141735.GH2345@mai>
[not found] ` <20170607152750.tksmyf5p3oajbsac@piout.net>
[not found] ` <20170607210848.GJ2345@mai>
[not found] ` <20170607231715.ns2vcxza2eexnzjs@piout.net>
[not found] ` <20170607231715.ns2vcxza2eexnzjs-m++hUPXGwpdeoWH0uzbU5w@public.gmane.org>
2017-06-08 5:42 ` [PATCH 46/58] clocksource/drivers: Add a new driver for the Atmel ARM TC blocks Boris Brezillon
2017-06-08 7:44 ` Daniel Lezcano
2017-06-08 7:59 ` Alexandre Belloni
2017-06-08 8:24 ` Daniel Lezcano
2017-06-08 8:33 ` Boris Brezillon
2017-06-08 8:42 ` Alexandre Belloni
2017-06-08 8:13 ` Boris Brezillon
2017-06-08 8:40 ` Daniel Lezcano
2017-06-08 8:57 ` Boris Brezillon
2017-06-12 12:54 ` Nicolas Ferre
[not found] ` <eada48f9-55b5-859d-d37e-4c9e938bc29d-UWL1GkI3JZL3oGB3hsPCZA@public.gmane.org>
2017-06-12 13:25 ` Daniel Lezcano
[not found] ` <4c2a5425-acb4-c639-7f54-1dd933c44d03-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2017-06-12 15:26 ` Nicolas Ferre
2017-07-06 6:40 ` Thierry Reding [this message]
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=20170706064055.GE16144@ulmo.fritz.box \
--to=thierry.reding@gmail.com \
--cc=a.aubert@overkiz.com \
--cc=alexandre.belloni@free-electrons.com \
--cc=boris.brezillon@free-electrons.com \
--cc=daniel.lezcano@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=dgilbert@interlog.com \
--cc=fabio.porcedda@gmail.com \
--cc=giometti@linux.it \
--cc=gregory.clement@free-electrons.com \
--cc=gregory.hermant@calao-systems.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pwm@vger.kernel.org \
--cc=manabian@gmail.com \
--cc=marex@denx.de \
--cc=martin.reimann@egnite.de \
--cc=nicolas.ferre@microchip.com \
--cc=peda@axentia.se \
--cc=raashidmuhammed@zilogic.com \
--cc=robh+dt@kernel.org \
/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: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).