linux_dsm_epyc7002/drivers/memory
Boris Brezillon 8eb8c7d844 memory: atmel-ebi: Simplify SMC config code
New helpers/macros have been to atmel-smc.h introduced to simplify SMC
regs manipulation. Rework the code to use those helpers, and simplify
the ->xlate_config(), ->get_config() and ->apply_config() implementations.

SMC configs are now stored in a struct atmel_smc_cs_conf object that
directly contains registers values, which should help implementing
->suspend()/->resume() hooks.

We can also get rid of those regmap fields (and the associated ->init()
hook) which are not longer needed thanks to the
atmel_[h]smc_cs_conf_{apply,get}() helpers.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
2017-04-27 09:25:06 +01:00
..
samsung memory: samsung: exynos-srom: Fix wrong count of registers 2016-07-06 08:16:56 +02:00
tegra memory: tegra: Add a missing 'of_node_put()' call 2017-01-25 07:57:13 +01:00
atmel-ebi.c memory: atmel-ebi: Simplify SMC config code 2017-04-27 09:25:06 +01:00
atmel-sdramc.c memory: atmel-sdramc: use builtin_platform_driver to simplify the code 2016-10-20 11:59:57 +02:00
da8xx-ddrctl.c memory: da8xx-ddrctl: drop the call to of_flat_dt_get_machine_name() 2016-11-23 20:26:42 +05:30
emif.c drivers/memory: don't check resource with devm_ioremap_resource 2013-05-18 11:55:52 +02:00
emif.h memory: emif: handle frequency and voltage change events 2012-05-02 10:52:09 -07:00
fsl_ifc.c memory: Update dependency of IFC for Layerscape 2016-07-13 17:31:10 -07:00
fsl-corenet-cf.c memory: fsl-corenet: Fix module autoload for OF platform driver 2015-10-05 04:44:11 +01:00
jz4780-nemc.c memory: jz4780-nemc: driver for the NEMC on JZ4780 SoCs 2015-03-26 23:51:36 +01:00
Kconfig memory: atmel-ebi: Simplify SMC config code 2017-04-27 09:25:06 +01:00
Makefile memory: davinci: add support for da8xx DDR2/mDDR controller 2016-11-14 17:18:34 +05:30
mtk-smi.c memory/mediatek: add support for mt2701 2016-06-21 11:36:19 +02:00
mvebu-devbus.c memory: drop owner assignment from platform_drivers 2014-10-20 16:20:52 +02:00
of_memory.c fix:memory:of_memory:add missing header dependencies 2016-08-31 15:21:18 +02:00
of_memory.h memory: fix build when CONFIG_OF && !CONFIG_DDR 2012-09-05 11:57:19 -07:00
omap-gpmc.c Merge commit 'http://github.com/rogerq/linux gpmc-omap-v4.8-rc1' into next/drivers 2016-09-03 00:52:11 +02:00
pl172.c memory: pl172: add ARM PrimeCell PL176 MPMC support 2015-09-29 22:19:02 +02:00
tegra20-mc.c memory: drop owner assignment from platform_drivers 2014-10-20 16:20:52 +02:00
ti-aemif.c memory: aemif: allow passing device lookup table as platform data 2017-01-19 12:42:25 +01:00