11da177e4SLinus Torvaldsmenu "DMA support" 21da177e4SLinus Torvalds 3fc467a26SManuel Laussconfig SH_DMA_API 4fc467a26SManuel Lauss bool 51da177e4SLinus Torvalds 6fc467a26SManuel Laussconfig SH_DMA 7fc467a26SManuel Lauss bool "SuperH on-chip DMA controller (DMAC) support" 83e767833SPaul Mundt depends on CPU_SH3 || CPU_SH4 9fc467a26SManuel Lauss select SH_DMA_API 10fc467a26SManuel Lauss default n 111da177e4SLinus Torvalds 12988f831dSNobuhiro Iwamatsuconfig SH_DMA_IRQ_MULTI 13988f831dSNobuhiro Iwamatsu bool 14988f831dSNobuhiro Iwamatsu depends on SH_DMA 15988f831dSNobuhiro Iwamatsu default y if CPU_SUBTYPE_SH7750 || CPU_SUBTYPE_SH7751 || \ 16a27873cdSPaul Mundt CPU_SUBTYPE_SH7750S || CPU_SUBTYPE_SH7750R || \ 17a27873cdSPaul Mundt CPU_SUBTYPE_SH7751R || CPU_SUBTYPE_SH7091 || \ 18a27873cdSPaul Mundt CPU_SUBTYPE_SH7763 || CPU_SUBTYPE_SH7764 || \ 193d6ad460SMagnus Damm CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785 || \ 203d6ad460SMagnus Damm CPU_SUBTYPE_SH7760 21988f831dSNobuhiro Iwamatsu 221da177e4SLinus Torvaldsconfig NR_ONCHIP_DMA_CHANNELS 23fc100202SPaul Mundt int 241da177e4SLinus Torvalds depends on SH_DMA 25a27873cdSPaul Mundt default "4" if CPU_SUBTYPE_SH7750 || CPU_SUBTYPE_SH7751 || \ 26a27873cdSPaul Mundt CPU_SUBTYPE_SH7750S || CPU_SUBTYPE_SH7091 27a27873cdSPaul Mundt default "8" if CPU_SUBTYPE_SH7750R || CPU_SUBTYPE_SH7751R || \ 28a27873cdSPaul Mundt CPU_SUBTYPE_SH7760 29a27873cdSPaul Mundt default "12" if CPU_SUBTYPE_SH7723 || CPU_SUBTYPE_SH7780 || \ 30*24d76195SKuninori Morimoto CPU_SUBTYPE_SH7785 || CPU_SUBTYPE_SH7724 3171b973a4SNobuhiro Iwamatsu default "6" 321da177e4SLinus Torvalds help 331da177e4SLinus Torvalds This allows you to specify the number of channels that the on-chip 34*24d76195SKuninori Morimoto DMAC supports. This will be 4 for SH7750/SH7751/Sh7750S/SH7091 and 8 for the 35*24d76195SKuninori Morimoto SH7750R/SH7751R/SH7760, 12 for the SH7723/SH7780/SH7785/SH7724, default is 6. 361da177e4SLinus Torvalds 371da177e4SLinus Torvaldsconfig NR_DMA_CHANNELS_BOOL 381da177e4SLinus Torvalds depends on SH_DMA 391da177e4SLinus Torvalds bool "Override default number of maximum DMA channels" 401da177e4SLinus Torvalds help 411da177e4SLinus Torvalds This allows you to forcibly update the maximum number of supported 421da177e4SLinus Torvalds DMA channels for a given board. If this is unset, this will default 431da177e4SLinus Torvalds to the number of channels that the on-chip DMAC has. 441da177e4SLinus Torvalds 451da177e4SLinus Torvaldsconfig NR_DMA_CHANNELS 461da177e4SLinus Torvalds int "Maximum number of DMA channels" 471da177e4SLinus Torvalds depends on SH_DMA && NR_DMA_CHANNELS_BOOL 481da177e4SLinus Torvalds default NR_ONCHIP_DMA_CHANNELS 491da177e4SLinus Torvalds help 501da177e4SLinus Torvalds This allows you to specify the maximum number of DMA channels to 511da177e4SLinus Torvalds support. Setting this to a higher value allows for cascading DMACs 521da177e4SLinus Torvalds with additional channels. 531da177e4SLinus Torvalds 54fc467a26SManuel Laussconfig SH_DMABRG 55fc467a26SManuel Lauss bool "SH7760 DMABRG support" 56fc467a26SManuel Lauss depends on CPU_SUBTYPE_SH7760 57fc467a26SManuel Lauss help 58fc467a26SManuel Lauss The DMABRG does data transfers from main memory to Audio/USB units 59fc467a26SManuel Lauss of the SH7760. 60fc467a26SManuel Lauss Say Y if you want to use Audio/USB DMA on your SH7760 board. 61fc467a26SManuel Lauss 62da62e71dSPaul Mundtconfig PVR2_DMA 63da62e71dSPaul Mundt tristate "PowerVR 2 DMAC support" 64da62e71dSPaul Mundt depends on SH_DREAMCAST && SH_DMA 65da62e71dSPaul Mundt help 66da62e71dSPaul Mundt Selecting this will enable support for the PVR2 DMA controller. 67da62e71dSPaul Mundt As this chains off of the on-chip DMAC, that must also be 68da62e71dSPaul Mundt enabled by default. 69da62e71dSPaul Mundt 70da62e71dSPaul Mundt This is primarily used by the pvr2fb framebuffer driver for 71da62e71dSPaul Mundt certain optimizations, but is not necessary for functionality. 72da62e71dSPaul Mundt 73da62e71dSPaul Mundt If in doubt, say N. 74da62e71dSPaul Mundt 7540f49e7eSPaul Mundtconfig G2_DMA 7640f49e7eSPaul Mundt tristate "G2 Bus DMA support" 7740f49e7eSPaul Mundt depends on SH_DREAMCAST 7840f49e7eSPaul Mundt select SH_DMA_API 7940f49e7eSPaul Mundt help 8040f49e7eSPaul Mundt This enables support for the DMA controller for the Dreamcast's 8140f49e7eSPaul Mundt G2 bus. Drivers that want this will generally enable this on 8240f49e7eSPaul Mundt their own. 8340f49e7eSPaul Mundt 8440f49e7eSPaul Mundt If in doubt, say N. 8540f49e7eSPaul Mundt 861da177e4SLinus Torvaldsendmenu 87