mirror of
https://github.com/torvalds/linux.git
synced 2026-05-25 23:52:08 +02:00
Memory controller drivers for v6.4
1. STM32 FMC2: allow using driver on all STM32MP SoCs.
2. Cleanups:
- Atmel EBI: use preferred of_property_present() API.
- Tegra210 MC: drop redundant variable initialization.
- Drop redundant quotes in Devicetree bindings.
- Remove MODULE_LICENSE in non-modules (several drivers).
-----BEGIN PGP SIGNATURE-----
iQJEBAABCgAuFiEE3dJiKD0RGyM7briowTdm5oaLg9cFAmQq+zcQHGtyemtAa2Vy
bmVsLm9yZwAKCRDBN2bmhouD1/FyEACWrolTQB8cpxKUwiBzOk+HLsCubonQlnWV
e9OnymjeimrceG06leZd4U0MxeJopRARE9nf0NdxQCVk5riNAEaDuu1j7BAuNfKj
lf9ftUNLVHneX/0hO/6UCiacdOZubjPJL8L28jlzBQytZt3d5BeCFivQLSZZvXv/
T2uwlNMjwtyBV/6zNO2BLZrBBJQ7SsB5rKeYFNgFjqxi3Xs0j9Gki3ssRPR+fc4p
O1Kyn/kXkq79RV7yGHl3oMp+Xl580AupVZio4h3atGgvGyo21jexkEIwatX6pK/x
5igRl3nKFCXhjCWFHSR84UJPN4cy7Ec+iFIvxriZAxK/ZVoWhA+xRH8f73FFjklG
yuMN6Tiin06KGtD8b9HGcSSiqyI3S4IgfyzmULKRMCnzXDxjA+byy2l8gGfxkFQt
Q6G1p1rdDhDzKHM1H8fHvim5ONqiNW137kfvLS2+dmskyKUmdInRdayeqCZomq6z
NavRnc5C39eSNDCdsHsDXz2BQl+XTNi1DNyrZUCi08VIEHCA+R8Wg6pBAgQsLscd
6HnYNmqyW/liqIuOHte4TLvcE07Cgl2nZ2PWh5D9wKUuaQkEruHUOkDl5fSvWdn/
ogt72YC5cQMsAFajXLh2EVKVVdxgKo63ZRNid0yhLtU40WhNVfu0cG+Er1kcLKm7
8ufin7E+/g==
=dOj8
-----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEo6/YBQwIrVS28WGKmmx57+YAGNkFAmQsL2sACgkQmmx57+YA
GNkNmQ/9HyG4GBuqoxA56ifF3LaWbF2otWmBY4eqzZAFAG9hk5VGiuli6FLH2vrp
tUAEk0ZmSakwDnHOEokrCLSww5dyabHF3q+FzjSNQj+TllNSmNttpIZKGEsMePpU
ES39+S4SSHgFU5gyFIQnH/Put/gFRliPaCEpOJa7TnVLXhLSS8Hxhd/eq5wKhykD
cToaekbRpL7TnXaCza5+cThRKXdoU7Wf5JpicAeSCvFdief0uzP4u9ZUuhrQn6ro
HM882F9c5zy/o+vKpINIeIbC/9KrBeHel/XLyst4iuX1JXFFeBwxpsyceJpInpeV
oZWPhUHSJWwXbCd0YDo6gg4pUNxCf8ZLYUN+77gNAY1rpgbrsw6wVd7f449txc2k
ZfxuiwDPaf3EptqWXZWpPHvM3OXcLfYTidCKCQqfRUG9wqr75P4h7lC4qee00KCa
wpYnotT2Nri42j5CUkb68wvfR+W8s0vmf0V5ZwZNsWggWSCKYXBBrmlzMXa3hqiK
DkkcNQzZXEQJ7Cyf2cofE8gxJiJWFuuNNYPJXYWQ/1gQmMXy5AGFNNR52WOURPcW
wFOihw+xvXHU0gMsWSs0STK6hmGaMvzuY9PwLeB2bQ4WWFCOCpnsEIJTBIZr4QPA
3PMMDqsrya1LB9xa9QBhW4AxagT1QaAmjxZAzyYQa3e7f6bp5Hs=
=xgT5
-----END PGP SIGNATURE-----
Merge tag 'memory-controller-drv-6.4' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux-mem-ctrl into soc/drivers
Memory controller drivers for v6.4
1. STM32 FMC2: allow using driver on all STM32MP SoCs.
2. Cleanups:
- Atmel EBI: use preferred of_property_present() API.
- Tegra210 MC: drop redundant variable initialization.
- Drop redundant quotes in Devicetree bindings.
- Remove MODULE_LICENSE in non-modules (several drivers).
* tag 'memory-controller-drv-6.4' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux-mem-ctrl:
dt-bindings: memory-controller: Drop unneeded quotes
memory: stm32-fmc2-ebi: depends on ARCH_STM32 instead of MACH_STM32MP157
memory: tegra: remove redundant variable initialization
memory: atmel-ebi: Use of_property_present() for testing DT property presence
memory: remove MODULE_LICENSE in non-modules
memory: tegra: remove MODULE_LICENSE in non-modules
Link: https://lore.kernel.org/r/20230403161427.328128-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
commit
a5eb346919
|
|
@ -1,8 +1,8 @@
|
|||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
||||
%YAML 1.2
|
||||
---
|
||||
$id: "http://devicetree.org/schemas/memory-controllers/renesas,dbsc.yaml#"
|
||||
$schema: "http://devicetree.org/meta-schemas/core.yaml#"
|
||||
$id: http://devicetree.org/schemas/memory-controllers/renesas,dbsc.yaml#
|
||||
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
||||
|
||||
title: Renesas DDR Bus Controllers
|
||||
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ description: |
|
|||
- if it contains "cfi-flash", then HyperFlash is used.
|
||||
|
||||
allOf:
|
||||
- $ref: "/schemas/spi/spi-controller.yaml#"
|
||||
- $ref: /schemas/spi/spi-controller.yaml#
|
||||
|
||||
properties:
|
||||
compatible:
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ properties:
|
|||
maxItems: 8
|
||||
|
||||
devfreq-events:
|
||||
$ref: '/schemas/types.yaml#/definitions/phandle-array'
|
||||
$ref: /schemas/types.yaml#/definitions/phandle-array
|
||||
minItems: 1
|
||||
maxItems: 16
|
||||
items:
|
||||
|
|
@ -50,7 +50,7 @@ properties:
|
|||
description: phandles of the PPMU events used by the controller.
|
||||
|
||||
device-handle:
|
||||
$ref: '/schemas/types.yaml#/definitions/phandle'
|
||||
$ref: /schemas/types.yaml#/definitions/phandle
|
||||
description: |
|
||||
phandle of the connected DRAM memory device. For more information please
|
||||
refer to jedec,lpddr3.yaml.
|
||||
|
|
@ -73,7 +73,7 @@ properties:
|
|||
- description: registers of DREX1
|
||||
|
||||
samsung,syscon-clk:
|
||||
$ref: '/schemas/types.yaml#/definitions/phandle'
|
||||
$ref: /schemas/types.yaml#/definitions/phandle
|
||||
description: |
|
||||
Phandle of the clock register set used by the controller, these registers
|
||||
are used for enabling a 'pause' feature and are not exposed by clock
|
||||
|
|
|
|||
|
|
@ -228,7 +228,7 @@ config RENESAS_RPCIF
|
|||
|
||||
config STM32_FMC2_EBI
|
||||
tristate "Support for FMC2 External Bus Interface on STM32MP SoCs"
|
||||
depends on MACH_STM32MP157 || COMPILE_TEST
|
||||
depends on ARCH_STM32 || COMPILE_TEST
|
||||
select MFD_SYSCON
|
||||
help
|
||||
Select this option to enable the STM32 FMC2 External Bus Interface
|
||||
|
|
|
|||
|
|
@ -598,7 +598,7 @@ static int atmel_ebi_probe(struct platform_device *pdev)
|
|||
reg_cells += val;
|
||||
|
||||
for_each_available_child_of_node(np, child) {
|
||||
if (!of_find_property(child, "reg", NULL))
|
||||
if (!of_property_present(child, "reg"))
|
||||
continue;
|
||||
|
||||
ret = atmel_ebi_dev_setup(ebi, child, reg_cells);
|
||||
|
|
|
|||
|
|
@ -321,4 +321,3 @@ module_platform_driver(l2_ctl_driver);
|
|||
|
||||
MODULE_AUTHOR("Serge Semin <Sergey.Semin@baikalelectronics.ru>");
|
||||
MODULE_DESCRIPTION("Baikal-T1 L2-cache driver");
|
||||
MODULE_LICENSE("GPL v2");
|
||||
|
|
|
|||
|
|
@ -164,4 +164,3 @@ module_platform_driver(da8xx_ddrctl_driver);
|
|||
|
||||
MODULE_AUTHOR("Bartosz Golaszewski <bgolaszewski@baylibre.com>");
|
||||
MODULE_DESCRIPTION("TI da8xx DDR2/mDDR controller driver");
|
||||
MODULE_LICENSE("GPL v2");
|
||||
|
|
|
|||
|
|
@ -327,6 +327,5 @@ static int __init fsl_ifc_init(void)
|
|||
}
|
||||
subsys_initcall(fsl_ifc_init);
|
||||
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_AUTHOR("Freescale Semiconductor");
|
||||
MODULE_DESCRIPTION("Freescale Integrated Flash Controller driver");
|
||||
|
|
|
|||
|
|
@ -341,6 +341,5 @@ static int __init mvebu_devbus_init(void)
|
|||
}
|
||||
module_init(mvebu_devbus_init);
|
||||
|
||||
MODULE_LICENSE("GPL v2");
|
||||
MODULE_AUTHOR("Ezequiel Garcia <ezequiel.garcia@free-electrons.com>");
|
||||
MODULE_DESCRIPTION("Marvell EBU SoC Device Bus controller");
|
||||
|
|
|
|||
|
|
@ -985,4 +985,3 @@ arch_initcall(tegra_mc_init);
|
|||
|
||||
MODULE_AUTHOR("Thierry Reding <treding@nvidia.com>");
|
||||
MODULE_DESCRIPTION("NVIDIA Tegra Memory Controller driver");
|
||||
MODULE_LICENSE("GPL v2");
|
||||
|
|
|
|||
|
|
@ -280,4 +280,3 @@ module_platform_driver(tegra186_emc_driver);
|
|||
|
||||
MODULE_AUTHOR("Thierry Reding <treding@nvidia.com>");
|
||||
MODULE_DESCRIPTION("NVIDIA Tegra186 External Memory Controller driver");
|
||||
MODULE_LICENSE("GPL v2");
|
||||
|
|
|
|||
|
|
@ -22,8 +22,6 @@ static int tegra210_emc_table_device_init(struct reserved_mem *rmem,
|
|||
return -ENOMEM;
|
||||
}
|
||||
|
||||
count = 0;
|
||||
|
||||
for (i = 0; i < TEGRA_EMC_MAX_FREQS; i++) {
|
||||
if (timings[i].revision == 0)
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user