Skip to content

Samsung watchdog support clean-up

Sylwester Nawrocki linux-arm-kernel linux-samsung-soc linux-watchdog 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 6 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 6 patches the cover letter announces are in this archive.

Reviews trailers per patch

PatchSylwester Nawrocki
SeriesT-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/6] Samsung watchdog support clean-up

Hi Tomasz,

Quoted 9 lines · Tomasz Figa

This series is aiming at cleaning up a bit watchdog support on Samsung SoCs. The patches tweak a bit all the watchdog handling code here and there, with the goal of making it DT- and multiplatform-friendly.

See particular patches for more detailed descriptions.

On S3C6410-based Tiny6410 board (Mini6410-compatible):

I've tested this series on a s3c2440 based board. The system restart works fine.

Quoted 26 lines

Depends on:
- [PATCH] ARM: s5p64x0: Use common uncompress.h part for plat-samsung

Tomasz Figa (6):
watchdog: s3c2410_wdt: Use local register definitions
ARM: SAMSUNG: uncompress: Use local definitions of watchdog registers
ARM: SAMSUNG: Add watchdog reset driver
ARM: SAMSUNG: Let platforms use the new watchdog reset driver
ARM: SAMSUNG: Remove legacy watchdog reset code
ARM: SAMSUNG: Remove unused plat/regs-watchdog.h header

  arch/arm/Kconfig                                   |  3 +
  arch/arm/mach-s3c24xx/Kconfig                      |  2 +
  arch/arm/mach-s3c24xx/s3c2410.c                    |  3 +-
  arch/arm/mach-s3c24xx/s3c244x.c                    |  3 +-
  arch/arm/mach-s3c64xx/common.c                     |  8 +-
  arch/arm/mach-s5p64x0/common.c                     |  4 +-
  arch/arm/mach-s5pc100/common.c                     |  3 +-
  arch/arm/plat-samsung/Kconfig                      |  6 ++
  arch/arm/plat-samsung/Makefile                     |  1 +
  arch/arm/plat-samsung/include/plat/regs-watchdog.h | 41 ---------
  arch/arm/plat-samsung/include/plat/uncompress.h    | 15 +++-
  .../arm/plat-samsung/include/plat/watchdog-reset.h | 38 ++-------
  arch/arm/plat-samsung/watchdog-reset.c             | 97 ++++++++++++++++++++++
  drivers/watchdog/s3c2410_wdt.c                     | 17 +++-
  14 files changed, 156 insertions(+), 85 deletions(-)
Quoted 2 lines

delete mode 100644 arch/arm/plat-samsung/include/plat/regs-watchdog.h create mode 100644 arch/arm/plat-samsung/watchdog-reset.c>

--
Regards,
Sylwester