Memory controller drivers for v6.10

Few cleanups:
 1. Correct module auto-loading - missing aliases in the module.
 2. Document bindings for the Samsung S5Pv210 SoC DMC memory controller.
 -----BEGIN PGP SIGNATURE-----
 
 iQJEBAABCgAuFiEE3dJiKD0RGyM7briowTdm5oaLg9cFAmYudwcQHGtyemtAa2Vy
 bmVsLm9yZwAKCRDBN2bmhouD1zeHD/4yYa+F1sXXWXPF6nDsiXE3zSftOtAGg6JF
 0FoHjFoq4Argfk/qFmX0QD63yuEI6voSZpC/MwnzHzHNH9JlRIZYf3IbD8HvV4t8
 B58sD9WCAGu5irluNltpNHJaqUxIIgusm45iloXtpM7K1JXGAkCxRvUPAzCc3Qkn
 YWAyuVZkKSUzqnbbMxDA131D7pKxI4tS4BTOhi1EclH1A4JjrUe9V2WxLWkrRmrD
 GSRSEP+NbRs3QUiJvxr+B7OEveIo+QsjrPlg7LtI4LbFdwejOup4IUua7xxFXj6C
 LBtEyOA8TMnMxJYpaO8A1U/jwyYluqM94rJ+TN70GfZEKBn/X4hipK3uiwbhEPJF
 thSKRIevWFyszi17NWdosDJPMUkvO49+LBq3QON8a1L0Vee8Ww5sqavSk8bycC7S
 +g3pQRikTxPJFS7wy6NvvfAU9cqclNxmCGYVfAVHtaxIx1HVi+syfe/BJQZSqBoO
 djFYJxiwycOdhvoUtBtAAQkIbQ39L6v+As5QxVGJKWzIhOgfk6ktmp+FprRSi7EV
 /aN2ENDCOof2UXoHQ0BxZR3yBESZfZVy0YLPvmhAhCN5ShG4CUIqjyb6VJeDl4Hw
 IRex3xSq66fug7eLJFybkhZmEYJaB88TMfTMf1qMO0d5iYfh72byKAnZ+C2CJN+T
 vjqYWpdUYw==
 =2ho/
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmYwAoEACgkQYKtH/8kJ
 UieTfw/+NM9baWXWHODtqjzn3NNjqrbMqpW2VVcWUfygrGlr3VBxrCpLy+BTCKJq
 1Fz2V6W0LlBygC6NEAf+BqlfTo5XygTDbtumzVGDvd0bxYk7H7Et1kdt02uQSIEW
 I8r8X7dXdQVg0s5rX6kHJteMSclhBheYfZvlnp0196GCWdhS1y/aHWzR33zNwfo1
 E19Ng+fvs3vmcjby3+UGkjqTjyyQSjDN9k8kVgSepaTNU6EcS26Yl+ElPWKOXm1e
 P3lzkZVNf0wjCXuph7TVG/9cIiX3dedVQcTTB5Y7xoiBY68HXvDbUx3RVpnrPvmx
 twyNpI+dCOdY+64VOvM5aeSoiacFHE7wVlmufrhJRXziIkJ9sRpfSGsAsbHkPWKk
 PN1fWWBYJToZf4ledGoGjrwwQDUkVVL9mWAWwq/aNt4j4lo6hPn0wJk6lygbhGzm
 NsT2ljajqmWXOyqMJ51UUMErvyTCiZGhAWLq39wjFhDbvWBIXJr4/RKSEHuue9Cu
 2oFn/coJ5OeybYqIgvWU2oWWh9akTRDwFsoP2gFNcTRpG/etLzQMVmLGTQNUSigO
 7LGAN9I6qeviOZ30BexUEMdmwThcG65rwjrEXhzosE0xZosWch23mFLMbR/bJHwg
 sqTMPzd45HhxHhamhKFsW97fLLi7Lem887o26mWJeb3Rs2hPrFo=
 =Zsg1
 -----END PGP SIGNATURE-----

Merge tag 'memory-controller-drv-6.10' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux-mem-ctrl into soc/drivers

Memory controller drivers for v6.10

Few cleanups:
1. Correct module auto-loading - missing aliases in the module.
2. Document bindings for the Samsung S5Pv210 SoC DMC memory controller.

* tag 'memory-controller-drv-6.10' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux-mem-ctrl:
  memory: mtk-smi: fix module autoloading
  memory: brcmstb_memc: fix module autoloading
  dt-bindings: memory-controllers: add Samsung S5Pv210 SoC DMC

Link: https://lore.kernel.org/r/20240428162001.28011-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
Arnd Bergmann 2024-04-29 22:26:40 +02:00
commit 75c0675f1c
3 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,33 @@
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/memory-controllers/samsung,s5pv210-dmc.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Samsung S5Pv210 SoC Dynamic Memory Controller
maintainers:
- Krzysztof Kozlowski <krzk@kernel.org>
description:
Dynamic Memory Controller interfaces external JEDEC DDR-type SDRAM.
properties:
compatible:
const: samsung,s5pv210-dmc
reg:
maxItems: 1
required:
- compatible
- reg
additionalProperties: false
examples:
- |
memory-controller@f0000000 {
compatible = "samsung,s5pv210-dmc";
reg = <0xf0000000 0x1000>;
};

View File

@ -243,6 +243,7 @@ static const struct of_device_id brcmstb_memc_of_match[] = {
},
{}
};
MODULE_DEVICE_TABLE(of, brcmstb_memc_of_match);
static int brcmstb_memc_suspend(struct device *dev)
{

View File

@ -450,6 +450,7 @@ static const struct of_device_id mtk_smi_larb_of_ids[] = {
{.compatible = "mediatek,mt8195-smi-larb", .data = &mtk_smi_larb_mt8195},
{}
};
MODULE_DEVICE_TABLE(of, mtk_smi_larb_of_ids);
static int mtk_smi_larb_sleep_ctrl_enable(struct mtk_smi_larb *larb)
{
@ -735,6 +736,7 @@ static const struct of_device_id mtk_smi_common_of_ids[] = {
{.compatible = "mediatek,mt8365-smi-common", .data = &mtk_smi_common_mt8365},
{}
};
MODULE_DEVICE_TABLE(of, mtk_smi_common_of_ids);
static int mtk_smi_common_probe(struct platform_device *pdev)
{