aboutsummaryrefslogtreecommitdiff
path: root/drivers/platform/msm/Kconfig
blob: 34e1d4073dbf1c25078db4c0756b004ca4695936 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
menu "Qualcomm MSM specific device drivers"
	depends on ARCH_MSM

config MSM_SSBI
	bool "Qualcomm Single-wire Serial Bus Interface (SSBI)"
	help
	  If you say yes to this option, support will be included for the
	  built-in SSBI interface on Qualcomm MSM family processors.

	  This is required for communicating with Qualcomm PMICs and
	  other devices that have the SSBI interface.

config SPS
	bool "SPS support"
	depends on (HAS_IOMEM && (ARCH_MSM8960 || ARCH_MSM8X60 \
			|| ARCH_APQ8064 || ARCH_MSM9615 \
			|| ARCH_MSM9625 || ARCH_MSM8974))
	select GENERIC_ALLOCATOR
	default n
	help
	  The SPS (Smart Peripheral Switch) is a DMA engine.
	  It can move data in the following modes:
		1. Peripheral-to-Peripheral.
		2. Peripheral-to-Memory.
		3. Memory-to-Memory.

config USB_BAM
	boolean "USB BAM Driver"
	depends on SPS && USB_GADGET
	help
	  Enabling this option adds USB BAM Driver.
	  USB BAM driver was added to supports SPS Peripheral-to-Peripheral
	  transfers between the USB and other peripheral.

config SPS_SUPPORT_BAMDMA
	bool "SPS support BAM DMA"
	depends on SPS
	default n
	help
	  The BAM-DMA is used for Memory-to-Memory transfers.
	  The main use cases is RPC between processors.
	  The BAM-DMA hardware has 2 registers sets:
		1. A BAM HW like all the peripherals.
		2. A DMA channel configuration (i.e. channel priority).

config SPS_SUPPORT_NDP_BAM
	bool "SPS support NDP BAM"
	depends on SPS
	default n
	help
	  No-Data-Path BAM is used to improve BAM performance.

config QPNP_PWM
	depends on SPMI
	depends on OF_SPMI
        tristate "Qualcomm QPNP LPG/PWM support"
        help
          This driver supports PWM/LPG devices in Qualcomm PMIC chips which
          comply with QPNP.  QPNP is a SPMI based PMIC implementation.  These
          devices support Pulse Width Modulation output with user generated
          patterns. They share a lookup table with size of 64 entries.

config QPNP_POWER_ON
	tristate "QPNP PMIC POWER-ON Driver"
	depends on OF_SPMI && SPMI && MSM_QPNP_INT
	help
	  This driver supports the power-on functionality on Qualcomm
	  PNP PMIC. It currently supports reporting the change in status of
	  the KPDPWR_N line (connected to the power-key).

config QPNP_CLKDIV
	tristate "QPNP PMIC clkdiv driver"
	depends on OF_SPMI && SPMI
	help
	  This driver supports the clkdiv functionality on the Qualcomm
	  PNP PMIC. It configures the frequency of clkdiv outputs on the
	  PMIC. These clocks are typically wired through alternate functions
	  on gpio pins.
endmenu