mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 10:49:33 +00:00
![Maxime Ripard](/assets/img/avatar_default.png)
So far most of the drivers with the MBUS quirks had to duplicate the code to deal with DT compatibility and enforcing the DMA offsets. Let's move for a more maintainable solution by putting everything in a notifier that would take care of setting up the DMA offsets for all the MBUS devices. Suggested-by: Robin Murphy <robin.murphy@arm.com> Signed-off-by: Maxime Ripard <maxime@cerno.tech> Reviewed-by: Chen-Yu Tsai <wens@csie.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
20 lines
445 B
Text
20 lines
445 B
Text
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# Allwinner sunXi SoC drivers
|
|
#
|
|
|
|
config SUNXI_MBUS
|
|
bool
|
|
default ARCH_SUNXI
|
|
help
|
|
Say y to enable the fixups needed to support the Allwinner
|
|
MBUS DMA quirks.
|
|
|
|
config SUNXI_SRAM
|
|
bool
|
|
default ARCH_SUNXI
|
|
select REGMAP_MMIO
|
|
help
|
|
Say y here to enable the SRAM controller support. This
|
|
device is responsible on mapping the SRAM in the sunXi SoCs
|
|
whether to the CPU/DMA, or to the devices.
|