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 121da177e4SLinus Torvaldsconfig NR_ONCHIP_DMA_CHANNELS 13*fc100202SPaul Mundt int 141da177e4SLinus Torvalds depends on SH_DMA 155283ecb5SPaul Mundt default "8" if CPU_SUBTYPE_SH7750R || CPU_SUBTYPE_SH7751R 165283ecb5SPaul Mundt default "12" if CPU_SUBTYPE_SH7780 171da177e4SLinus Torvalds default "4" 181da177e4SLinus Torvalds help 191da177e4SLinus Torvalds This allows you to specify the number of channels that the on-chip 201da177e4SLinus Torvalds DMAC supports. This will be 4 for SH7750/SH7751 and 8 for the 211da177e4SLinus Torvalds SH7750R/SH7751R. 221da177e4SLinus Torvalds 231da177e4SLinus Torvaldsconfig NR_DMA_CHANNELS_BOOL 241da177e4SLinus Torvalds depends on SH_DMA 251da177e4SLinus Torvalds bool "Override default number of maximum DMA channels" 261da177e4SLinus Torvalds help 271da177e4SLinus Torvalds This allows you to forcibly update the maximum number of supported 281da177e4SLinus Torvalds DMA channels for a given board. If this is unset, this will default 291da177e4SLinus Torvalds to the number of channels that the on-chip DMAC has. 301da177e4SLinus Torvalds 311da177e4SLinus Torvaldsconfig NR_DMA_CHANNELS 321da177e4SLinus Torvalds int "Maximum number of DMA channels" 331da177e4SLinus Torvalds depends on SH_DMA && NR_DMA_CHANNELS_BOOL 341da177e4SLinus Torvalds default NR_ONCHIP_DMA_CHANNELS 351da177e4SLinus Torvalds help 361da177e4SLinus Torvalds This allows you to specify the maximum number of DMA channels to 371da177e4SLinus Torvalds support. Setting this to a higher value allows for cascading DMACs 381da177e4SLinus Torvalds with additional channels. 391da177e4SLinus Torvalds 40fc467a26SManuel Laussconfig SH_DMABRG 41fc467a26SManuel Lauss bool "SH7760 DMABRG support" 42fc467a26SManuel Lauss depends on CPU_SUBTYPE_SH7760 43fc467a26SManuel Lauss help 44fc467a26SManuel Lauss The DMABRG does data transfers from main memory to Audio/USB units 45fc467a26SManuel Lauss of the SH7760. 46fc467a26SManuel Lauss Say Y if you want to use Audio/USB DMA on your SH7760 board. 47fc467a26SManuel Lauss 481da177e4SLinus Torvaldsendmenu 49