linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/9] Orion watchdog DT changes to support more SoCs
@ 2013-08-23 22:12 Ezequiel Garcia
  2013-08-23 22:12 ` [PATCH v2 1/9] watchdog: orion: Remove unneeded BRIDGE_CAUSE clear Ezequiel Garcia
                   ` (8 more replies)
  0 siblings, 9 replies; 15+ messages in thread
From: Ezequiel Garcia @ 2013-08-23 22:12 UTC (permalink / raw)
  To: linux-arm-kernel

As part of my work to add watchdog support to Armada 370/XP SoCs,
here's the second version of the early patches that make the orion_wdt
driver multiplatform-friendly.

This patchset allows to build the orion_wdt driver in any Orion
platforms, without any ugly mach-dependencies.

This is done by splitting the single memory resource into two memory
resources: timer control, watchdog counter. These resources are then handled
as independent memory resources (as they actually are semantically different).

The only drawback with this approach is the breakage of devicetree backwards
compatibility such change produces. Of course, this is an important issue,
and it's only acceptable given the DT for these platforms is still considered
partially in transition.

Changes from v1:

* Instead of having RSTOUT as a third orion-wdt resource, and thus
  enable/disable the watchdog reset from the driver, simply enable
  it on board-initialization time.

  This must be done with care, because the orion_wdt is used by
  all the Orion machines (except mvebu) in their DT and legacy variants.

Thanks!

Ezequiel Garcia (9):
  watchdog: orion: Remove unneeded BRIDGE_CAUSE clear
  watchdog: orion: Make counter register a separate resource
  ARM: orion: Assert watchdog RSTOUT enable bit
  watchdog: orion: Remove RSTOUT bit enable/disable
  watchdog: orion: Allow to build in any Orion platform
  watchdog: orion: Rename device-tree binding documentation
  watchdog: orion: Update device-tree binding documentation
  ARM: kirkwood: Update watchdog 'reg' property
  ARM: orion5x: Update orion-wdt DT node

 .../watchdog/{marvel.txt => orion-wdt.txt}         |  7 +++--
 arch/arm/boot/dts/kirkwood.dtsi                    |  3 +-
 arch/arm/boot/dts/orion5x.dtsi                     |  3 +-
 arch/arm/mach-dove/board-dt.c                      |  2 ++
 arch/arm/mach-dove/common.c                        |  2 ++
 arch/arm/mach-dove/include/mach/bridge-regs.h      |  2 ++
 arch/arm/mach-kirkwood/board-dt.c                  |  2 ++
 arch/arm/mach-kirkwood/common.c                    |  2 ++
 arch/arm/mach-kirkwood/include/mach/bridge-regs.h  |  2 ++
 arch/arm/mach-mv78xx0/common.c                     |  2 ++
 arch/arm/mach-mv78xx0/include/mach/bridge-regs.h   |  2 ++
 arch/arm/mach-orion5x/board-dt.c                   |  4 +++
 arch/arm/mach-orion5x/common.c                     |  2 ++
 arch/arm/mach-orion5x/include/mach/bridge-regs.h   |  2 ++
 arch/arm/plat-orion/common.c                       | 15 +++++++---
 arch/arm/plat-orion/include/plat/common.h          |  1 +
 drivers/watchdog/Kconfig                           |  2 +-
 drivers/watchdog/orion_wdt.c                       | 32 ++++++++--------------
 18 files changed, 57 insertions(+), 30 deletions(-)
 rename Documentation/devicetree/bindings/watchdog/{marvel.txt => orion-wdt.txt} (58%)

-- 
1.8.1.5

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

end of thread, other threads:[~2013-08-27 21:44 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-23 22:12 [PATCH v2 0/9] Orion watchdog DT changes to support more SoCs Ezequiel Garcia
2013-08-23 22:12 ` [PATCH v2 1/9] watchdog: orion: Remove unneeded BRIDGE_CAUSE clear Ezequiel Garcia
2013-08-23 22:12 ` [PATCH v2 2/9] watchdog: orion: Make counter register a separate resource Ezequiel Garcia
2013-08-23 22:12 ` [PATCH v2 3/9] ARM: orion: Assert watchdog RSTOUT enable bit Ezequiel Garcia
2013-08-23 22:12 ` [PATCH v2 4/9] watchdog: orion: Remove RSTOUT bit enable/disable Ezequiel Garcia
2013-08-23 22:12 ` [PATCH v2 5/9] watchdog: orion: Allow to build in any Orion platform Ezequiel Garcia
2013-08-23 22:12 ` [PATCH v2 6/9] watchdog: orion: Rename device-tree binding documentation Ezequiel Garcia
2013-08-23 22:12 ` [PATCH v2 7/9] watchdog: orion: Update " Ezequiel Garcia
2013-08-26 14:08   ` Jason Cooper
2013-08-27  8:36     ` Ezequiel Garcia
2013-08-27  8:39       ` Thomas Petazzoni
2013-08-27 11:13         ` Jason Cooper
2013-08-27 21:44       ` Stephen Warren
2013-08-23 22:12 ` [PATCH v2 8/9] ARM: kirkwood: Update watchdog 'reg' property Ezequiel Garcia
2013-08-23 22:12 ` [PATCH v2 9/9] ARM: orion5x: Update orion-wdt DT node Ezequiel Garcia

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