mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-29 23:24:11 +08:00
b4bdc4fbf8
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>
21 lines
445 B
Plaintext
21 lines
445 B
Plaintext
# 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.
|