From patchwork Tue Aug 4 19:26:41 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 11700891 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B8320138A for ; Tue, 4 Aug 2020 19:29:43 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A7F4322B45 for ; Tue, 4 Aug 2020 19:29:43 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="CJniWnNu"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="Fk0ASgls" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A7F4322B45 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Owner; bh=YoT6LTYf6NEUP2b3BFvZ/pHiqpPaXNMlEYJJI/dixnY=; b=CJniWnNuF2Zap0mQeleuNf9hdU tJhR14A6ZXa0pa7sNTEhFHGWcsi2s3/4pjZQovffDkVTc0AN63386TIW6wwceTE5XlBmfuNQSHKMO qzrg6bG+aiFGyITYkInWXqglm5hDSq4KEwlb7DfUZRC9X640MFR+46EmONZFH/h1B/oXg8zLT3h0s XAWmPyVWsIzhYEyNm6xqZzjgd77MmdRpGeeqt5H75cFK116e7YwK4j+cSELir0xw7hfHCd6QPX8Ee W8HRQAqPCuyTPCey6kn3+qAvAcRh7/dcXKLMiF7DtiOtRxmg/BtSZpv3xXrzmSAYcy9sd/Yj7DEJx Mi1edGPg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1k32as-0002Ay-Vp; Tue, 04 Aug 2020 19:27:27 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1k32ao-00027C-RQ for linux-arm-kernel@lists.infradead.org; Tue, 04 Aug 2020 19:27:23 +0000 Received: from localhost.localdomain (unknown [194.230.155.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 45AA522B42; Tue, 4 Aug 2020 19:27:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1596569241; bh=T7vK95m658FiqBZzoh7EYBskLGic2GgHyDK417xvIz8=; h=From:To:Cc:Subject:Date:From; b=Fk0ASglsqZU4iDkOd19jKtB/jO6vAgnJ1HNi0VGPnDRyiCwEMjKrbA8TnKNVlyF7H EgpSvGJqOSnYE7jdajxr5glShUT7YSWFapyRBFQK03WfoVAO0EYNAKvlJxLfw+SLQ3 MsBwwqZNm/jlGjchCk1+wUHsY46lX8ggZsBMfk5Q= From: Krzysztof Kozlowski To: Russell King , Kukjin Kim , Krzysztof Kozlowski , Simtec Linux Team , Maxime Coquelin , Alexandre Torgue , Kyungmin Park , Catalin Marinas , Will Deacon , Sylwester Nawrocki , Tomasz Figa , Chanwoo Choi , Michael Turquette , Stephen Boyd , Wim Van Sebroeck , Guenter Roeck , Arnd Bergmann , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, patches@opensource.cirrus.com, linux-clk@vger.kernel.org, linux-watchdog@vger.kernel.org Subject: [PATCH v2 00/13] clk/watchdog/ARM: Cleanup of various S3C bits Date: Tue, 4 Aug 2020 21:26:41 +0200 Message-Id: <20200804192654.12783-1-krzk@kernel.org> X-Mailer: git-send-email 2.17.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200804_152723_028220_14AB3298 X-CRM114-Status: GOOD ( 16.10 ) X-Spam-Score: -5.2 (-----) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-5.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at https://www.dnswl.org/, high trust [198.145.29.99 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.0 DKIMWL_WL_HIGH DKIMwl.org - Whitelisted High sender X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Sylwester Nawrocki , Lihua Yao , Cedric Roux , Sergio Prado , Marek Szyprowski MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Hi, I tried to cleanup few warnings in S3C machine code which lead to finding some bigger issues. The patchset touches clk and watchdog trees. I would appreciate acks so I can take everything through Samsung SoC tree. I have later a bigger set which would create conflicts with it [1]. Changes since v1: 1. Few new patches, 2. Addressed review around clk and watchdog changes (see change logs in individual patches). [1] v2 of Arnd's work for making S3C24xx multiplatform: https://github.com/krzk/linux/tree/for-next/s3c-multiplatform-cleanup-w1-warnings-v2 Best regards, Krzysztof Krzysztof Kozlowski (13): clk: samsung: s3c64xx: declare s3c64xx_clk_init() in shared header clk: samsung: s3c24xx: declare s3c24xx_common_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: remove HAVE_S3C2410_WATCHDOG and use direct dependencies ARM: s3c64xx: switch to generic watchdog driver reset ARM: s3c24xx: fix missing system reset ARM: s3c24xx: include common.h header in s3c2443.c ARM: s3c24xx: sdhci: include plat/sdhci.h header ARM: s3c24xx: ts: include platform data header ARM: s3c24xx: ts: document function argument ARM: s3c24xx: camif: include header with prototypes and unify declaration MAINTAINERS | 1 + arch/arm/Kconfig | 3 +- arch/arm/mach-exynos/Kconfig | 1 - arch/arm/mach-s3c24xx/common.c | 1 + arch/arm/mach-s3c24xx/common.h | 25 +++-- 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-s3c24xx/s3c2443.c | 1 + arch/arm/mach-s3c24xx/setup-camif.c | 5 +- arch/arm/mach-s3c24xx/setup-sdhci-gpio.c | 1 + arch/arm/mach-s3c24xx/setup-ts.c | 3 + arch/arm/mach-s3c64xx/Kconfig | 5 +- arch/arm/mach-s3c64xx/common.c | 17 +--- 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-s3c2410.c | 1 + drivers/clk/samsung/clk-s3c2412.c | 1 + drivers/clk/samsung/clk-s3c2443.c | 1 + drivers/clk/samsung/clk-s3c64xx.c | 1 + drivers/watchdog/Kconfig | 10 +- include/linux/clk/samsung.h | 56 +++++++++++ 61 files changed, 105 insertions(+), 256 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