Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+36
+33
Documentation/devicetree/bindings/memory-controllers/samsung,s5pv210-dmc.yaml
··· 1 + # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/memory-controllers/samsung,s5pv210-dmc.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Samsung S5Pv210 SoC Dynamic Memory Controller 8 + 9 + maintainers: 10 + - Krzysztof Kozlowski <krzk@kernel.org> 11 + 12 + description: 13 + Dynamic Memory Controller interfaces external JEDEC DDR-type SDRAM. 14 + 15 + properties: 16 + compatible: 17 + const: samsung,s5pv210-dmc 18 + 19 + reg: 20 + maxItems: 1 21 + 22 + required: 23 + - compatible 24 + - reg 25 + 26 + additionalProperties: false 27 + 28 + examples: 29 + - | 30 + memory-controller@f0000000 { 31 + compatible = "samsung,s5pv210-dmc"; 32 + reg = <0xf0000000 0x1000>; 33 + };
+1
drivers/memory/brcmstb_memc.c
··· 243 243 }, 244 244 {} 245 245 }; 246 + MODULE_DEVICE_TABLE(of, brcmstb_memc_of_match); 246 247 247 248 static int brcmstb_memc_suspend(struct device *dev) 248 249 {
+2
drivers/memory/mtk-smi.c
··· 450 450 {.compatible = "mediatek,mt8195-smi-larb", .data = &mtk_smi_larb_mt8195}, 451 451 {} 452 452 }; 453 + MODULE_DEVICE_TABLE(of, mtk_smi_larb_of_ids); 453 454 454 455 static int mtk_smi_larb_sleep_ctrl_enable(struct mtk_smi_larb *larb) 455 456 { ··· 736 735 {.compatible = "mediatek,mt8365-smi-common", .data = &mtk_smi_common_mt8365}, 737 736 {} 738 737 }; 738 + MODULE_DEVICE_TABLE(of, mtk_smi_common_of_ids); 739 739 740 740 static int mtk_smi_common_probe(struct platform_device *pdev) 741 741 {