[PATCH 0/7] ARM: samsung: Cleanup of various S3C bits

Krzysztof Kozlowski
2020-07-29T16:11:01Z

Hi,

I tried to cleanup few warnings in S3C machine code which lead to
finding some bigger issues.

Patches touch mostly the ARM Samsung machine code except patch #1 (clk)
and #5 (watchdog). They are independent from each other, except
some conflicting lines.

The last three patches would welcome some testing... as I did not
perform such (lack of S3C hardware).

Best regards,
Krzysztof

Krzysztof Kozlowski (7):
clk: samsung: s3c64xx: Declare s3c64xx_clk_init() in shared header
ARM: s3c64xx: Include header to fix -Wmissing-prototypes
ARM: s3c: Remove plat-samsung/.../samsung-time.h
ARM: samsung: Fix language typo
ARM: samsung: Kill useless HAVE_S3C2410_WATCHDOG
ARM: s3c64xx: Switch to generic watchdog driver reset
ARM: s3c24xx: Fix missing system reset

MAINTAINERS | 1 +
arch/arm/Kconfig | 3 +-
arch/arm/mach-exynos/Kconfig | 1 -
arch/arm/mach-s3c24xx/common.h | 12 +++
arch/arm/mach-s3c24xx/mach-amlm5900.c | 2 -
arch/arm/mach-s3c24xx/mach-anubis.c | 1 -
arch/arm/mach-s3c24xx/mach-at2440evb.c | 1 -
arch/arm/mach-s3c24xx/mach-bast.c | 1 -
arch/arm/mach-s3c24xx/mach-gta02.c | 1 -
arch/arm/mach-s3c24xx/mach-h1940.c | 1 -
arch/arm/mach-s3c24xx/mach-jive.c | 1 -
arch/arm/mach-s3c24xx/mach-mini2440.c | 1 -
arch/arm/mach-s3c24xx/mach-n30.c | 1 -
arch/arm/mach-s3c24xx/mach-nexcoder.c | 1 -
arch/arm/mach-s3c24xx/mach-osiris.c | 1 -
arch/arm/mach-s3c24xx/mach-otom.c | 1 -
arch/arm/mach-s3c24xx/mach-qt2410.c | 1 -
arch/arm/mach-s3c24xx/mach-rx1950.c | 1 -
arch/arm/mach-s3c24xx/mach-rx3715.c | 1 -
arch/arm/mach-s3c24xx/mach-smdk2410.c | 1 -
arch/arm/mach-s3c24xx/mach-smdk2413.c | 1 -
arch/arm/mach-s3c24xx/mach-smdk2416.c | 1 -
arch/arm/mach-s3c24xx/mach-smdk2440.c | 1 -
arch/arm/mach-s3c24xx/mach-smdk2443.c | 1 -
arch/arm/mach-s3c24xx/mach-tct_hammer.c | 1 -
arch/arm/mach-s3c24xx/mach-vr1000.c | 1 -
arch/arm/mach-s3c24xx/mach-vstms.c | 1 -
arch/arm/mach-s3c64xx/Kconfig | 5 +-
arch/arm/mach-s3c64xx/common.c | 16 +---
arch/arm/mach-s3c64xx/common.h | 17 +++-
arch/arm/mach-s3c64xx/mach-anw6410.c | 2 -
arch/arm/mach-s3c64xx/mach-crag6410.c | 2 -
arch/arm/mach-s3c64xx/mach-hmt.c | 2 -
arch/arm/mach-s3c64xx/mach-mini6410.c | 2 -
arch/arm/mach-s3c64xx/mach-ncp.c | 2 -
arch/arm/mach-s3c64xx/mach-real6410.c | 2 -
arch/arm/mach-s3c64xx/mach-s3c64xx-dt.c | 17 ----
arch/arm/mach-s3c64xx/mach-smartq.c | 1 -
arch/arm/mach-s3c64xx/mach-smartq5.c | 2 -
arch/arm/mach-s3c64xx/mach-smartq7.c | 2 -
arch/arm/mach-s3c64xx/mach-smdk6400.c | 2 -
arch/arm/mach-s3c64xx/mach-smdk6410.c | 2 -
arch/arm/mach-s3c64xx/setup-spi.c | 1 +
arch/arm/mach-s3c64xx/watchdog-reset.h | 16 ----
arch/arm/mach-s5pv210/Kconfig | 1 -
arch/arm/plat-samsung/Kconfig | 10 +-
arch/arm/plat-samsung/Makefile | 1 -
.../plat-samsung/include/plat/samsung-time.h | 26 ------
arch/arm/plat-samsung/watchdog-reset.c | 93 -------------------
arch/arm64/Kconfig.platforms | 1 -
drivers/clk/samsung/clk-s3c64xx.c | 1 +
drivers/watchdog/Kconfig | 8 --
include/linux/clk/samsung.h | 21 +++++
53 files changed, 59 insertions(+), 237 deletions(-)
delete mode 100644 arch/arm/mach-s3c64xx/watchdog-reset.h
delete mode 100644 arch/arm/plat-samsung/include/plat/samsung-time.h
delete mode 100644 arch/arm/plat-samsung/watchdog-reset.c
create mode 100644 include/linux/clk/samsung.h

--
2.17.1