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: 11682339 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 94B6E618 for ; Fri, 24 Jul 2020 07:41:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7A51320767 for ; Fri, 24 Jul 2020 07:41:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595576473; bh=3lgctBuMSwmCcemQq9jFrUjrBOpIeyognmI/+EIutJk=; h=From:To:Cc:Subject:Date:List-ID:From; b=qjdFFnvc4xSi9WuOFrU9rAgoEruk78i7NXRQwcbTH+TqmwhXEEesI3pT29itcXqPX IShr3gdKi9En5mNKpR+0MSpaBTCVyjGi0OvKJIOocE2noELladToqeUOAl41R/AGiq RJN5ruXU8WWF1lr6mNrIEIP+EQ1JsJ4Lqmlvbkyw= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726838AbgGXHlK (ORCPT ); Fri, 24 Jul 2020 03:41:10 -0400 Received: from mail.kernel.org ([198.145.29.99]:34336 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726719AbgGXHlK (ORCPT ); Fri, 24 Jul 2020 03:41:10 -0400 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 Cc: Andrew Morton , Linus Torvalds , Krzysztof Kozlowski 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 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.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(-)