From patchwork Fri Jul 24 07:40:09 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 11682467 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 BDECD13B6 for ; Fri, 24 Jul 2020 07:43:38 +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 8ADB92074F for ; Fri, 24 Jul 2020 07:43:38 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="fV3iufrm"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="Ja5QYC4l" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8ADB92074F 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:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version: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=9+REhmi3i6ILpwV0qj6aI0cuKzJjG6bNxrEklIDBd3I=; b=fV3iufrmVUQYkJuJxOPYv8JGsU SVQI+DEBXJZCpk9Zb4ERkavxonSUNgiww0qnDNpacd6RmCeTmNYWnpHyF8rKx7e4RwdTRRzSYwMwS 13e8NXSqYNGCpav8d5ld1QrfLPCgghYRsSPwRthr5ryYLUbU+G2Dz+YrBvg1wZ6hoHhgTtgYmFpuP EDMmDI5hVWsFfgMMuEwgrSQjFkKhFX29K/WckYHu73rFhXe/x3U5LGVA2hYnPKLqLo2Q0JV38lWuT LLYYKUWEX4qR/yjDQlnuR/usM+5tDfrpvPSm81zL6fk/PnaS3x8dxek4Euoya8kI62aPQ3BQeAG3/ zetHH0mQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jysKR-0001oJ-JG; Fri, 24 Jul 2020 07:41:16 +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 1jysKM-0001lS-SG; Fri, 24 Jul 2020 07:41:11 +0000 Received: from kozik-lap.mshome.net (unknown [194.230.155.213]) (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 0BD6A20748; Fri, 24 Jul 2020 07:41:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595576469; bh=3lgctBuMSwmCcemQq9jFrUjrBOpIeyognmI/+EIutJk=; h=From:To:Cc:Subject:Date:From; b=Ja5QYC4lOamnyMBLRzYV7lqWcyvxxoSz4naHQr9MzmU8VPlgpt3l3b4AbU+pq5tH8 lwYyAGpX5tMvECUQMPk9rwgzpJDXtR+uq7qRzkvT7hHmo5qpSqOPR1565SdXmpbV1v Rxb7lvvMZAuo/08hNQtrOp84yzNRnN9V16KXMGwY= From: Krzysztof Kozlowski To: Arnd Bergmann , Olof Johansson , Markus Mayer , bcm-kernel-feedback-list@broadcom.com, Florian Fainelli , Santosh Shilimkar , Matthias Brugger , Roger Quadros , Tony Lindgren , Vladimir Zapolskiy , Kukjin Kim , Thierry Reding , Jonathan Hunter , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-omap@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-tegra@vger.kernel.org Subject: [PATCH v2 00/29] *memory: Cleanup, improve and compile test memory drivers Date: Fri, 24 Jul 2020 09:40:09 +0200 Message-Id: <20200724074038.5597-1-krzk@kernel.org> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200724_034111_112456_B1167562 X-CRM114-Status: GOOD ( 15.42 ) 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_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -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: Andrew Morton , Linus Torvalds , Krzysztof Kozlowski Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Dear All, Changes since v1: 1. Few new patches, 2. Please see individual logs (per patch). The drivers/memory directory contains generic code (of_memory.c) and a bunch of drivers. Changes to generic code were coming usually through different trees with the driver code. Over last days, memory drivers grew in numbers but not necessarily in quality. They lacked compile testing and code cleanup. Also lacked maintainer. I would be happy to take care about this part. If there are no objections, I will collect the patches and push them through arm-soc maintainers. Driver-specific changes in the patchset were only compile-tested. Tests are welcome. The generic code was tested on ARMv7 Exynos based boards with a exynos5422-dmc memory controller driver. Best regards, Krzysztof Krzysztof Kozlowski (29): memory: omap-gpmc: Remove unneeded asm/mach-types.h inclusion memory: omap-gpmc: Remove unused file-scope phys_base and mem_size memory: omap-gpmc: Include for SZ_16M memory: ti-aemif: Rename SS to SSTROBE to avoid name conflicts memory: jz4780-nemc: Do not enable by default on every compile test memory: Enable compile testing for most of the drivers memory: of: Remove unused headers memory: of: Remove __func__ in device related messages memory: of: Correct indentation memory: of: Remove unneeded extern from function declarations memory: emif-asm-offsets: Add GPLv2 SPDX license header memory: emif: Put constant in comparison on the right side memory: emif: Fix whitespace coding style violations memory: emif: Silence platform_get_irq() error in driver memory: ti-emif-pm: Fix cast to iomem pointer memory: renesas-rpc-if: Simplify with PTR_ERR_OR_ZERO memory: brcmstb_dpfe: Constify the contents of string memory: brcmstb_dpfe: Remove unneeded braces memory: mtk-smi: Add argument to function pointer definition memory: omap-gpmc: Return meaningful error codes in gpmc_cs_set_timings() memory: omap-gpmc: Remove GPMC_SET_ONE_CD_MAX macro for safety memory: omap-gpmc: Fix whitespace issue memory: pl172: Add GPLv2 SPDX license header memory: tegra: tegra210-emc: Fix indentation MAINTAINERS: Add Krzysztof Kozlowski as maintainer of memory controllers memory: fsl_ifc: Fix whitespace issues memory: da8xx-ddrctl: Remove unused 'node' variable memory: Describe the MEMORY Kconfig entry memory: samsung: exynos-srom: Describe the Kconfig entry MAINTAINERS | 7 + drivers/memory/Kconfig | 47 ++++-- drivers/memory/brcmstb_dpfe.c | 5 +- drivers/memory/da8xx-ddrctl.c | 2 - drivers/memory/emif-asm-offsets.c | 10 +- drivers/memory/emif.c | 23 +-- drivers/memory/fsl_ifc.c | 30 ++-- drivers/memory/mtk-smi.c | 2 +- drivers/memory/of_memory.c | 28 ++-- drivers/memory/of_memory.h | 21 +-- drivers/memory/omap-gpmc.c | 155 +++++++++++------- drivers/memory/pl172.c | 5 +- drivers/memory/renesas-rpc-if.c | 4 +- drivers/memory/samsung/Kconfig | 7 + drivers/memory/tegra/tegra210-emc-cc-r21021.c | 2 +- drivers/memory/ti-aemif.c | 16 +- drivers/memory/ti-emif-pm.c | 2 +- 17 files changed, 208 insertions(+), 158 deletions(-)