memory: atmel-sdramc: remove the driver
authorClaudiu Beznea <claudiu.beznea@microchip.com>
Tue, 16 May 2023 07:24:05 +0000 (10:24 +0300)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Fri, 2 Jun 2023 08:39:24 +0000 (10:39 +0200)
commitd3369a4b6f0164b8869a097547846ed4e5c9c47f
tree1439795f1daccc95017f63afb931e2e258fe2d23
parent1d9e93fad549bc38f593147479ee063f2872c170
memory: atmel-sdramc: remove the driver

Driver does only clock request + enable for DDR clocks. DDR clocks are
enabled by bootloader and need to stay that way in Linux. To avoid having
these clocks disabled by clock subsystem in case there are no Linux
consumers for them the clocks were marked as critical in clock drivers
(in commit 68b3b6f1773d ("clk: at91: mark ddr clocks as critical")).
With this, there is no need to have a separate driver that only does
clock request + enable.

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Link: https://lore.kernel.org/r/20230516072405.2696225-1-claudiu.beznea@microchip.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
arch/arm/mach-at91/Kconfig
drivers/memory/Kconfig
drivers/memory/Makefile
drivers/memory/atmel-sdramc.c [deleted file]