blob: 6e0685f1a83814f4484e65d1ae0467b0ffdbed14 [file] [log] [blame]
Shimoda, Yoshihiro189b4ee2013-04-23 20:00:06 +09001#
2# DMA engine configuration for sh
3#
4
Laurent Pinchart87244fe2014-07-09 00:42:19 +02005config RENESAS_DMA
6 bool
7 select DMA_ENGINE
8
Laurent Pinchart9f2c2bb2014-07-31 09:34:04 +09009#
10# DMA Engine Helpers
11#
12
Shimoda, Yoshihiro189b4ee2013-04-23 20:00:06 +090013config SH_DMAE_BASE
14 bool "Renesas SuperH DMA Engine support"
Simon Horman5c229d02016-02-03 11:55:34 +010015 depends on SUPERH || ARCH_RENESAS || COMPILE_TEST
Laurent Pinchart9f2c2bb2014-07-31 09:34:04 +090016 depends on !SUPERH || SH_DMA
Shimoda, Yoshihiro189b4ee2013-04-23 20:00:06 +090017 depends on !SH_DMA_API
18 default y
Laurent Pinchart87244fe2014-07-09 00:42:19 +020019 select RENESAS_DMA
Shimoda, Yoshihiro189b4ee2013-04-23 20:00:06 +090020 help
21 Enable support for the Renesas SuperH DMA controllers.
22
Laurent Pinchart9f2c2bb2014-07-31 09:34:04 +090023#
24# DMA Controllers
25#
26
Shimoda, Yoshihiro189b4ee2013-04-23 20:00:06 +090027config SH_DMAE
28 tristate "Renesas SuperH DMAC support"
29 depends on SH_DMAE_BASE
30 help
31 Enable support for the Renesas SuperH DMA controllers.
Shimoda, Yoshihiro18a10532013-04-23 20:00:12 +090032
Laurent Pinchart9f2c2bb2014-07-31 09:34:04 +090033if SH_DMAE
34
35config SH_DMAE_R8A73A4
36 def_bool y
37 depends on ARCH_R8A73A4
38 depends on OF
39
40endif
41
Laurent Pinchart87244fe2014-07-09 00:42:19 +020042config RCAR_DMAC
43 tristate "Renesas R-Car Gen2 DMA Controller"
Simon Horman5c229d02016-02-03 11:55:34 +010044 depends on ARCH_RENESAS || COMPILE_TEST
Laurent Pinchart87244fe2014-07-09 00:42:19 +020045 select RENESAS_DMA
46 help
47 This driver supports the general purpose DMA controller found in the
48 Renesas R-Car second generation SoCs.
Yoshihiro Shimoda0c1c8ff2015-04-01 15:22:45 +090049
50config RENESAS_USB_DMAC
51 tristate "Renesas USB-DMA Controller"
Simon Horman5c229d02016-02-03 11:55:34 +010052 depends on ARCH_RENESAS || COMPILE_TEST
Yoshihiro Shimoda0c1c8ff2015-04-01 15:22:45 +090053 select RENESAS_DMA
54 select DMA_VIRTUAL_CHANNELS
55 help
56 This driver supports the USB-DMA controller found in the Renesas
57 SoCs.
Vinod Kouleeb72a82015-08-24 13:43:14 +053058
59config SUDMAC
60 tristate "Renesas SUDMAC support"
61 depends on SH_DMAE_BASE
62 help
63 Enable support for the Renesas SUDMAC controllers.