linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/5] Armada XP clocks for timer
@ 2013-08-20 15:45 Ezequiel Garcia
  2013-08-20 15:45 ` [PATCH v3 1/5] ARM: mvebu: Add the reference 25 MHz fixed-clock to Armada XP Ezequiel Garcia
                   ` (7 more replies)
  0 siblings, 8 replies; 20+ messages in thread
From: Ezequiel Garcia @ 2013-08-20 15:45 UTC (permalink / raw)
  To: linux-arm-kernel

After the recent discussion on the device tree binding for the Armada 370/XP
clocksource driver, Stephen Warren, Tomasz Figa and others suggested
that the reference 25 MHz fixed-clock (aka refclk) should have a proper
device tree representation.

(Although that's still debatable, given the 25 MHz fixed-clock seems to be
used only by the timer/watchdog IP block.)

In addition to that and to be accurate, both timer clock inputs: nbclk and
refclk should be exposed in the DT node for the Armada XP timer.

Following an excellent suggestion from Sebastian Hesselbarth, here's a
patchset to accurately model the clock inputs for the timer.

Considering this is very minor improvemente from my previous patchset [1],
I dare ask about v3.12 inclusion. On the other side, maybe it's too late already
and it's best to keep it for v3.13.

Patches 1 and 2 apply on v3.11-rc4 plus the commit:
"ARM: mvebu: Fix the Armada 370/XP timer compatible strings"
that's already in mvebu/dt.

Patch 3, 4 and 5 applies on tip/timers/core plus the recent series [1].

[1] http://comments.gmane.org/gmane.linux.ports.arm.kernel/260179

Changes from v2:

  * Replace WARN_ON with BUG_ON. As noted in the patch, it's wrong
    to only WARN() as the kernel cannot keep going without a working timer.

Changes from v1:

  * Improve the devicetree binding as the requirements were very
    badly stated.

Ezequiel Garcia (5):
  ARM: mvebu: Add the reference 25 MHz fixed-clock to Armada XP
  ARM: mvebu: Add clock properties to Armada XP timer node
  clocksource: armada-370-xp: Replace WARN_ON with BUG_ON
  clocksource: armada-370-xp: Get reference fixed-clock by name
  clocksource: armada-370-xp: Add detailed clock requirements in
    devicetree binding

 .../bindings/timer/marvell,armada-370-xp-timer.txt          | 13 +++++++++++--
 arch/arm/boot/dts/armada-xp.dtsi                            | 11 +++++++++++
 drivers/clocksource/time-armada-370-xp.c                    |  9 ++++++---
 3 files changed, 28 insertions(+), 5 deletions(-)

-- 
1.8.1.5

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2013-09-11 18:00 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-20 15:45 [PATCH v3 0/5] Armada XP clocks for timer Ezequiel Garcia
2013-08-20 15:45 ` [PATCH v3 1/5] ARM: mvebu: Add the reference 25 MHz fixed-clock to Armada XP Ezequiel Garcia
2013-08-20 19:25   ` Mike Turquette
2013-08-20 15:45 ` [PATCH v3 2/5] ARM: mvebu: Add clock properties to Armada XP timer node Ezequiel Garcia
2013-08-20 19:26   ` Mike Turquette
2013-08-20 15:45 ` [PATCH v3 3/5] clocksource: armada-370-xp: Replace WARN_ON with BUG_ON Ezequiel Garcia
2013-08-20 15:45 ` [PATCH v3 4/5] clocksource: armada-370-xp: Get reference fixed-clock by name Ezequiel Garcia
2013-08-20 15:45 ` [PATCH v3 5/5] clocksource: armada-370-xp: Add detailed clock requirements in devicetree binding Ezequiel Garcia
2013-08-20 20:32   ` Stephen Warren
2013-08-20 20:50     ` Ezequiel Garcia
2013-08-22  8:07 ` [PATCH v3 0/5] Armada XP clocks for timer Gregory CLEMENT
2013-08-27  8:52 ` Ezequiel Garcia
2013-08-27 14:49   ` Jason Cooper
2013-09-02 14:26   ` Ezequiel Garcia
2013-09-03 12:46     ` Jason Cooper
2013-09-03 12:51       ` Ezequiel Garcia
2013-09-03 19:26       ` Jason Cooper
2013-09-04  8:21         ` Daniel Lezcano
2013-09-11 18:00           ` Ezequiel Garcia
2013-08-27 14:53 ` Jason Cooper

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).