Kconfig 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. menu "DMA support"
  2. config SH_DMA
  3. bool "SuperH on-chip DMA controller (DMAC) support"
  4. depends on CPU_SH3 || CPU_SH4
  5. default n
  6. config SH_DMA_IRQ_MULTI
  7. bool
  8. depends on SH_DMA
  9. default y if CPU_SUBTYPE_SH7750 || CPU_SUBTYPE_SH7751 || \
  10. CPU_SUBTYPE_SH7750S || CPU_SUBTYPE_SH7750R || \
  11. CPU_SUBTYPE_SH7751R || CPU_SUBTYPE_SH7091 || \
  12. CPU_SUBTYPE_SH7763 || CPU_SUBTYPE_SH7764 || \
  13. CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785 || \
  14. CPU_SUBTYPE_SH7760
  15. config SH_DMA_API
  16. depends on SH_DMA
  17. bool "SuperH DMA API support"
  18. default n
  19. help
  20. SH_DMA_API always enabled DMA API of used SuperH.
  21. If you want to use DMA ENGINE, you must not enable this.
  22. Please enable DMA_ENGINE and SH_DMAE.
  23. config NR_ONCHIP_DMA_CHANNELS
  24. int
  25. depends on SH_DMA
  26. default "4" if CPU_SUBTYPE_SH7750 || CPU_SUBTYPE_SH7751 || \
  27. CPU_SUBTYPE_SH7750S || CPU_SUBTYPE_SH7091
  28. default "8" if CPU_SUBTYPE_SH7750R || CPU_SUBTYPE_SH7751R || \
  29. CPU_SUBTYPE_SH7760
  30. default "12" if CPU_SUBTYPE_SH7723 || CPU_SUBTYPE_SH7780 || \
  31. CPU_SUBTYPE_SH7785 || CPU_SUBTYPE_SH7724
  32. default "6"
  33. help
  34. This allows you to specify the number of channels that the on-chip
  35. DMAC supports. This will be 4 for SH7750/SH7751/Sh7750S/SH7091 and 8 for the
  36. SH7750R/SH7751R/SH7760, 12 for the SH7723/SH7780/SH7785/SH7724, default is 6.
  37. config NR_DMA_CHANNELS_BOOL
  38. depends on SH_DMA
  39. bool "Override default number of maximum DMA channels"
  40. help
  41. This allows you to forcibly update the maximum number of supported
  42. DMA channels for a given board. If this is unset, this will default
  43. to the number of channels that the on-chip DMAC has.
  44. config NR_DMA_CHANNELS
  45. int "Maximum number of DMA channels"
  46. depends on SH_DMA && NR_DMA_CHANNELS_BOOL
  47. default NR_ONCHIP_DMA_CHANNELS
  48. help
  49. This allows you to specify the maximum number of DMA channels to
  50. support. Setting this to a higher value allows for cascading DMACs
  51. with additional channels.
  52. config SH_DMABRG
  53. bool "SH7760 DMABRG support"
  54. depends on CPU_SUBTYPE_SH7760
  55. help
  56. The DMABRG does data transfers from main memory to Audio/USB units
  57. of the SH7760.
  58. Say Y if you want to use Audio/USB DMA on your SH7760 board.
  59. config PVR2_DMA
  60. tristate "PowerVR 2 DMAC support"
  61. depends on SH_DREAMCAST && SH_DMA
  62. help
  63. Selecting this will enable support for the PVR2 DMA controller.
  64. As this chains off of the on-chip DMAC, that must also be
  65. enabled by default.
  66. This is primarily used by the pvr2fb framebuffer driver for
  67. certain optimizations, but is not necessary for functionality.
  68. If in doubt, say N.
  69. config G2_DMA
  70. tristate "G2 Bus DMA support"
  71. depends on SH_DREAMCAST
  72. select SH_DMA_API
  73. help
  74. This enables support for the DMA controller for the Dreamcast's
  75. G2 bus. Drivers that want this will generally enable this on
  76. their own.
  77. If in doubt, say N.
  78. endmenu