Skip to content

Commit 75c0675

Browse files
committed
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/[email protected] Signed-off-by: Arnd Bergmann <[email protected]>
2 parents 75e4ead + bf11908 commit 75c0675

File tree

3 files changed

+36
-0
lines changed

3 files changed

+36
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
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 <[email protected]>
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+
};

drivers/memory/brcmstb_memc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,7 @@ static const struct of_device_id brcmstb_memc_of_match[] = {
243243
},
244244
{}
245245
};
246+
MODULE_DEVICE_TABLE(of, brcmstb_memc_of_match);
246247

247248
static int brcmstb_memc_suspend(struct device *dev)
248249
{

drivers/memory/mtk-smi.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,7 @@ static const struct of_device_id mtk_smi_larb_of_ids[] = {
450450
{.compatible = "mediatek,mt8195-smi-larb", .data = &mtk_smi_larb_mt8195},
451451
{}
452452
};
453+
MODULE_DEVICE_TABLE(of, mtk_smi_larb_of_ids);
453454

454455
static int mtk_smi_larb_sleep_ctrl_enable(struct mtk_smi_larb *larb)
455456
{
@@ -735,6 +736,7 @@ static const struct of_device_id mtk_smi_common_of_ids[] = {
735736
{.compatible = "mediatek,mt8365-smi-common", .data = &mtk_smi_common_mt8365},
736737
{}
737738
};
739+
MODULE_DEVICE_TABLE(of, mtk_smi_common_of_ids);
738740

739741
static int mtk_smi_common_probe(struct platform_device *pdev)
740742
{

0 commit comments

Comments
 (0)