From patchwork Thu Jul 23 07:37:21 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 11680209 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 BAABA138C for ; Thu, 23 Jul 2020 07:37:57 +0000 (UTC) Received: by mail.kernel.org (Postfix) id 723D820888; Thu, 23 Jul 2020 07:37:57 +0000 (UTC) Delivered-To: soc@kernel.org 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 88516206C1; Thu, 23 Jul 2020 07:37:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595489877; bh=Ciivqi1xJsZET2zM3H0pNzeI383fCtgsFNzrdVXmrTM=; h=From:List-Id:To:Cc:Subject:Date:From; b=AZC43wIunLm58pMDuE93IO2B+r0bwRnN8wTs1Fe0MDBs0Qp7tiWzueFhqbEM3KEEv IqpwR82NiQ+fnFf2vLOxPPfa0+hwpZibikOWK8tedJJiMWcEp8dpzvCUDR0TDNWb3x 9amCeceyTgua+quMlBq2PNlRh0ZK/7j5hPz1/WEI= From: Krzysztof Kozlowski List-Id: To: Arnd Bergmann , Olof Johansson , arm@kernel.org, soc@kernel.org, Krzysztof Kozlowski , Markus Mayer , bcm-kernel-feedback-list@broadcom.com, Florian Fainelli , Santosh Shilimkar , Matthias Brugger , Roger Quadros , Tony Lindgren , Vladimir Zapolskiy , 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-tegra@vger.kernel.org Cc: Andrew Morton , Linus Torvalds , Greg Kroah-Hartman Subject: [RFC PATCH 00/23] memory: Cleanup, improve and compile test memory drivers Date: Thu, 23 Jul 2020 09:37:21 +0200 Message-Id: <20200723073744.13400-1-krzk@kernel.org> X-Mailer: git-send-email 2.17.1 Dear All, 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, the patches could go either to Linus or to arm-soc (most of drivers are ARM specific). 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 (23): 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: 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 definition memory: omap-gpmc: Enclose macro statements in do-while 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 MAINTAINERS | 7 +++++ drivers/memory/Kconfig | 31 +++++++++++-------- drivers/memory/brcmstb_dpfe.c | 5 ++- drivers/memory/emif-asm-offsets.c | 10 +----- drivers/memory/emif.c | 23 ++++++-------- drivers/memory/mtk-smi.c | 2 +- drivers/memory/of_memory.c | 28 ++++++++--------- drivers/memory/of_memory.h | 21 +++++++------ drivers/memory/omap-gpmc.c | 21 ++++++------- drivers/memory/pl172.c | 5 +-- drivers/memory/renesas-rpc-if.c | 4 +-- drivers/memory/tegra/tegra210-emc-cc-r21021.c | 2 +- drivers/memory/ti-aemif.c | 16 +++++----- drivers/memory/ti-emif-pm.c | 2 +- 14 files changed, 84 insertions(+), 93 deletions(-)