| Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 1 | menu "Qualcomm MSM specific device drivers" | 
 | 2 | 	depends on ARCH_MSM | 
 | 3 |  | 
 | 4 | config MSM_SSBI | 
 | 5 | 	bool "Qualcomm Single-wire Serial Bus Interface (SSBI)" | 
 | 6 | 	help | 
 | 7 | 	  If you say yes to this option, support will be included for the | 
 | 8 | 	  built-in SSBI interface on Qualcomm MSM family processors. | 
 | 9 |  | 
 | 10 | 	  This is required for communicating with Qualcomm PMICs and | 
 | 11 | 	  other devices that have the SSBI interface. | 
 | 12 |  | 
 | 13 | config SPS | 
 | 14 | 	bool "SPS support" | 
| Yan He | 092b727 | 2011-09-21 15:25:03 -0700 | [diff] [blame] | 15 | 	depends on (HAS_IOMEM && (ARCH_MSM8960 || ARCH_MSM8X60 \ | 
| Yan He | 1466daa | 2011-11-30 17:25:38 -0800 | [diff] [blame] | 16 | 			|| ARCH_APQ8064 || ARCH_MSM9615 || ARCH_MSMCOPPER)) | 
| Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 17 | 	select GENERIC_ALLOCATOR | 
 | 18 | 	default n | 
 | 19 | 	help | 
 | 20 | 	  The SPS (Smart Peripheral Switch) is a DMA engine. | 
 | 21 | 	  It can move data in the following modes: | 
 | 22 | 		1. Peripheral-to-Peripheral. | 
 | 23 | 		2. Peripheral-to-Memory. | 
 | 24 | 		3. Memory-to-Memory. | 
 | 25 |  | 
| Ofir Cohen | c7827e4 | 2011-12-13 20:10:01 +0200 | [diff] [blame] | 26 | config USB_BAM | 
 | 27 | 	boolean "USB BAM Driver" | 
 | 28 | 	depends on SPS && USB_GADGET | 
 | 29 | 	help | 
 | 30 | 	  Enabling this option adds USB BAM Driver. | 
 | 31 | 	  USB BAM driver was added to supports SPS Peripheral-to-Peripheral | 
 | 32 | 	  transfers between the USB and other peripheral. | 
 | 33 |  | 
| Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 34 | config SPS_SUPPORT_BAMDMA | 
 | 35 | 	bool "SPS support BAM DMA" | 
 | 36 | 	depends on SPS | 
 | 37 | 	default n | 
 | 38 | 	help | 
| Yan He | 1466daa | 2011-11-30 17:25:38 -0800 | [diff] [blame] | 39 | 	  The BAM-DMA is used for Memory-to-Memory transfers. | 
 | 40 | 	  The main use cases is RPC between processors. | 
 | 41 | 	  The BAM-DMA hardware has 2 registers sets: | 
 | 42 | 		1. A BAM HW like all the peripherals. | 
 | 43 | 		2. A DMA channel configuration (i.e. channel priority). | 
 | 44 |  | 
 | 45 | config SPS_SUPPORT_NDP_BAM | 
 | 46 | 	bool "SPS support NDP BAM" | 
 | 47 | 	depends on SPS | 
 | 48 | 	default n | 
 | 49 | 	help | 
 | 50 | 	  No-Data-Path BAM is used to improve BAM performance. | 
| Bryan Huntsman | 3f2bc4d | 2011-08-16 17:27:22 -0700 | [diff] [blame] | 51 |  | 
 | 52 | endmenu |