| 
									
										
										
										
											2013-04-23 20:00:06 +09:00
										 |  |  | # | 
					
						
							|  |  |  | # DMA engine configuration for sh | 
					
						
							|  |  |  | # | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | config SH_DMAE_BASE | 
					
						
							|  |  |  | 	bool "Renesas SuperH DMA Engine support" | 
					
						
							|  |  |  | 	depends on (SUPERH && SH_DMA) || (ARM && ARCH_SHMOBILE) | 
					
						
							|  |  |  | 	depends on !SH_DMA_API | 
					
						
							|  |  |  | 	default y | 
					
						
							|  |  |  | 	select DMA_ENGINE | 
					
						
							|  |  |  | 	help | 
					
						
							|  |  |  | 	  Enable support for the Renesas SuperH DMA controllers. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | config SH_DMAE | 
					
						
							|  |  |  | 	tristate "Renesas SuperH DMAC support" | 
					
						
							|  |  |  | 	depends on SH_DMAE_BASE | 
					
						
							|  |  |  | 	help | 
					
						
							|  |  |  | 	  Enable support for the Renesas SuperH DMA controllers. | 
					
						
							| 
									
										
										
										
											2013-04-23 20:00:12 +09:00
										 |  |  | 
 | 
					
						
							|  |  |  | config SUDMAC | 
					
						
							|  |  |  | 	tristate "Renesas SUDMAC support" | 
					
						
							|  |  |  | 	depends on SH_DMAE_BASE | 
					
						
							|  |  |  | 	help | 
					
						
							|  |  |  | 	  Enable support for the Renesas SUDMAC controllers. | 
					
						
							| 
									
										
											  
											
												dma: add driver for R-Car HPB-DMAC
Add support for HPB-DMAC found in Renesas R-Car SoCs, using 'shdma-base' DMA
driver framework.
Based on the original patch by Phil Edworthy <phil.edworthy@renesas.com>.
Signed-off-by: Max Filippov <max.filippov@cogentembedded.com>
[Sergei: removed useless #include, sorted #include's, fixed HPB_DMA_TCR_MAX,
fixed formats and removed line breaks in the dev_dbg() calls, rephrased and
added IRQ # to the shdma_request_irq() failure message, added MODULE_AUTHOR(),
removed '__init'/'__exit' annotations from the probe()/remove() methods, removed
'__initdata' annotation from 'hpb_dmae_driver', fixed guard macro name in the
header file, fixed #define ASYNCRSTR_ASRST20, added #define ASYNCRSTR_ASRST24,
added the necessary runtime PM calls to the probe() and remove() methods,
handled errors returned by dma_async_device_register(), beautified comments
and #define's.]
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
											
										 
											2013-08-25 00:33:24 +04:00
										 |  |  | 
 | 
					
						
							|  |  |  | config RCAR_HPB_DMAE | 
					
						
							|  |  |  | 	tristate "Renesas R-Car HPB DMAC support" | 
					
						
							|  |  |  | 	depends on SH_DMAE_BASE | 
					
						
							|  |  |  | 	help | 
					
						
							|  |  |  | 	  Enable support for the Renesas R-Car series DMA controllers. | 
					
						
							| 
									
										
										
										
											2013-09-02 17:42:35 +05:30
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2013-08-02 16:50:39 +02:00
										 |  |  | config SHDMA_R8A73A4 | 
					
						
							|  |  |  | 	def_bool y | 
					
						
							|  |  |  | 	depends on ARCH_R8A73A4 && SH_DMAE != n |