diff options
author | Maxime Ripard <maxime@cerno.tech> | 2020-11-06 15:52:30 +0100 |
---|---|---|
committer | Maxime Ripard <maxime@cerno.tech> | 2020-11-18 09:01:30 +0100 |
commit | b4bdc4fbf8d01227702068703ae2cd82ff25c3db (patch) | |
tree | 9f3b78cb78afe8431a3f1e6b2a8ed37383173ace /drivers/soc/sunxi/Kconfig | |
parent | 957a1ea3599210e9996777a734ea5284eaef75c7 (diff) | |
download | lwn-b4bdc4fbf8d01227702068703ae2cd82ff25c3db.tar.gz lwn-b4bdc4fbf8d01227702068703ae2cd82ff25c3db.zip |
soc: sunxi: Deal with the MBUS DMA offsets in a central place
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>
Diffstat (limited to 'drivers/soc/sunxi/Kconfig')
-rw-r--r-- | drivers/soc/sunxi/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/soc/sunxi/Kconfig b/drivers/soc/sunxi/Kconfig index f10fd6cae13e..1fef0e711056 100644 --- a/drivers/soc/sunxi/Kconfig +++ b/drivers/soc/sunxi/Kconfig @@ -2,6 +2,14 @@ # # 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 |