Shimoda, Yoshihiro | 189b4ee | 2013-04-23 20:00:06 +0900 | [diff] [blame] | 1 | # |
| 2 | # DMA engine configuration for sh |
| 3 | # |
| 4 | |
Laurent Pinchart | 87244fe | 2014-07-09 00:42:19 +0200 | [diff] [blame] | 5 | config RENESAS_DMA |
| 6 | bool |
| 7 | select DMA_ENGINE |
| 8 | |
Laurent Pinchart | 9f2c2bb | 2014-07-31 09:34:04 +0900 | [diff] [blame] | 9 | # |
| 10 | # DMA Engine Helpers |
| 11 | # |
| 12 | |
Shimoda, Yoshihiro | 189b4ee | 2013-04-23 20:00:06 +0900 | [diff] [blame] | 13 | config SH_DMAE_BASE |
| 14 | bool "Renesas SuperH DMA Engine support" |
Simon Horman | 5c229d0 | 2016-02-03 11:55:34 +0100 | [diff] [blame] | 15 | depends on SUPERH || ARCH_RENESAS || COMPILE_TEST |
Laurent Pinchart | 9f2c2bb | 2014-07-31 09:34:04 +0900 | [diff] [blame] | 16 | depends on !SUPERH || SH_DMA |
Shimoda, Yoshihiro | 189b4ee | 2013-04-23 20:00:06 +0900 | [diff] [blame] | 17 | depends on !SH_DMA_API |
| 18 | default y |
Laurent Pinchart | 87244fe | 2014-07-09 00:42:19 +0200 | [diff] [blame] | 19 | select RENESAS_DMA |
Shimoda, Yoshihiro | 189b4ee | 2013-04-23 20:00:06 +0900 | [diff] [blame] | 20 | help |
| 21 | Enable support for the Renesas SuperH DMA controllers. |
| 22 | |
Laurent Pinchart | 9f2c2bb | 2014-07-31 09:34:04 +0900 | [diff] [blame] | 23 | # |
| 24 | # DMA Controllers |
| 25 | # |
| 26 | |
Shimoda, Yoshihiro | 189b4ee | 2013-04-23 20:00:06 +0900 | [diff] [blame] | 27 | config 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, Yoshihiro | 18a1053 | 2013-04-23 20:00:12 +0900 | [diff] [blame] | 32 | |
Laurent Pinchart | 9f2c2bb | 2014-07-31 09:34:04 +0900 | [diff] [blame] | 33 | if SH_DMAE |
| 34 | |
| 35 | config SH_DMAE_R8A73A4 |
| 36 | def_bool y |
| 37 | depends on ARCH_R8A73A4 |
| 38 | depends on OF |
| 39 | |
| 40 | endif |
| 41 | |
Laurent Pinchart | 87244fe | 2014-07-09 00:42:19 +0200 | [diff] [blame] | 42 | config RCAR_DMAC |
| 43 | tristate "Renesas R-Car Gen2 DMA Controller" |
Simon Horman | 5c229d0 | 2016-02-03 11:55:34 +0100 | [diff] [blame] | 44 | depends on ARCH_RENESAS || COMPILE_TEST |
Laurent Pinchart | 87244fe | 2014-07-09 00:42:19 +0200 | [diff] [blame] | 45 | 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 Shimoda | 0c1c8ff | 2015-04-01 15:22:45 +0900 | [diff] [blame] | 49 | |
| 50 | config RENESAS_USB_DMAC |
| 51 | tristate "Renesas USB-DMA Controller" |
Simon Horman | 5c229d0 | 2016-02-03 11:55:34 +0100 | [diff] [blame] | 52 | depends on ARCH_RENESAS || COMPILE_TEST |
Yoshihiro Shimoda | 0c1c8ff | 2015-04-01 15:22:45 +0900 | [diff] [blame] | 53 | 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 Koul | eeb72a8 | 2015-08-24 13:43:14 +0530 | [diff] [blame] | 58 | |
| 59 | config SUDMAC |
| 60 | tristate "Renesas SUDMAC support" |
| 61 | depends on SH_DMAE_BASE |
| 62 | help |
| 63 | Enable support for the Renesas SUDMAC controllers. |